chore: Update swhkd configuration file location

fix: adds missioncenter shortcut
This commit is contained in:
2024-08-25 05:00:05 +02:00
parent 7fffb9b324
commit 1c5ccb3a1b
4 changed files with 5 additions and 8 deletions

View File

@@ -68,7 +68,7 @@ case $1 in
$HOME/dotfiles/bin/actions/term.sh $@
;;
hotkey-daemon)
bash -c "swhks & pkexec swhkd -c ~/dotfiles/config/swhkd/swhkdrc" &
bash -c "swhks & pkexec swhkd -c ~/.config/swhkdrc" &
;;
*)
printfe "%s\n" "red" "Unknown command $1"

View File

@@ -30,7 +30,7 @@ ensure_swhkd() {
ensure_keyboard_shortcuts() {
printfe "%s\n" "green" " - Setting up swhkd configuration..."
ensure_swhkd > $HOME/dotfiles/config/swhkd/swhkdrc
ensure_swhkd > $HOME/.config/swhkdrc
# Retrieve current custom keybindings
existing_bindings=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings | tr -d "[]'")