Add swayosd call for modifier keys
Change master layout rules Small waybar formatting tweaks
This commit is contained in:
parent
f91d2cf632
commit
2dc7530a74
|
@ -54,8 +54,8 @@ in ''
|
||||||
|
|
||||||
master {
|
master {
|
||||||
mfact = 0.55
|
mfact = 0.55
|
||||||
new_is_master = true
|
new_is_master = false
|
||||||
new_on_top = true
|
new_on_top = false
|
||||||
no_gaps_when_only = 0
|
no_gaps_when_only = 0
|
||||||
orientation = left
|
orientation = left
|
||||||
}
|
}
|
||||||
|
@ -121,6 +121,11 @@ in ''
|
||||||
bind=,Print,exec,watershot
|
bind=,Print,exec,watershot
|
||||||
bind=,XF86Calculator,exec,pkill anyrun || anyrun
|
bind=,XF86Calculator,exec,pkill anyrun || anyrun
|
||||||
|
|
||||||
|
# Bind modifiers to show state using swayosd
|
||||||
|
bindl=,Num_lock,exec,${pkgs.swayosd}/bin/swayosd --num-lock
|
||||||
|
bindl=,Caps_lock,exec,${pkgs.swayosd}/bin/swayosd --caps-lock
|
||||||
|
bindl=,Scroll_lock,exec,${pkgs.swayosd}/bin/swayosd --scroll-lock
|
||||||
|
|
||||||
# Sound
|
# Sound
|
||||||
bindl=,XF86AudioMute,exec,${pkgs.swayosd}/bin/swayosd --output-volume=mute-toggle
|
bindl=,XF86AudioMute,exec,${pkgs.swayosd}/bin/swayosd --output-volume=mute-toggle
|
||||||
bindl=,XF86AudioMicMute,exec,${pkgs.swayosd}/bin/swayosd --input-volume=mute-toggle
|
bindl=,XF86AudioMicMute,exec,${pkgs.swayosd}/bin/swayosd --input-volume=mute-toggle
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
format = "{icon}";
|
format = "{icon} ";
|
||||||
tooltip-format = "{percent}%";
|
tooltip-format = "{percent}%";
|
||||||
format-icons = ["" "" "" "" "" "" "" "" ""];
|
format-icons = [ "" "" "" "" "" "" "" "" "" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
warning = 30;
|
warning = 30;
|
||||||
critical = 15;
|
critical = 15;
|
||||||
};
|
};
|
||||||
format = "{icon}";
|
format = "{icon} ";
|
||||||
format-charging = "";
|
format-charging = "";
|
||||||
format-plugged = "";
|
format-plugged = "";
|
||||||
tooltip-format = "{time} {capacity}%";
|
tooltip-format = "{time} {capacity}%";
|
||||||
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
format-icons = [ "" "" "" "" "" "" "" "" "" "" "" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
format-source = "{volume}% ";
|
format-source = "{volume}% ";
|
||||||
format-source-muted = "";
|
format-source-muted = "";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
headphone = "";
|
headphone = " ";
|
||||||
hands-free = "";
|
hands-free = " ";
|
||||||
headset = "";
|
headset = " ";
|
||||||
phone = "";
|
phone = " ";
|
||||||
portable = "";
|
portable = " ";
|
||||||
car = "";
|
car = " ";
|
||||||
default = ["" "" ""];
|
default = [ " " " " " " ];
|
||||||
};
|
};
|
||||||
on-click = "pavucontrol";
|
on-click = "pavucontrol";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue