overlays for later

This commit is contained in:
Sakooooo 2023-07-05 17:38:50 +03:00
parent 52295f7861
commit 9f20f5c1c6
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 9 additions and 19 deletions

View file

@ -51,7 +51,7 @@ separator-foreground = ${colors.disabled}
font-0 = JetBrainsMono ;2 font-0 = JetBrainsMono ;2
modules-left = xworkspaces xwindow modules-left = xworkspaces xwindow
modules-right = battery pipewire date modules-right = battery pulseaudio date
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -103,26 +103,14 @@ label-unmounted-foreground = ${colors.disabled}
[module/pulseaudio] [module/pulseaudio]
type = internal/pulseaudio type = internal/pulseaudio
; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) format-volume-prefix = "VOL "
; If not, uses default sink format-volume-prefix-foreground = ${colors.primary}
; sink = alsa_output.pci-0000_12_00.3.analog-stereo format-volume = <label-volume>
; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false label-volume = %percentage%%
; Default: true
use-ui-max = true
; Interval for volume increase/decrease (in percent points) label-muted = muted
; Default: 5 label-muted-foreground = ${colors.disabled}
interval = 5
[module/pipewire]
type = custom/script
exec = /home/sako/.config/polybar/pipewire-polybar.sh
interval = 3
click-right = exec pavucontrol &
click-left = /home/sako/.config/polybar/pipewire-polybar.sh --mute &
scroll-up = /home/sako/.config/polybar/pipewire-polybar.sh --up &
scroll-down = /home/sako/.config/polybar/pipewire-polybar.sh --down &
[module/xkeyboard] [module/xkeyboard]
type = internal/xkeyboard type = internal/xkeyboard

View file

@ -177,6 +177,7 @@
# TODO(sako):: make overlays in different folder # TODO(sako):: make overlays in different folder
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { qutebrowser = prev.qutebrowser.override { enableWideVine = true; }; }) (final: prev: { qutebrowser = prev.qutebrowser.override { enableWideVine = true; }; })
(final: prev: { polybar = prev.polybar.override { pulseSupport = true;}; })
]; ];
# garbage collection # garbage collection

1
overlays/default.nix Normal file
View file

@ -0,0 +1 @@
{}