change to sway

This commit is contained in:
2022-10-31 16:46:15 +01:00
parent ed9c5eebd4
commit 814391b33d
4 changed files with 167 additions and 84 deletions

View File

@@ -149,8 +149,8 @@
height = 22;
tray = { spacing = 10; };
modules-center = [ "clock" "custom/appkill" ];
#modules-left = [ "wlr/mode" "wlr/workspaces" "wlr/window" ];
modules-left = [ "wlr/workspaces" ];
modules-left = [ "sway/mode" "sway/workspaces" "sway/window" ];
#modules-left = [ "wlr/workspaces" ];
modules-right = [ "idle_inhibitor" "pulseaudio" "network" "cpu" "memory" "backlight" "temperature" "battery" "tray" ];
#modules-right = [ "cpu" "memory" "pulseaudio" "clock" "tray" ];
@@ -272,7 +272,8 @@
"custom/appkill" = {
format = " ";
icon-size = 20;
on-click = "${pkgs.hyprland}/bin/hyprctl dispatch killactive .";
#on-click = "${pkgs.hyprland}/bin/hyprctl dispatch killactive .";
on-click = "${pkgs.sway}/bin/swaymsg kill";
tooltip = false;
};
}];