chore: Update swhkd configuration file location

fix: adds missioncenter shortcut
This commit is contained in:
Menno van Leeuwen 2024-08-25 05:00:05 +02:00
parent 7fffb9b324
commit 1c5ccb3a1b
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
4 changed files with 5 additions and 8 deletions

View File

@ -68,7 +68,7 @@ case $1 in
$HOME/dotfiles/bin/actions/term.sh $@ $HOME/dotfiles/bin/actions/term.sh $@
;; ;;
hotkey-daemon) 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" printfe "%s\n" "red" "Unknown command $1"

View File

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

View File

@ -15,6 +15,9 @@ config:
screenshot: screenshot:
shortcut: Shift + Alt + 4 shortcut: Shift + Alt + 4
command: cosmic-screenshot --interactive command: cosmic-screenshot --interactive
missioncenter:
shortcut: Ctrl + Shift + Escape
command: flatpak run io.missioncenter.MissionCenter
# Commands to run after login # Commands to run after login
startup: startup:

View File

@ -1,6 +0,0 @@
Ctrl + Alt + T
alacritty
Shift + Alt + 4
cosmic-screenshot --interactive