From 8b9a566886c8130e7530396f4e97d544966ba0d0 Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Fri, 9 May 2025 19:19:15 +0200 Subject: [PATCH] added scrrec to hyprland --- .config/hypr/conf.d/keybinds.conf | 3 +++ .config/hypr/hyprland.conf | 17 ++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.config/hypr/conf.d/keybinds.conf b/.config/hypr/conf.d/keybinds.conf index 493ef96..0fa416f 100644 --- a/.config/hypr/conf.d/keybinds.conf +++ b/.config/hypr/conf.d/keybinds.conf @@ -14,6 +14,7 @@ $editor = uwsm app -T -- vim $editor0 = uwsm app -- zeditor $clipman = uwsm app -- nwg-clipman $taskman = uwsm app -- uuctl walker -d +$pwdmgr = uwsm app -- keepassxc $notcenter = uwsm app -- swaync-client -t -sw $notdnd = uwsm app -- swaync-client -d $nothide = uwsm app -- swaync-client --hide-latest @@ -38,6 +39,7 @@ bind = $mainMod, C, exec, $clipman bind = $mainMod, Return, exec, $terminal_backup bind = $mainMod SHIFT, Return, exec, $terminal bind = $mainMod, Escape, exec, $taskman +bind = $mainMod, R, exec, $pwdmgr bind = $mainMod, Grave, exec, $notcenter bind = $mainMod SHIFT, Grave, exec, $notdnd @@ -157,3 +159,4 @@ bindl = , XF86AudioPrev, exec, swayosd-client --playerctl previous bind = , Print, exec, grimblast --notify copy output bind = $mainMod, Print, exec, grimblast --notify edit area +bind = SHIFT, Print, exec, uwsm app -- kitty --app-id=scrrec wf-recorder -f ~/Videos/scrrec.mkv -g "$(slurp)" diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 60e4c2f..d6cac21 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -260,11 +260,22 @@ windowrulev2 = workspace 10, class:Spotify ## ========== Gaming ========== # Steam & Battle.net & Lutris -windowrulev2 = workspace 3, class:^(steam|battle\.net\.exe|net\.lutris\.Lutris)$ +windowrule = workspace 3, class:^(steam|battle\.net\.exe|net\.lutris\.Lutris)$ ## ========== System ========== -windowrulev2 = float, class:org.keepassxc.KeePassXC -windowrulev2 = float, class:com.saivert.pwvucontrol +windowrule = float, class:org.keepassxc.KeePassXC +windowrule = float, class:com.saivert.pwvucontrol + +windowrule = float, class:scrrec +windowrule = pin, class:scrrec +windowrule = idleinhibit always, class:scrrec +windowrule = rounding 10, class:scrrec +windowrule = opacity 0.6, class:scrrec +windowrule = noborder, class:scrrec +windowrule = size 300 100, class:scrrec +windowrule = move 1% 1%, class:scrrec +windowrule = monitor 0, class:scrrec +windowrule = noinitialfocus, class:scrrec # Blur swaync #layerrule = blur, swaync-control-center