Switched over to element

This commit is contained in:
Emmet 2024-05-20 21:17:46 -05:00
parent 2245e374da
commit cab9590305
2 changed files with 15 additions and 11 deletions

View file

@ -58,7 +58,7 @@
protonmail-bridge
texliveSmall
numbat
fluffychat
element-desktop-wayland
wine
bottles

View file

@ -199,7 +199,7 @@
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,D,exec,pypr toggle matrix && hyprctl dispatch bringactivetotop
bind=SUPER,D,exec,hypr-element
bind=SUPER,code:172,exec,pypr toggle pavucontrol && hyprctl dispatch bringactivetotop
$scratchpadsize = size 80% 85%
@ -209,10 +209,9 @@
windowrulev2 = workspace special silent,$scratchpad
windowrulev2 = center,$scratchpad
windowrulev2 = float,class:^(fluffychat)$
windowrulev2 = size 85% 90%,class:^(fluffychat)$
windowrulev2 = workspace special silent,class:^(fluffychat)$
windowrulev2 = center,class:^(fluffychat)$
windowrulev2 = float,class:^(Element)$
windowrulev2 = size 85% 90%,class:^(Element)$
windowrulev2 = center,class:^(Element)$
$savetodisk = title:^(Save to Disk)$
windowrulev2 = float,$savetodisk
@ -237,7 +236,7 @@
windowrulev2 = opacity 0.80,title:ORUI
windowrulev2 = opacity 1.0,class:^(org.qutebrowser.qutebrowser),fullscreen:1
windowrulev2 = opacity 0.90,class:^(fluffychat)$
windowrulev2 = opacity 0.90,class:^(Element)$
windowrulev2 = opacity 1.0,class:^(Brave-browser),fullscreen:1
windowrulev2 = opacity 1.0,class:^(librewolf),fullscreen:1
windowrulev2 = opacity 0.80,title:^(LibreWolf)$
@ -405,6 +404,15 @@
nwg-dock-hyprland -f -x -i 64 -nolauncher -a start -ml 8 -mr 8 -mb 8
fi
'')
(pkgs.writeScriptBin "hypr-element" ''
#!/bin/sh
if hyprctl clients | grep "class: Element" > /dev/null
then
hyprctl dispatch closewindow Element
else
element-desktop
fi
'')
(pkgs.writeScriptBin "sct" ''
#!/bin/sh
killall wlsunset &> /dev/null;
@ -623,10 +631,6 @@
command = "alacritty --class scratchpad -e btm"
margin = 50
[scratchpads.matrix]
command = "fluffychat"
margin = 50
[scratchpads.pavucontrol]
command = "pavucontrol"
margin = 50