added kitty and herbstluftwm configs.

This commit is contained in:
pim-wtf
2022-04-24 07:26:28 +02:00
parent 05a7404466
commit a7dfd262af
8 changed files with 506 additions and 348 deletions

View File

@ -8,8 +8,8 @@
# Polybar configuation file.
[colors]
background = #dd191919
foreground = #ddffffff
background = #ff000000
foreground = #ffffffff
background-alt = #444
foreground-alt = #555
@ -18,17 +18,16 @@ primary = #ffb52a
alert = #bd2c40
[bar/top]
width = 1890
height = 35
radius = 12
bottom = false
width = 1280
height = 20
background = ${colors.background}
foreground = ${colors.foreground}
border-color = #00000000
offset-y = 15
offset-x = 15
offset-y = 0
offset-x = 0
padding-left = 0
padding-right = 1
@ -38,42 +37,23 @@ tray-padding = 1
spacing = 1
module-margin-left = 1
font-0 = RobotoMono:size=11;2
font-0 = Roboto Mono For Powerline:size=11;2
font-1 = MaterialIcons;3
modules-left = bspwm
modules-right = xbps-updates pulseaudio-control wlan wireless-network battery
modules-left = ewmh
modules-right = brightnessctl wlan wireless-network battery
modules-center = date
fixed-center = true
tray-position = right
[module/xbps-updates]
type = custom/script
exec = ~/.config/polybar/scripts/xbps-updates.sh
click-left = alacritty -e sudo xbps-install -Su
interval = 60
label-foreground = ${colors.foreground}
[module/pulseaudio-control]
type = custom/script
tail = true
label-foreground = ${colors.foreground}
exec = ~/.config/polybar/scripts/pulseaudio-control.bash --icons-volume ", , " --icon-muted "" --sink-nicknames-from "alsa.card_name" --sink-nickname "usb-Topping_D30-00.analog-stereo:  D30" --sink-nickname "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor: Speakers" listen
click-right = exec pavucontrol &
click-left = ~/.config/polybar/scripts/pulseaudio-control.bash togmute
click-middle = ~/.config/polybar/scripts/pulseaudio-control.bash --sink-blacklist "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor" next-sink
scroll-up = ~/.config/polybar/scripts/pulseaudio-control.bash --volume-max 130 up
scroll-down = ~/.config/polybar/scripts/pulseaudio-control.bash --volume-max 130 down
[module/brightnessctl]
type = custom/script
exec = ~/.config/polybar/scripts/brightnessctl.sh
scroll-up = exec brightnessctl set +5%
scroll-down = exec brightnessctl set 5%-
interval = 0.5
interval = 5
label = %output%
label-foreground = ${colors.foreground}
@ -83,14 +63,16 @@ type = internal/xwindow
[module/battery]
type = internal/battery
battery = BAT1
battery = BAT0
adapter = ACAD
full-at = 98
interval = 30
click-left = ~/.config/polybar/scripts/bat_toggle.sh
format-charging = <label-charging>
format-discharging = <ramp-capacity><label-discharging>
format-full = ""
format-full = <ramp-capacity><label-discharging>
format-charging-foreground = #90C2E7
@ -114,20 +96,21 @@ bar-capacity-empty = █
bar-capacity-empty-font = 3
bar-capacity-empty-foreground = #44ffffff
[module/bspwm]
type = internal/bspwm
[module/ewmh]
type = internal/xworkspaces
pin-workspaces = true
fuzzy-match = true
enable-click = true
ws-icon-0 = I;
ws-icon-1 = II;
ws-icon-2 = III;
ws-icon-3 = IV;
ws-icon-4 = V;
ws-icon-5 = VI;
ws-icon-6 = VII;
ws-icon-7 = VIII;
ws-icon-0 = 1;
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-3 = 4;
ws-icon-4 = 5;
ws-icon-5 = 6;
ws-icon-6 = 7;
ws-icon-7 = 8;
format = <label-state>
label-monitor = %icon%
@ -151,18 +134,17 @@ label-empty-padding = 1
type = internal/date
date = %H:%M
format = <label>
; full date: %Y-%m-%d %H:%M:%S
[module/wlan]
type = internal/network
interface = enp7s0
interface = eth0
interval = 5.0
format-connected =  eth
[module/wireless-network]
type = internal/network
interface = wlp8s0
interface = wlan0
interval = 5.0
ping-interval = 10