From c8646f1719e9252bbb9de7fc298b31ce91a5ae2f Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Tue, 15 Aug 2023 11:16:43 +0700 Subject: [PATCH] Got slock working, add late evening icon to priorities --- .config/emacs/init.org | 2 +- .config/herbstluftwm/autostart | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 369faa1..e7938d9 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -2307,7 +2307,7 @@ and there's no need for a middle-man when it's already been implemented. ;; (setq org-fancy-priorities-list '("🅰" "🅱" "🅲" "🅳" "🅴")) ;; (setq org-fancy-priorities-list '("⚡" "⬆" "⬇")) ;; (setq org-fancy-priorities-list '("⚡" "⬆" "⬇")) -(setq org-fancy-priorities-list '((?D . "🌙") (?C . "🌇") (?B . "☀️") (?A . "🌄"))) +(setq org-fancy-priorities-list '((?E . "🌃") (?D . "🌙") (?C . "🌇") (?B . "☀️") (?A . "🌄"))) (require 'org-roam) (setq org-roam-directory "/home/joe/Notes/Roam/") (setq org-roam-node-display-template (concat "${title:*} " diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 6db5feb..2ed8b2e 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -64,13 +64,13 @@ hc keybind $Mod-Control-space split explode # resizing frames and floating clients resizestep=0.02 -hc keybind $Mod-Control-h resize left +$resizestep -hc keybind $Mod-Control-j resize down +$resizestep -hc keybind $Mod-Control-k resize up +$resizestep +hc keybind $Mod-Control-h resize left +$resizestep +hc keybind $Mod-Control-j resize down +$resizestep +hc keybind $Mod-Control-k resize up +$resizestep hc keybind $Mod-Control-l resize right +$resizestep -hc keybind $Mod-Control-Left resize left +$resizestep -hc keybind $Mod-Control-Down resize down +$resizestep -hc keybind $Mod-Control-Up resize up +$resizestep +hc keybind $Mod-Control-Left resize left +$resizestep +hc keybind $Mod-Control-Down resize down +$resizestep +hc keybind $Mod-Control-Up resize up +$resizestep hc keybind $Mod-Control-Right resize right +$resizestep # tags @@ -124,6 +124,10 @@ hc keybind $Mod-b spawn bluetoothctl connect F8:5B:6E:2A:6A:CF hc keybind $Mod-Shift-b spawn sudo systemctl restart bluetooth.service hc keybind $Mod-Ctrl-b spawn bluetoothctl disconnect F8:5B:6E:2A:6A:CF +# Lock +hc keybind $Mod-Ctrl-Shift-l spawn bash -c 'slock | systemctl suspend' + + # focus hc keybind $Mod-BackSpace cycle_monitor #hc keybind $Mod-Tab cycle_all +1 @@ -145,6 +149,7 @@ hc set show_frame_decorations 'focused_if_multiple' hc set frame_bg_transparent on hc set frame_transparent_width 5 hc set frame_gap 40 +hc set tabbed_max true hc attr theme.title_height 20 hc attr theme.title_when one_tab @@ -195,6 +200,7 @@ hc rule floatplacement=center hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' floating=on hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on hc rule title='emacs-run-launcher' floating=on floatplacement=center +hc rule title~'^Glut |.*$' floating=on floatplacement=center hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off hc rule fixedsize floating=on