hyrpland: removed unused codes
This commit is contained in:
parent
9fa75cd522
commit
0abaa4a0b8
|
@ -10,7 +10,6 @@ in
|
|||
pkgs.wl-clipboard
|
||||
pkgs.kcalc
|
||||
];
|
||||
sops.secrets."gnome-keyring/${config.home.username}" = { };
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
systemd.variables = [ "all" ];
|
||||
|
|
|
@ -29,10 +29,6 @@ let
|
|||
if [[ "$fullscreen_on_same_ws" == "" ]]; then
|
||||
hyprctl dispatch focuswindow address:''${addr}
|
||||
else
|
||||
# If we want to focus app_A and app_B is fullscreen on the same workspace,
|
||||
# app_A will get focus, but app_B will remain on top.
|
||||
# This monstrosity is to make sure app_A will end up on top instead.
|
||||
# XXX: doesn't handle fullscreen 0, but I don't care.
|
||||
notify-send 'Complex switch' "$window"
|
||||
hyprctl --batch "dispatch focuswindow address:''${fullscreen_on_same_ws}; dispatch fullscreen 1; dispatch focuswindow address:''${addr}; dispatch fullscreen 1"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue