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