Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;; Fonts you may want ;;;;;;;;
- ;;;;;;;; --- ttf-font-awesome ;;;;;;;;
- ;;;;;;;; --- ttf-material-icons ;;;;;;;;
- ;;;;;;;; --- nerd-fonts-complete ;;;;;;;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;; Colours
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- [colors]
- background = #131313
- foreground = #EFF0F1
- urgent = #E64141
- blue = #1793D1
- b-alt = #131313
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;; Bars
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- [settings]
- throttle-output = 5
- throttle-output-for = 10
- throttle-input-for = 30
- compositing-background = over
- compositing-foreground = source
- compositing-overline = over
- compositing-underline = over
- compositing-border = over
- [bar/bar1]
- ; Use xrandr -q | grep " connected" | cut -d ' ' -f1
- ; for a list of connected monitors
- monitor =
- monitor-strict = false
- override-redirect = false
- width = 100%
- height = 24
- offset-x = 0
- offset-y = 0
- fixed-center = true
- border-bottom-size = 0
- border-bottom-color = ${colors.background}
- border-top-size = 0
- border-top-color = ${colors.background}
- background = ${colors.background}
- foreground = ${colors.foreground}
- font-0 = Ubuntu Nerd Font:size=13:antialias=false;2
- font-1 = FontAwesome:pixelsize=12:antialias=false;2
- font-2 = MaterialIcons:size=12:antialias=false;2
- font-3 = Fira Sans:size=12:weight=regular;2
- modules-left = workspaces rofi menu
- modules-center = window_count
- modules-right = pkg compton memory cpu temp volume networkmanager time
- module-margin = 1
- padding-right = 0
- padding-left = 0
- bottom = false
- underline-size = 2
- ;tray-position = center
- ;tray-padding = 10
- ;tray-background = ${colors.background}
- ;tray-offset-x = 10%
- ;tray-offset-y = 0
- [bar/bar2]
- ; Use xrandr -q | grep " connected" | cut -d ' ' -f1
- ; for a list of connected monitors
- ;monitor =
- monitor-strict = false
- override-redirect = false
- width = 100%
- height = 24
- offset-x = 0
- offset-y = 0
- fixed-center = true
- border-bottom-size = 0
- border-bottom-color = ${colors.background}
- border-top-size = 0
- border-top-color = ${colors.background}
- background = ${colors.background}
- foreground = ${colors.foreground}
- font-0 = Ubuntu Nerd Font:size=13:antialias=false;2
- font-1 = FontAwesome:pixelsize=12:antialias=false;2
- font-2 = MaterialIcons:size=12:antialias=false;2
- font-3 = Fira Sans:size=12:weight=regular;2
- modules-left = workspaces rofi
- modules-center = window_count
- modules-right = filesystem trash volume
- module-margin = 1
- padding-right = 0
- padding-left = 0
- bottom = false
- underline-size = 2
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;; Modules
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- [module/rofi]
- type = custom/script
- exec = echo " "
- click-left = rofi-apps
- label-foreground = ${colors.foreground}
- label-background = ${colors.b-alt}
- [module/temp]
- type = internal/temperature
- interval = 3
- thermal-zone = 0
- warn-temp = 70
- format = <label>
- format-padding = 0
- label-foreground = ${colors.foreground}
- label-background = ${colors.b-alt}
- label-warn-foreground = ${colors.urgent}
- label = " %temperature% "
- label-warn = " %temperature% "
- [module/memory]
- type = internal/memory
- interval = 3
- format = <label>
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground}
- label = %{A1:termite --geometry=500x300 --exec=htop &:}%percentage_used%%%{A}
- [module/cpu]
- type = internal/cpu
- interval = 1
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground}
- label = %{A1:termite --geometry=500x300 --exec=htop &:}%percentage%%%{A}
- [module/time]
- type = internal/date
- interval = 5
- label-foreground = ${colors.foreground}
- date-alt = " %Y-%m-%d"
- time = "%H:%M "
- time-alt = "%H:%M:%S "
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground}
- label = %date% %time%
- [module/pkg]
- type = custom/script
- label-foreground = ${colors.foreground}
- label-background = ${colors.b-alt}
- exec = $HOME/.config/polybar/scripts/pkg.sh
- exec-if = "ping -c 1 8.8.8.8 > /dev/null"
- click-left = $HOME/.config/polybar/scripts/update.sh
- click-right = $HOME/.config/polybar/scripts/aur-update.sh
- label-padding = 0
- interval = 1500
- tail = true
- [module/compton]
- type = custom/script
- label-background = ${colors.b-alt}
- exec = $HOME/.config/polybar/scripts/compton.sh
- click-left = $HOME/.config/polybar/scripts/compton-toggle.sh
- click-right = $HOME/.config/polybar/scripts/compton-toggle.sh
- interval = 2
- label-padding = 1
- [module/window_count]
- type = custom/script
- interval = 1
- label = %{A1:skippy-xd --toggle-window-picker:} %output% %{A}
- exec = echo "$(($(wmctrl -l -i | wc -l)-1))"
- format = <label>
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground}
- format-padding = 3
- [module/filesystem]
- type = internal/fs
- interval = 25
- mount-0 = /
- label-mounted = %mountpoint%:%percentage_used%%
- label-mounted-foreground = ${colors.foreground}
- label-unmounted = %mountpoint% not mounted
- label-unmounted-foreground = ${colors.blue}
- [module/volume]
- type = internal/volume
- master-mixer = Master
- format-volume = <label-volume><bar-volume>
- label-volume = " "
- label-volume-foreground = ${colors.foreground}
- label-volume-background = ${colors.b-alt}
- format-muted-prefix = " "
- format-muted-foreground = ${colors.foreground}
- format-muted-background = ${colors.b-alt}
- label-muted = sound muted
- bar-volume-width = 15
- bar-volume-foreground-0 = ${colors.foreground}
- bar-volume-gradient = true
- bar-volume-indicator = "➤"
- bar-volume-indicator-foreground = ${colors.blue}
- bar-volume-indicator-backround = ${colors.b-alt}
- bar-volume-fill-background = ${colors.b-alt}
- bar-volume-fill-foreground = ${colors.blue}
- bar-volume-fill = "─"
- bar-volume-empty = "─"
- bar-volume-empty-foreground = ${colors.foreground}
- bar-volume-empty-background = ${colors.b-alt}
- [module/trash]
- interval = 1
- type = custom/script
- exec = $HOME/.config/polybar/scripts/trash
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground}
- format-background = ${colors.b-alt}
- click-right = rm -rf $HOME/.local/share/Trash/files/*
- click-left = exo-open --launch FileManager $HOME/.local/share/Trash/files
- [module/menu]
- type = custom/menu
- format-spacing = 1
- format-background = ${colors.b-alt}
- label-open = " "
- label-open-foreground = ${colors.foreground}
- label-open-background = ${colors.b-alt}
- label-close = " "
- label-close-foreground = ${colors.urgent}
- label-separator = " "
- label-separator-foreground = ${colors.background}
- # Top level
- menu-0-0 = " "
- menu-0-0-exec = menu-open-1
- menu-0-1 = " "
- menu-0-1-exec = menu-open-2
- menu-0-2 = " "
- menu-0-2-exec = menu-open-3
- # 1
- menu-1-0 = " "
- menu-1-0-exec = exo-open --launch WebBrowser
- menu-1-1 = " "
- menu-1-1-exec = exo-open --launch TerminalEmulator
- menu-1-2 = " "
- menu-1-2-exec = exo-open --launch FileManager
- menu-1-3 = " "
- menu-1-3-exec = geany &
- # 2
- menu-2-0 = " "
- menu-2-0-exec = audacious &
- menu-2-1 = " "
- menu-2-1-exec = termite --geometry=600x500 --exec=pacli &
- menu-2-2 = " "
- menu-2-2-exec = xfce4-settings-manager &
- menu-2-3 = " "
- menu-2-3-exec = scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' &
- # 3
- menu-3-0 = " "
- menu-3-0-exec = slimlock
- menu-3-1 = " "
- menu-3-1-exec = openbox --exit
- menu-3-2 = " "
- menu-3-2-exec = systemctl reboot
- menu-3-3 = " "
- menu-3-3-exec = systemctl poweroff
- [module/workspaces]
- type = internal/xworkspaces
- enable-click = true
- enable-scroll = true
- format-padding = 1
- Additional formatting
- icon-0 = 1;
- icon-1 = 2;
- icon-2 = 3;
- icon-3 = 4;
- icon-4 = 5;
- icon-5 = 6;
- icon-6 = 7;
- icon-7 = 8;
- icon-8 = 9;
- icon-9 = 10;
- ;icon-default =
- format = <label-state>
- label-monitor = %name%
- label-active = " %icon% %name% "
- label-active-foreground = ${colors.blue}
- label-active-background = ${colors.background}
- label-active-underline = ${colors.blue}
- label-occupied = " %icon% %name% "
- label-occupied-underline = ${colors.blue}
- label-occupied-background = ${colors.background}
- label-occupied-foreground = ${colors.foreground}
- label-urgent = " %icon% %name% "
- label-urgent-foreground = ${colors.urgent}
- label-urgent-background = ${colors.background}
- label-urgent-underline = ${colors.urgent}
- label-empty = " %icon% %name% "
- label-empty-foreground = ${colors.foreground}
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;; Extra Modules (not used)
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- [module/title]
- type = custom/script
- interval = 1
- label = %output%
- label-maxlen = 65
- exec = echo "$(xtitle)"
- format = <label>
- format-background = ${colors.b-alt}
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground}
- format-padding = 3
- [module/eth]
- type = internal/network
- interface = eno1
- interval = 1
- label-connected = " "
- label-connected-foreground = ${colors.foreground}
- label-connected-background = ${colors.b-alt}
- label-disconnected = " "
- label-disconnected-foreground = ${colors.foreground}
- label-disconnected-background = ${colors.b-alt}
- [module/coreuse]
- type = internal/cpu
- interval = 1
- format = <label>
- format-background = ${colors.b-alt}
- format-prefix = ""
- format-prefix-padding = 1
- format-prefix-foreground = ${colors.foreground}
- label = %percentage%%
- ramp-coreload-0 = %{F#81817F}▂%{F-}
- ramp-coreload-1 = %{F#81817F}▃%{F-}
- ramp-coreload-2 = %{F#D1D1D0}▄%{F-}
- ramp-coreload-3 = %{F#D1D1D0}▅%{F-}
- ramp-coreload-4 = %{F#D1D1D0}▆%{F-}
- ramp-coreload-5 = %{F#FFFFFF}▇%{F-}
- ramp-coreload-6 = %{F#FFFFFF}█%{F-}
- [module/networkmanager]
- type = custom/text
- content = net
- content-foreground = ${colors.foreground}
- click-left = networkmanager_dmenu
- format-padding = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement