From 8823f8b1c9f4c60fd3e5e96b9c77a093bb3382a7 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 21 Apr 2024 14:30:14 -0500 Subject: [PATCH] Some hyprland fixes --- user/wm/hyprland/hyprland.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 7fe885e..bd6ae57 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -42,7 +42,7 @@ exec-once = emacs --daemon exec-once = hypridle - #exec-once = hyprdim # currently broken :( + exec-once = hyprdim -d 1200 -s 0.25 -D 0.25 -p exec-once = obs-notification-mute-daemon exec = ~/.swaybg-stylix @@ -178,7 +178,8 @@ bind=SUPER,Z,exec,pypr toggle term && hyprctl dispatch bringactivetotop bind=SUPER,F,exec,pypr toggle ranger && hyprctl dispatch bringactivetotop - bind=SUPER,N,exec,pypr toggle musikcube && hyprctl dispatch bringactivetotop + bind=SUPER,N,exec,pypr toggle numbat && hyprctl dispatch bringactivetotop + bind=SUPER,M,exec,pypr toggle musikcube && hyprctl dispatch bringactivetotop bind=SUPER,B,exec,pypr toggle btm && hyprctl dispatch bringactivetotop bind=SUPER,code:172,exec,pypr toggle pavucontrol && hyprctl dispatch bringactivetotop $scratchpadsize = size 80% 85% @@ -189,6 +190,11 @@ windowrulev2 = workspace special silent,$scratchpad windowrulev2 = center,$scratchpad + $savetodisk = title:^(Save to Disk)$ + windowrulev2 = float,$savetodisk + windowrulev2 = size 70% 75%,$savetodisk + windowrulev2 = center,$savetodisk + $pavucontrol = class:^(pavucontrol)$ windowrulev2 = float,$pavucontrol windowrulev2 = size 86% 40%,$pavucontrol @@ -202,8 +208,6 @@ windowrulev2 = move 18% 25%,$miniframe windowrulev2 = animation popin 1 20,$miniframe - windowrulev2 = float,title:^(Kdenlive)$ - windowrulev2 = float,class:^(pokefinder)$ windowrulev2 = opacity 0.80,title:ORUI @@ -497,6 +501,10 @@ "command": "kitty --class scratchpad -e ranger", "margin": 50 }, + "numbat": { + "command": "alacritty --class scratchpad -e numbat", + "margin": 50 + }, "musikcube": { "command": "alacritty --class scratchpad -e musikcube", "margin": 50