From 028f76c86d0f476341760934b8c48896c52c9468 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 29 Aug 2025 22:54:30 +0300 Subject: Added notifications to hyprland --- .config/hypr/hyprland.conf | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to '.config/hypr') diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index b196ec5..7f1c35f 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -24,8 +24,9 @@ $menu = wofi --show drun # ctrl-c to copy from the flameshot gui gives warped images sometimes, but # setting the env fixes it $screenshot = XDG_CURRENT_DESKTOP=sway flameshot gui -p ~/Pictures/Screenshots/ -c +$screenshotFull = XDG_CURRENT_DESKTOP=sway flameshot full -p ~/Pictures/Screenshots/ -c $passwordmanager = keepassxc - +$notifications = swaync-client -t -sw ################# ### AUTOSTART ### @@ -34,9 +35,11 @@ $passwordmanager = keepassxc # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: +# Plugins exec-once = hyprctl plugin load "$HYPR_PLUGIN_DIR/lib/libhyprbars.so" # exec-once = waybar & hyprpaper +exec-once = swaync ############################# @@ -248,9 +251,13 @@ bind = $mainMod, l, movefocus, r bind = $mainMod, E, exec, $fileManager bind = SUPER, E, exec, $fileManager bind = $mainMod, S, exec, $screenshot +bind = $mainMod, F, exec, $screenshotFull +bind = SUPER, F, exec, $screenshotFull bind = $mainMod, R, exec, $menu bind = $mainMod, space, exec, $menu bind = SUPER, SUPER_L, exec, $menu +bind = $mainMod, N, exec, $notifications +bind = SUPER, N, exec, $notifications # Terminal bind = $mainMod, 1, workspace, 1 @@ -328,27 +335,26 @@ windowrule = noanim, class:^(flameshot)$ windowrule = float, class:^(flameshot)$ windowrule = move 0 0, class:^(flameshot)$ windowrule = pin, class:^(flameshot)$ -windowrule = noinitialfocus, class:^(flameshot)$ # set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor # before executing flameshot windowrule = monitor 1, class:^(flameshot)$ # List of programs to open as floating windows windowrule = float, class:org.kde.dolphin -windowrulev2 = persistentsize, class:org.kde.dolphin +windowrule = persistentsize, class:org.kde.dolphin # windowrulev2 = size 70% 70%, class:org.kde.dolphin -windowrulev2 = float, class:eog +windowrule = float, class:eog # -windowrulev2 = float, initialClass:zen-twilight, initialTitle:^$ -windowrulev2 = center, initialClass:zen-twilight, initialTitle:^$ -windowrulev2 = size 20% 20%, initialClass:zen-twilight, initialTitle:^$ +windowrule = float, initialClass:zen-twilight, initialTitle:^$ +windowrule = center, initialClass:zen-twilight, initialTitle:^$ +windowrule = size 20% 20%, initialClass:zen-twilight, initialTitle:^$ # Only show hyprbars for floating windows -windowrulev2 = plugin:hyprbars:nobar, ^floating:0 +windowrule = plugin:hyprbars:nobar, ^floating:0 # Fix drag drop in keepassxc apparently? see https://github.com/hyprwm/Hyprland/discussions/10602 -windowrulev2 = noinitialfocus, class:KeePassXC windowrulev2 = noinitialfocus, class:GNS3 +windowrule = noinitialfocus, class:KeePassXC windowrulev2 = noinitialfocus, class:GNS3 ############### -- cgit v1.3.1