mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Switched over to element
This commit is contained in:
parent
2245e374da
commit
cab9590305
|
@ -58,7 +58,7 @@
|
||||||
protonmail-bridge
|
protonmail-bridge
|
||||||
texliveSmall
|
texliveSmall
|
||||||
numbat
|
numbat
|
||||||
fluffychat
|
element-desktop-wayland
|
||||||
|
|
||||||
wine
|
wine
|
||||||
bottles
|
bottles
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
bind=SUPER,N,exec,pypr toggle numbat && 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,M,exec,pypr toggle musikcube && hyprctl dispatch bringactivetotop
|
||||||
bind=SUPER,B,exec,pypr toggle btm && 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
|
bind=SUPER,code:172,exec,pypr toggle pavucontrol && hyprctl dispatch bringactivetotop
|
||||||
$scratchpadsize = size 80% 85%
|
$scratchpadsize = size 80% 85%
|
||||||
|
|
||||||
|
@ -209,10 +209,9 @@
|
||||||
windowrulev2 = workspace special silent,$scratchpad
|
windowrulev2 = workspace special silent,$scratchpad
|
||||||
windowrulev2 = center,$scratchpad
|
windowrulev2 = center,$scratchpad
|
||||||
|
|
||||||
windowrulev2 = float,class:^(fluffychat)$
|
windowrulev2 = float,class:^(Element)$
|
||||||
windowrulev2 = size 85% 90%,class:^(fluffychat)$
|
windowrulev2 = size 85% 90%,class:^(Element)$
|
||||||
windowrulev2 = workspace special silent,class:^(fluffychat)$
|
windowrulev2 = center,class:^(Element)$
|
||||||
windowrulev2 = center,class:^(fluffychat)$
|
|
||||||
|
|
||||||
$savetodisk = title:^(Save to Disk)$
|
$savetodisk = title:^(Save to Disk)$
|
||||||
windowrulev2 = float,$savetodisk
|
windowrulev2 = float,$savetodisk
|
||||||
|
@ -237,7 +236,7 @@
|
||||||
windowrulev2 = opacity 0.80,title:ORUI
|
windowrulev2 = opacity 0.80,title:ORUI
|
||||||
|
|
||||||
windowrulev2 = opacity 1.0,class:^(org.qutebrowser.qutebrowser),fullscreen:1
|
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:^(Brave-browser),fullscreen:1
|
||||||
windowrulev2 = opacity 1.0,class:^(librewolf),fullscreen:1
|
windowrulev2 = opacity 1.0,class:^(librewolf),fullscreen:1
|
||||||
windowrulev2 = opacity 0.80,title:^(LibreWolf)$
|
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
|
nwg-dock-hyprland -f -x -i 64 -nolauncher -a start -ml 8 -mr 8 -mb 8
|
||||||
fi
|
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" ''
|
(pkgs.writeScriptBin "sct" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
killall wlsunset &> /dev/null;
|
killall wlsunset &> /dev/null;
|
||||||
|
@ -623,10 +631,6 @@
|
||||||
command = "alacritty --class scratchpad -e btm"
|
command = "alacritty --class scratchpad -e btm"
|
||||||
margin = 50
|
margin = 50
|
||||||
|
|
||||||
[scratchpads.matrix]
|
|
||||||
command = "fluffychat"
|
|
||||||
margin = 50
|
|
||||||
|
|
||||||
[scratchpads.pavucontrol]
|
[scratchpads.pavucontrol]
|
||||||
command = "pavucontrol"
|
command = "pavucontrol"
|
||||||
margin = 50
|
margin = 50
|
||||||
|
|
Loading…
Reference in a new issue