Waybar: remove window module and enable systemd again
Add output movement binds from Hyprland
This commit is contained in:
parent
950e23aa0b
commit
af498308ac
|
@ -68,7 +68,6 @@
|
|||
startup = [
|
||||
{command = "${pkgs.swaynotificationcenter}/bin/swaync";}
|
||||
{command = "${pkgs.swaybg}/bin/swaybg -i ${../../wallpapers/waves/cat-waves.png}";}
|
||||
{command = "${pkgs.waybar}/bin/waybar";}
|
||||
{command = "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";}
|
||||
{command = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n";}
|
||||
];
|
||||
|
@ -123,6 +122,10 @@
|
|||
}: "${package}/bin/${term} -T ${progname} -e ${progname} ${args}";
|
||||
in
|
||||
lib.mkOptionDefault {
|
||||
# Movement
|
||||
"${modifier}+bracketleft" = "move workspace to output left";
|
||||
"${modifier}+bracketright" = "move workspace to output right";
|
||||
|
||||
# Function keys
|
||||
## Sound
|
||||
"XF86AudioMute" = "exec ${services.avizo.package}/bin/volumectl %";
|
||||
|
|
|
@ -12,17 +12,16 @@
|
|||
};
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
systemd = {
|
||||
enable = true;
|
||||
target = "sway-session.target";
|
||||
};
|
||||
settings.main = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
# Layout
|
||||
"modules-left" = [
|
||||
"sway/workspaces"
|
||||
"sway/window"
|
||||
];
|
||||
"modules-center" = [
|
||||
"mpris"
|
||||
];
|
||||
"modules-left" = ["sway/workspaces"];
|
||||
"modules-center" = ["mpris"];
|
||||
"modules-right" = [
|
||||
"custom/notification"
|
||||
"pulseaudio"
|
||||
|
|
Loading…
Reference in a new issue