Polybar and sxhkd keybindings for volume
This commit is contained in:
parent
f96a22326c
commit
268e53fdf7
3 changed files with 8 additions and 3 deletions
|
|
@ -22,6 +22,10 @@ in
|
|||
focused_border_color = strPalette.bright.blue;
|
||||
};
|
||||
# monitors = builtins.foldl' (acc: monitor: acc // { ${monitor} = monitorPages; }) { } monitors;
|
||||
rules = {
|
||||
"*" = { follow = true; };
|
||||
"Zathura" = { state = "tiled"; };
|
||||
};
|
||||
extraConfig = ''
|
||||
for monitor in $(${xrandr} --listactivemonitors | cut -d " " -f 6); do
|
||||
bspc monitor $monitor -d ${monitorPagesString}
|
||||
|
|
@ -37,8 +41,8 @@ in
|
|||
startupPrograms = [ ];
|
||||
};
|
||||
services = {
|
||||
network-manager-applet.enable = true;
|
||||
blueman-applet.enable = true;
|
||||
network-manager-applet.enable = true;
|
||||
blueman-applet.enable = true;
|
||||
};
|
||||
home.packages = with pkgs; [ blueman ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -216,6 +216,7 @@ in
|
|||
};
|
||||
|
||||
"module/pulseaudio" = {
|
||||
interval = 2;
|
||||
bar.volume = {
|
||||
empty = {
|
||||
font = "2";
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
"alt + Tab" = "rofi -show window";
|
||||
"super + {t,shift + t,s,f}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}";
|
||||
"super + y" = "bspc node newest.marked.local -n newest.!automatic.local";
|
||||
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pamixer} {-d 5,-t,-i 5}";
|
||||
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pamixer} {-d 2,-t,-i 2}";
|
||||
"XF86Audio{Next,Play,Prev}" = "${playerctl} {next,play-pause,previous}";
|
||||
"XF86MonBrightness{Up,Down}" = "${xbacklight} {+,-}10%";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue