From 5ee73af33d8446167695d7f60e8bb83b1568e848 Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Mon, 22 Sep 2025 20:29:29 +0200 Subject: [PATCH] [feat](auto-start): Add `%U` argument to `Exec` line for VeSktop auto-start script, add `Terminal=false` [feat](hyprland): Add new workspace for KeePassXC with float, size, and centered properties [style](hyprland): Add workspace rules for communication applications and system applications --- .../autostart##hostname.owlenpc00/vesktop.desktop | 15 ++++++++++----- .config/hypr/conf.d/keybinds.conf | 7 +++++-- .config/hypr/hyprland.conf | 12 ++++++++---- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/.config/autostart##hostname.owlenpc00/vesktop.desktop b/.config/autostart##hostname.owlenpc00/vesktop.desktop index 90c47d2..3b29129 100644 --- a/.config/autostart##hostname.owlenpc00/vesktop.desktop +++ b/.config/autostart##hostname.owlenpc00/vesktop.desktop @@ -1,7 +1,12 @@ [Desktop Entry] -Type=Application Name=Vesktop -Comment=Vesktop autostart script -Exec="/usr/lib/vesktop/vesktop" -StartupNotify=false -Terminal=false \ No newline at end of file +Exec=vesktop %U +Terminal=false +Type=Application +Icon=vesktop +StartupWMClass=vesktop +GenericName=Internet Messenger +Categories=Network; +Keywords=discord;vencord;electron;chat; +MimeType=x-scheme-handler/discord; +Comment=Vesktop is a custom Discord desktop app diff --git a/.config/hypr/conf.d/keybinds.conf b/.config/hypr/conf.d/keybinds.conf index 1bc82a2..ddf8d50 100644 --- a/.config/hypr/conf.d/keybinds.conf +++ b/.config/hypr/conf.d/keybinds.conf @@ -74,7 +74,6 @@ bind = $mainMod SHIFT, Tab, layoutmsg, addmaster bind = $mainMod CTRL, Tab, layoutmsg, removemaster bind = $mainMod CTRL SHIFT, Tab, layoutmsg, rollnext - # MOVE FOCUS with mainMod + vim keys bind = $mainMod, H, movefocus, l bind = $mainMod, L, movefocus, r @@ -93,6 +92,9 @@ bind = $mainMod CTRL, l, resizeactive,25 0 bind = $mainMod CTRL, k, resizeactive,0 -25 bind = $mainMod CTRL, j, resizeactive,0 25 +# Special workspaces +bind = $mainMod, N, togglespecialworkspace, keepass + # SWITCH WORKSPACES with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 @@ -166,8 +168,9 @@ bindl = , XF86AudioPause, exec, swayosd-client --playerctl play-pause bindl = , XF86AudioPlay, exec, swayosd-client --playerctl play-pause bindl = , XF86AudioPrev, exec, swayosd-client --playerctl previous +# Screenshot and recording controls bind = , Print, exec, grimblast --notify copy output -bind = SHIFT, Print, exec, grimblast --notify edit output +bind = CTRL, Print, exec, grimblast --notify edit output bind = $mainMod, Print, exec, grimblast --notify edit area bind = ALT_L, Print, exec, grimblast --notify copy screen bind = ALT_L SHIFT, Print, exec, grimblast --notify edit screen diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index cee0343..426ff13 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -279,9 +279,16 @@ windowrule = suppressevent maximize, class:.* # Fix some dragging issues with XWayland windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 +## ========== Special Workspaces ========== +workspace = special:keepass, on-created-empty:keepassxc +windowrule = float, class:org.keepassxc.KeePassXC +windowrule = noscreenshare, class:org.keepassxc.KeePassXC +windowrule = size 60%, 60%, class:org.keepassxc.KeePassXC +windowrule = center, class:org.keepassxc.KeePassXC + ## ========== Communication ========== # Mumble & Discord & TeamSpeak -windowrulev2 = workspace 2, class:^(info\.mumble\.Mumble|discord|TeamSpeak|vesktop)$ +windowrule = workspace 2, class:^(info\.mumble\.Mumble|discord|TeamSpeak|vesktop)$ # Signal & Element windowrule = workspace 1, class:^(signal|Element)$ @@ -297,9 +304,6 @@ windowrule = workspace 10, class:Spotify windowrule = workspace 3, class:^(steam|battle\.net\.exe|net\.lutris\.Lutris)$ ## ========== System ========== -windowrule = float, class:org.keepassxc.KeePassXC -windowrule = noscreenshare, class:org.keepassxc.KeePassXC -windowrule = size 60%, 60%, class:org.keepassxc.KeePassXC windowrule = float, class:com.saivert.pwvucontrol windowrule = float, class:scrrec