swayosd and more minimal waybar
This commit is contained in:
parent
0e4423040a
commit
4621354963
4 changed files with 20 additions and 41 deletions
|
@ -33,6 +33,7 @@ in {
|
||||||
brightnessctl
|
brightnessctl
|
||||||
swaybg
|
swaybg
|
||||||
swayidle
|
swayidle
|
||||||
|
swayosd
|
||||||
gammastep
|
gammastep
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -95,6 +95,7 @@ in {
|
||||||
{ command = [ "brightnessctl" "s" "50%" ]; }
|
{ command = [ "brightnessctl" "s" "50%" ]; }
|
||||||
{ command = [ "swaybg" "-i" "${./wallpaper.png}" ]; }
|
{ command = [ "swaybg" "-i" "${./wallpaper.png}" ]; }
|
||||||
{ command = [ "swayidle" "-w" "before-sleep" "swaylock" ]; }
|
{ command = [ "swayidle" "-w" "before-sleep" "swaylock" ]; }
|
||||||
|
{ command = [ "swayosd-server" ]; }
|
||||||
{ command = [ "gammastep" "-O" "5400" ]; }
|
{ command = [ "gammastep" "-O" "5400" ]; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -104,12 +105,22 @@ in {
|
||||||
"Mod+B".action.spawn = "firefox";
|
"Mod+B".action.spawn = "firefox";
|
||||||
"Mod+Space".action.spawn = "fuzzel";
|
"Mod+Space".action.spawn = "fuzzel";
|
||||||
|
|
||||||
"XF86AudioRaiseVolume".action.spawn = [ "wpctl" "set-volume" "-l" "1" "@DEFAULT_AUDIO_SINK@" "10%+" ];
|
"XF86AudioRaiseVolume".action.spawn = [
|
||||||
"XF86AudioLowerVolume".action.spawn = [ "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "10%-" ];
|
"swayosd-client" "--output-volume" "raise"
|
||||||
"XF86AudioMute".action.spawn = [ "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle" ];
|
];
|
||||||
|
"XF86AudioLowerVolume".action.spawn = [
|
||||||
|
"swayosd-client" "--output-volume" "lower"
|
||||||
|
];
|
||||||
|
"XF86AudioMute".action.spawn = [
|
||||||
|
"swayosd-client" "--output-volume" "mute-toggle"
|
||||||
|
];
|
||||||
|
|
||||||
"XF86MonBrightnessDown".action.spawn = [ "brightnessctl" "s" "5%-" ];
|
"XF86MonBrightnessDown".action.spawn = [
|
||||||
"XF86MonBrightnessUp".action.spawn = [ "brightnessctl" "s" "5%+" ];
|
"swayosd-client" "--brightness" "lower"
|
||||||
|
];
|
||||||
|
"XF86MonBrightnessUp".action.spawn = [
|
||||||
|
"swayosd-client" "--brightness" "raise"
|
||||||
|
];
|
||||||
|
|
||||||
"Mod+Backspace".action.close-window = [];
|
"Mod+Backspace".action.close-window = [];
|
||||||
|
|
||||||
|
|
|
@ -3,43 +3,15 @@
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"backlight"
|
"network"
|
||||||
"wireplumber"
|
|
||||||
];
|
];
|
||||||
modules-center = [
|
modules-center = [
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"network"
|
|
||||||
"battery"
|
"battery"
|
||||||
];
|
];
|
||||||
|
|
||||||
"backlight" = {
|
|
||||||
format = "{icon}";
|
|
||||||
format-alt = "{percent}%";
|
|
||||||
format-icons = [ "" "" "" "" "" "" "" "" "" "" "" "" "" ];
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
"wireplumber" = {
|
|
||||||
format = "{icon}";
|
|
||||||
format-alt = "{volume}%";
|
|
||||||
format-muted = "";
|
|
||||||
format-icons = [
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
];
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"clock" = {
|
"clock" = {
|
||||||
format = "{:%H:%M}";
|
format = "{:%H:%M}";
|
||||||
format-alt = "{:%a, %Y-%m-%d}";
|
format-alt = "{:%a, %Y-%m-%d}";
|
||||||
|
@ -50,8 +22,8 @@
|
||||||
format-wifi = "{icon}";
|
format-wifi = "{icon}";
|
||||||
format-alt = "{essid}";
|
format-alt = "{essid}";
|
||||||
format-ethernet = "";
|
format-ethernet = "";
|
||||||
format-disconnected = "";
|
format-disconnected = " ";
|
||||||
format-icons = ["" "" "" "" ""];
|
format-icons = [" " " " " " " " " "];
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
"battery" = {
|
"battery" = {
|
||||||
|
|
|
@ -32,17 +32,12 @@ in {
|
||||||
background-color: ${background};
|
background-color: ${background};
|
||||||
}
|
}
|
||||||
|
|
||||||
#backlight,
|
|
||||||
#battery,
|
#battery,
|
||||||
#clock,
|
#clock,
|
||||||
#network {
|
#network {
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wireplumber {
|
|
||||||
padding: 0 20px 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*-----Indicators----*/
|
/*-----Indicators----*/
|
||||||
#battery.charging {
|
#battery.charging {
|
||||||
color: ${charging};
|
color: ${charging};
|
||||||
|
|
Loading…
Add table
Reference in a new issue