From f35aa2ee81db56179df81d7d00741969ebb319fd Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 8 May 2026 16:25:23 +0200 Subject: [PATCH] Update --- hyprland.conf | 4 +++- waybar/config | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hyprland.conf b/hyprland.conf index 4c23c43..dc82a42 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -46,7 +46,7 @@ exec-once = hypridle exec-once = nm-applet exec-once = blueberry-tray exec-once = nextcloud --background -exec-once = feishin +exec-once = [workspace special:e_music silent] feishin exec-once = [workspace special:a_social silent] $social # exec-once = [workspace special:b_mail silent] thunderbird @@ -247,6 +247,7 @@ bind = $mainMod, E, exec, $yuzzit bind = $mainMod, C, exec, alacritty -e numbat bind = $mainMod, P, exec, pavucontrol bind = $mainMod, B, exec, blueberry +bind = $mainMod, D, exec, makoctl mode -t do-not-disturb bind = $mainMod, L, exec, sleep 0.5s && hyprctl dispatch dpms off bind = $mainMod SHIFT, L, exec, loginctl lock-session && sleep 0.5s && (pidof hyprlock || hyprlock) && hyprctl dispatch dpms off @@ -300,6 +301,7 @@ bind = $mainMod, F1, togglespecialworkspace, a_social # bind = $mainMod, F2, togglespecialworkspace, b_mail bind = $mainMod, F2, togglespecialworkspace, c_yuzzit bind = $mainMod, F3, togglespecialworkspace, d_ai +bind = $mainMod, F4, togglespecialworkspace, e_music # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 diff --git a/waybar/config b/waybar/config index 496597b..e9ba58d 100644 --- a/waybar/config +++ b/waybar/config @@ -20,6 +20,7 @@ "custom/temp", "custom/cpu", "custom/mem", + "custom/notification", "custom/battery", "tray", "clock" @@ -39,6 +40,7 @@ "b_mail": " ", "c_yuzzit": "Y", "d_ai": "AI", + "e_music": "󰎇", "11": "1", "12": "2", "13": "3", @@ -168,5 +170,10 @@ "exec": "sed '4q;d' ~/.config/hypr/.stat.txt", "return-type": "json", "restart-interval": 2 + }, + "custom/notification": { + "exec": "makoctl mode | grep '^do-not-disturb$' > /dev/null 2>&1 && echo '󱙍 ' || echo '󰍡 '", + "on-click": "makoctl mode -t do-not-disturb", + "restart-interval": 2 } }