swhkd Configuration

- Add swhkd configuration
- Use brightnessctl for brightness control
- Update dwl, doom-emacs, dracula-gtk, and tmux submodules
This commit is contained in:
Sravan Balaji
2024-09-28 16:03:19 -04:00
parent be49092704
commit e596ff1788
9 changed files with 72 additions and 9 deletions

View File

@@ -88,6 +88,8 @@
- [[#fileserver][Fileserver]] - [[#fileserver][Fileserver]]
- [[#rofi-menu][Rofi Menu]] - [[#rofi-menu][Rofi Menu]]
- [[#syncthing][Syncthing]] - [[#syncthing][Syncthing]]
- [[#hotkey-daemon][Hotkey Daemon]]
- [[#swhkd][swhkd]]
- [[#user-programs][User Programs]] - [[#user-programs][User Programs]]
- [[#mangal][Mangal]] - [[#mangal][Mangal]]
- [[#trackma][Trackma]] - [[#trackma][Trackma]]
@@ -8211,6 +8213,37 @@ SuccessExitStatus=3 4
WantedBy=default.target WantedBy=default.target
#+END_SRC #+END_SRC
* Hotkey Daemon
** swhkd
#+BEGIN_SRC sxhkd :tangle swhkd/.config/swhkd/swhkdrc
# Terminal
super + shift + return
kitty
# Menu
super + p
rofi -show combi
# Volume Controls
xf86audioraisevolume
~/.scripts/pactl.sh --raise
xf86audiolowervolume
~/.scripts/pactl.sh --lower
xf86audiomute
~/.scripts/pactl.sh --mute
# Brightness Controls
xf86monbrightnessup
~/.scripts/brightness.sh --raise
xf86monbrightnessdown
~/.scripts/brightness.sh --lower
#+END_SRC
* User Programs * User Programs
** Mangal ** Mangal
@@ -8950,6 +8983,7 @@ stow-create:
-S ssh \ -S ssh \
-S starship \ -S starship \
-S swaync \ -S swaync \
-S swhkd \
-S syncthing \ -S syncthing \
-S system76 \ -S system76 \
-S tmux \ -S tmux \
@@ -9008,6 +9042,7 @@ stow-delete:
-D ssh \ -D ssh \
-D starship \ -D starship \
-D swaync \ -D swaync \
-D swhkd \
-D syncthing \ -D syncthing \
-D system76 \ -D system76 \
-D tmux \ -D tmux \
@@ -9066,6 +9101,7 @@ stow-recreate:
-R ssh \ -R ssh \
-R starship \ -R starship \
-R swaync \ -R swaync \
-R swhkd \
-R syncthing \ -R syncthing \
-R system76 \ -R system76 \
-R tmux \ -R tmux \
@@ -9258,10 +9294,10 @@ main() {
help_menu help_menu
;; ;;
--raise) --raise)
xdotool key XF86MonBrightnessUp brightnessctl -c backlight s 10%+
;; ;;
--lower) --lower)
xdotool key XF86MonBrightnessDown brightnessctl -c backlight s 10%-
;; ;;
--rofi) --rofi)
rofi_menu rofi_menu

View File

@@ -37,10 +37,10 @@ main() {
help_menu help_menu
;; ;;
--raise) --raise)
xdotool key XF86MonBrightnessUp brightnessctl -c backlight s 10%+
;; ;;
--lower) --lower)
xdotool key XF86MonBrightnessDown brightnessctl -c backlight s 10%-
;; ;;
--rofi) --rofi)
rofi_menu rofi_menu

View File

@@ -61,6 +61,7 @@ stow-create:
-S ssh \ -S ssh \
-S starship \ -S starship \
-S swaync \ -S swaync \
-S swhkd \
-S syncthing \ -S syncthing \
-S system76 \ -S system76 \
-S tmux \ -S tmux \
@@ -119,6 +120,7 @@ stow-delete:
-D ssh \ -D ssh \
-D starship \ -D starship \
-D swaync \ -D swaync \
-D swhkd \
-D syncthing \ -D syncthing \
-D system76 \ -D system76 \
-D tmux \ -D tmux \
@@ -177,6 +179,7 @@ stow-recreate:
-R ssh \ -R ssh \
-R starship \ -R starship \
-R swaync \ -R swaync \
-R swhkd \
-R syncthing \ -R syncthing \
-R system76 \ -R system76 \
-R tmux \ -R tmux \

View File

@@ -0,0 +1,24 @@
# Terminal
super + shift + return
kitty
# Menu
super + p
rofi -show combi
# Volume Controls
xf86audioraisevolume
~/.scripts/pactl.sh --raise
xf86audiolowervolume
~/.scripts/pactl.sh --lower
xf86audiomute
~/.scripts/pactl.sh --mute
# Brightness Controls
xf86monbrightnessup
~/.scripts/brightness.sh --raise
xf86monbrightnessdown
~/.scripts/brightness.sh --lower