1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-18 20:10:03 +02:00

i3: use polybar

This commit is contained in:
Henrik Hautakoski 2024-09-28 15:08:59 +02:00
parent d8291651ee
commit 7d50ba9cf9

View file

@ -46,11 +46,13 @@ set $second_monitor HDMI-0
## Startup programs ## Startup programs
# bar
exec --no-startup-id polybar
# Needed for gnome-keyring to start. # Needed for gnome-keyring to start.
exec --no-startup-id dbus-update-activation-environment --all exec --no-startup-id dbus-update-activation-environment --all
#exec --no-startup-id gnome-keyring-daemon --start --components=secrets #exec --no-startup-id gnome-keyring-daemon --start --components=secrets
exec --no-startup-id dex-autostart --autostart --environment i3 exec --no-startup-id dex-autostart --autostart --environment i3
exec --no-startup-id feh --bg-scale $background_image exec --no-startup-id feh --bg-scale $background_image
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -c $color_bg --nofork #exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -c $color_bg --nofork
@ -239,27 +241,27 @@ client.placeholder $color_bg $color_bg $color_
# Start i3bar to display a workspace bar (plus the system information i3status # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
bar { # bar {
output primary # output primary
status_command i3status # status_command i3status
separator_symbol " │ " # separator_symbol " │ "
padding 2 8 2 0 # padding 2 8 2 0
tray_padding 4 # tray_padding 4
#
font pango:JetBrainsMono NF Regular 12 # font pango:JetBrainsMono NF Regular 12
strip_workspace_numbers no # strip_workspace_numbers no
strip_workspace_name no # strip_workspace_name no
workspace_min_width 32 # workspace_min_width 32
#
colors { # colors {
background $color_bg # background $color_bg
statusline $color_fg # statusline $color_fg
separator $color_border # separator $color_border
#
focused_workspace $color_blue $color_blue $color_bg # focused_workspace $color_blue $color_blue $color_bg
active_workspace $color_yellow $color_yellow $color_bg # active_workspace $color_yellow $color_yellow $color_bg
inactive_workspace $color_bg $color_bg $color_fg # inactive_workspace $color_bg $color_bg $color_fg
urgent_workspace $color_red $color_red $color_bg # urgent_workspace $color_red $color_red $color_bg
binding_mode $color_magenta $color_magenta $color_bg # binding_mode $color_magenta $color_magenta $color_bg
} # }
} # }