Compare commits

..

No commits in common. "ea3d87b65f28352192e4349252582f98e9fe6305" and "b9b32539d31224c4e204c51a4a2f564680db36cf" have entirely different histories.

3 changed files with 5 additions and 15 deletions

View File

@ -361,12 +361,6 @@ Use Dashboard.el. First load `all-the-icons` for nicer rendering
(global-set-key (kbd "C-x x o") 'olivetti-mode) (global-set-key (kbd "C-x x o") 'olivetti-mode)
(add-hook 'prog-mode-hook 'olivetti-mode) (add-hook 'prog-mode-hook 'olivetti-mode)
#+end_src #+end_src
Remove this hook from Olivetti so that lines can truncate [[https://github.com/rnkn/olivetti/issues/76][Github issue]]
#+begin_src emacs-lisp
(remove-hook 'olivetti-mode-on-hook 'visual-line-mode)
#+end_src
*** Themes *** Themes
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -545,6 +539,7 @@ Ligatures... are they that useful?
(setq-default line-spacing 5) (setq-default line-spacing 5)
(setq indent-line-function #'indent-relative) (setq indent-line-function #'indent-relative)
(set-default 'truncate-lines nil)
;; (add-hook 'before-save-hook 'whitespace-cleanup) ;; (add-hook 'before-save-hook 'whitespace-cleanup)
#+end_src #+end_src
** Text Editor ** Text Editor
@ -595,8 +590,6 @@ Emacs is an great operating system, if only it had a good text editor...
(global-set-key (kbd "M-o") #'joe/insert-line-below) (global-set-key (kbd "M-o") #'joe/insert-line-below)
(global-set-key (kbd "M-O") #'joe/insert-line-above) (global-set-key (kbd "M-O") #'joe/insert-line-above)
(setq-default truncate-lines t)
#+end_src #+end_src
Stole this from [[https://github.com/purcell/unfill/][Purcell]] but didn't feel like making it a package depencendy Stole this from [[https://github.com/purcell/unfill/][Purcell]] but didn't feel like making it a package depencendy

View File

@ -96,12 +96,14 @@ keys = [
Key([mod], "space", lazy.spawn("rofi -show drun -theme Arc-Dark.rasi"), desc="Open Rofi"), Key([mod], "space", lazy.spawn("rofi -show drun -theme Arc-Dark.rasi"), desc="Open Rofi"),
KeyChord([mod], "b", [ KeyChord([mod], "b", [
Key([], "c", lazy.spawn("connect-bt", shell=True)), Key([], "c", lazy.spawn("bluetoothctl connect F8:5B:6E:2A:6A:CF &>/dev/null",
shell=True)),
Key([], "d", lazy.spawn("bluetoothctl disconnect F8:5B:6E:2A:6A:CF &>/dev/null", Key([], "d", lazy.spawn("bluetoothctl disconnect F8:5B:6E:2A:6A:CF &>/dev/null",
shell=True)), shell=True)),
Key([], "r", lazy.spawn("bluetoothctl scan on && sleep 1 && bluetoothctl connect F8:5B:6E:2A:6A:CF && sleep 2 && bluetoothctl scan off", Key([], "r", lazy.spawn("bluetoothctl scan on && sleep 1 && bluetoothctl connect F8:5B:6E:2A:6A:CF && sleep 2 && bluetoothctl scan off",
shell=True)), shell=True)),
Key([], "t", lazy.spawn("toggle-bt-codec", shell=True)), Key([], "t", lazy.spawn("toggle-bt-codec",
shell=True)),
]), ]),
# Move windows between left/right columns or move up/down in current stack. # Move windows between left/right columns or move up/down in current stack.
# Moving out of range in Columns layout will create new column. # Moving out of range in Columns layout will create new column.
@ -164,7 +166,6 @@ keys = [
# This uses discrete values # This uses discrete values
Key([], "XF86KbdBrightnessDown", lazy.function(kbd_brightness_down)), Key([], "XF86KbdBrightnessDown", lazy.function(kbd_brightness_down)),
Key([], "XF86KbdBrightnessUp", lazy.function(kbd_brightness_up)), Key([], "XF86KbdBrightnessUp", lazy.function(kbd_brightness_up)),
Key([mod, "control", "shift", alt], "1", lazy.window.set_position_floating(5, 28), desc="Put the window in the corner"),
] ]
pape_dir = '/home/joe/Pictures/Wallpapers/' pape_dir = '/home/joe/Pictures/Wallpapers/'

View File

@ -1,4 +0,0 @@
#!/bin/bash
coproc bluetoothctl
echo -e 'agent on\nconnect F8:5B:6E:2A:6A:CF\nexit' >&${COPROC[1]}