From 176df07a1ddfb90cdc99d25bb96ed0e422920447 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 22 Apr 2025 10:08:26 +0200 Subject: [PATCH] update configs --- dot_config/hypr/keybindings.conf | 3 ++- dot_config/swaync/config.json | 30 +++++++++++++++++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/dot_config/hypr/keybindings.conf b/dot_config/hypr/keybindings.conf index 088910b..ecfb2af 100644 --- a/dot_config/hypr/keybindings.conf +++ b/dot_config/hypr/keybindings.conf @@ -12,7 +12,8 @@ bind = $mainMod+Shift, Q, killactive, bind = $mainMod+Shift, L, exec, ~/.config/hypr/scripts/power.sh lock bind = $mainMod, Y, exec, cliphist list | fuzzel --dmenu | { read selection && [ -n "$selection" ] && echo "$selection" | cliphist decode | wl-copy; } bind = $mainMod+Shift, Y, exec, ~/.config/fuzzel/fuzzel-rbw.sh -bind = $mainMod+Shift, M, exit, +bind = $mainMod+Shift, M, exec, ~/.config/hypr/scripts/power.sh exit +bind = $mainMod+Shift, N, exec, swaync-client -t -sw bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, D, exec, $menu diff --git a/dot_config/swaync/config.json b/dot_config/swaync/config.json index be890b8..47e33ca 100644 --- a/dot_config/swaync/config.json +++ b/dot_config/swaync/config.json @@ -43,6 +43,7 @@ "notification-visibility": { "mute-spotify": { "state": "muted", + "urgency": "Low", "app-name": "Spotify" } }, @@ -53,7 +54,8 @@ "mpris", "notifications", "backlight", - "volume" + "volume", + "buttons-grid" ], "widget-config": { "inhibitors": { @@ -93,6 +95,32 @@ "active": true, "command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && nmcli radio wifi on || nmcli radio wifi off'", "update_command": "sh -c '[[ $(nmcli radio wifi) == \"enabled\" ]] && echo true || echo false'" + }, + { + "label": "󰐥", + "command": "~/.config/hypr/scripts/power.sh shutdown" + }, + { + "label": "󰜉", + "command": "~/.config/hypr/scripts/power.sh reboot" + }, + { + "label": "󰌾", + "command": "~/.config/hypr/scripts/power.sh lock" + }, + { + "label": "󰍃", + "command": "~/.config/hypr/scripts/power.sh exit" + }, + { + "label": "󰕾", + "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle", + "type": "toggle" + }, + { + "label": "󰍬", + "command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle", + "type": "toggle" } ] }