mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-10-10 16:51:54 +05:30
feat: migrate tpanel to ags v3
This commit is contained in:
@@ -9,19 +9,19 @@
|
||||
(pkgs.writeShellScriptBin "mirror-display" ''
|
||||
hyprctl keyword monitor "eDP-1,2560x1440@90,0x0,1" \
|
||||
&& hyprctl keyword monitor "HDMI-A-1,preferred,0x0,1,mirror,eDP-1" \
|
||||
&& astal -q \
|
||||
&& ags quit \
|
||||
&& ${pkgs.tpanel}/bin/tpanel &
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "extend-display" ''
|
||||
hyprctl keyword monitor "eDP-1,2560x1440@90,0x0,1" \
|
||||
&& hyprctl keyword monitor "HDMI-A-1,preferred,0x-1440,1" \
|
||||
&& astal -q \
|
||||
&& ags quit \
|
||||
&& ${pkgs.tpanel}/bin/tpanel &
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "dock-display" ''
|
||||
hyprctl keyword monitor "eDP-1,disable" \
|
||||
&& hyprctl keyword monitor "HDMI-A-1,preferred,0x0,1" \
|
||||
&& astal -q \
|
||||
&& ags quit \
|
||||
&& ${pkgs.tpanel}/bin/tpanel &
|
||||
'')
|
||||
];
|
||||
|
Reference in New Issue
Block a user