Update user configs, add update xinitrc and add xserverrc
This commit is contained in:
@ -17,8 +17,8 @@ inherit = bar/master
|
||||
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||
monitor =
|
||||
|
||||
modules-left = jgmenu config window_switch workspaces menu
|
||||
modules-center = clock
|
||||
modules-left = jgmenu config workspaces
|
||||
modules-center = clock window_switch
|
||||
modules-right = pkg memory temperature coreuse network volume
|
||||
|
||||
; All available modules (some require configuration in modules.conf)
|
||||
|
@ -36,8 +36,8 @@ exec = echo "GO"
|
||||
[module/workspaces]
|
||||
type = internal/xworkspaces
|
||||
pin-workspaces = false
|
||||
enable-click = true
|
||||
enable-scroll = true
|
||||
enable-click = true
|
||||
enable-scroll = true
|
||||
format-padding = 0
|
||||
icon-0 = 1;
|
||||
icon-1 = 2;
|
||||
@ -51,20 +51,20 @@ icon-8 = 9;
|
||||
icon-9 = 10;
|
||||
icon-default =
|
||||
format = <label-state>
|
||||
label-active = %icon% %name%
|
||||
label-active-padding = 1
|
||||
label-active = %icon% %name%
|
||||
label-occupied = %icon% %name%
|
||||
label-urgent = %icon% %name%
|
||||
label-empty = %icon% %name%
|
||||
label-occupied-padding = 1
|
||||
label-urgent = %icon% %name%
|
||||
label-urgent-padding = 1
|
||||
label-empty = %icon% %name%
|
||||
label-empty-padding = 1
|
||||
label-empty-padding = 1
|
||||
label-urgent-padding = 1
|
||||
label-active-padding = 1
|
||||
label-active-foreground = ${colors.blue}
|
||||
label-active-underline = ${colors.blue}
|
||||
label-active-underline = ${colors.blue}
|
||||
label-occupied-underline = ${colors.blue}
|
||||
label-urgent-foreground = ${colors.urgent}
|
||||
label-urgent-underline = ${colors.urgent}
|
||||
label-empty-foreground = ${colors.foreground}
|
||||
label-urgent-underline = ${colors.urgent}
|
||||
label-empty-foreground = ${colors.foreground}
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
@ -73,7 +73,7 @@ label-empty-foreground = ${colors.foreground}
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
pin-workspaces = true
|
||||
strip-wsnumbers = false
|
||||
strip-wsnumbers = true
|
||||
index-sort = true
|
||||
enable-click = true
|
||||
fuzzy-match = true
|
||||
@ -121,25 +121,25 @@ ws-icon-8 = IX;
|
||||
ws-icon-9 = X;
|
||||
;ws-icon-default = ♟
|
||||
|
||||
format = <label-state> <label-mode>
|
||||
label-monitor = %name%
|
||||
label-mode-padding = 1
|
||||
label-focused = %icon% %name%
|
||||
label-focused-padding = 1
|
||||
label-occupied = %icon% %name%
|
||||
label-occupied-padding = 1
|
||||
label-urgent = %icon% %name%
|
||||
label-urgent-padding = 1
|
||||
label-empty = %icon% %name%
|
||||
label-empty-padding = 1
|
||||
format = <label-state> <label-mode>
|
||||
label-monitor = %name%
|
||||
label-mode-padding = 1
|
||||
label-focused = %icon% %name%
|
||||
label-focused-padding = 1
|
||||
label-occupied = %icon% %name%
|
||||
label-occupied-padding = 1
|
||||
label-urgent = %icon% %name%
|
||||
label-urgent-padding = 1
|
||||
label-empty = %icon% %name%
|
||||
label-empty-padding = 1
|
||||
label-dimmed-foreground = ${colors.purple}
|
||||
label-dimmed-underline = ${colors.purple}
|
||||
label-dimmed-underline = ${colors.purple}
|
||||
label-dimmed-focused-background = ${colors.purple}
|
||||
label-focused-foreground = ${colors.blue}
|
||||
label-focused-underline = ${colors.blue}
|
||||
label-focused-underline = ${colors.blue}
|
||||
label-occupied-underline = ${colors.purple}
|
||||
label-urgent-foreground = ${colors.urgent}
|
||||
label-urgent-underline = ${colors.urgent}
|
||||
label-urgent-foreground = ${colors.urgent}
|
||||
label-urgent-underline = ${colors.urgent}
|
||||
|
||||
; The following labels will be used to indicate the layout/mode
|
||||
; for the focused workspace. Requires <label-mode>
|
||||
@ -163,10 +163,10 @@ label-private-foreground = ${colors.urgent}
|
||||
[module/network]
|
||||
type = custom/script
|
||||
exec = check-network
|
||||
click-left = networkmanager_dmenu &
|
||||
click-right = networkmanager_dmenu &
|
||||
click-left = networkmanager_dmenu &
|
||||
click-right = networkmanager_dmenu &
|
||||
label-padding = 1
|
||||
tail = true
|
||||
tail = true
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
@ -187,10 +187,10 @@ format = <label>
|
||||
;;;;;;;;;
|
||||
[module/coreuse]
|
||||
type = internal/cpu
|
||||
interval = 1
|
||||
format = <label><ramp-coreload>
|
||||
format-padding = 1
|
||||
label = %{A1:termite --exec=htop & disown:} %percentage%% %{A}
|
||||
interval = 1
|
||||
format-padding = 1
|
||||
format = <label><ramp-coreload>
|
||||
label = %{A1:termite --exec=htop & disown:} %percentage%% %{A}
|
||||
ramp-coreload-0 = ▂
|
||||
ramp-coreload-1 = ▃
|
||||
ramp-coreload-2 = ▄
|
||||
@ -223,19 +223,19 @@ label = %{A1:termite --exec=htop & disown:} %percentage_used%%%{A}
|
||||
type = custom/script
|
||||
exec = check-updates
|
||||
exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null"
|
||||
label = %{A1:termite --exec=pacli & disown:} %{A3:termite --exec=pacli & disown:}%output%%{A} %{A}
|
||||
tail = true
|
||||
label = %{A1:termite --exec=pacli & disown:} %{A3:termite --exec=pacli & disown:}%output%%{A} %{A}
|
||||
tail = true
|
||||
|
||||
|
||||
;;;;;;;;;;;
|
||||
;; Clock ;;
|
||||
;;;;;;;;;;;
|
||||
[module/clock]
|
||||
type = internal/date
|
||||
format = <label>
|
||||
type = internal/date
|
||||
format = <label>
|
||||
lebel-padding = 1
|
||||
interval = 5
|
||||
time = %R
|
||||
interval = 5
|
||||
time = %R
|
||||
label = %{A1:gsimplecal & disown:} %{A3:gsimplecal & disown:} %time%%{A} %{A}
|
||||
|
||||
|
||||
@ -244,25 +244,22 @@ label = %{A1:gsimplecal & disown:} %{A3:gsimplecal & disown:} %time%%{A} %{A}
|
||||
;;;;;;;;;;;;;;;;;
|
||||
[module/temperature]
|
||||
type = internal/temperature
|
||||
interval = 3
|
||||
thermal-zone = 0
|
||||
interval = 3
|
||||
thermal-zone = 0
|
||||
warn-temperature = 70
|
||||
|
||||
format = <ramp><label>
|
||||
format-padding = 1
|
||||
format = <ramp><label>
|
||||
format-padding = 1
|
||||
label = %{A1:termite --exec='watch sensors' & disown:} %temperature%%{A}
|
||||
|
||||
ramp-0 = ""
|
||||
ramp-0-foreground = ${colors.blue}
|
||||
ramp-1 = ""
|
||||
ramp-1-foreground = ${colors.pink}
|
||||
ramp-2 = ""
|
||||
ramp-2-foreground = ${colors.purple}
|
||||
ramp-3 = ""
|
||||
ramp-3-foreground = ${colors.urgent}
|
||||
|
||||
format-warn = <label-warn>
|
||||
label-warn = " %temperature%"
|
||||
ramp-0-foreground = ${colors.blue}
|
||||
ramp-1-foreground = ${colors.pink}
|
||||
ramp-2-foreground = ${colors.purple}
|
||||
ramp-3-foreground = ${colors.urgent}
|
||||
format-warn = <label-warn>
|
||||
label-warn = " %temperature%"
|
||||
label-warn-padding = 1
|
||||
label-warn-foreground = ${colors.urgent}
|
||||
|
||||
@ -273,19 +270,19 @@ label-warn-foreground = ${colors.urgent}
|
||||
[module/volume]
|
||||
type = internal/volume
|
||||
master-mixer = Master
|
||||
format-volume-padding = 1
|
||||
label-volume-foreground = ${colors.foreground}
|
||||
label-volume = %{A3:pavucontrol & disown:}%percentage%% %{A}
|
||||
label-volume = %{A3:pavucontrol & disown:}%percentage%% %{A}
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
format-volume-padding = 1
|
||||
label-muted = " muted "
|
||||
label-muted-foreground = #888
|
||||
label-muted = " muted "
|
||||
ramp-volume-0 =
|
||||
ramp-volume-0-foreground = ${colors.foreground}
|
||||
ramp-volume-1 =
|
||||
ramp-volume-1-foreground = ${colors.blue}
|
||||
ramp-volume-2 =
|
||||
ramp-volume-2-foreground = ${colors.orange}
|
||||
ramp-volume-3 =
|
||||
label-muted-foreground = #888
|
||||
ramp-volume-0-foreground = ${colors.foreground}
|
||||
ramp-volume-1-foreground = ${colors.blue}
|
||||
ramp-volume-2-foreground = ${colors.orange}
|
||||
ramp-volume-3-foreground = ${colors.urgent}
|
||||
|
||||
|
||||
@ -294,7 +291,6 @@ ramp-volume-3-foreground = ${colors.urgent}
|
||||
;;;;;;;;;;;;;
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
|
||||
; Use $ ls -1 /sys/class/power_supply/
|
||||
battery = BAT1
|
||||
adapter = AC
|
||||
@ -302,18 +298,18 @@ full-at = 98
|
||||
poll-interval = 5
|
||||
time-format = %H:%M
|
||||
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-0-foreground = ${colors.urgent}
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-1-foreground = #ffa900
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-foreground = ${colors.blue}
|
||||
ramp-capacity-0-foreground = ${colors.urgent}
|
||||
ramp-capacity-1-foreground = #ffa900
|
||||
ramp-capacity-foreground = ${colors.blue}
|
||||
|
||||
bar-capacity-width = 10
|
||||
animation-charging-0 = " "
|
||||
@ -328,49 +324,49 @@ animation-charging-framerate = 750
|
||||
;; MENU ;;
|
||||
;;;;;;;;;;
|
||||
[module/menu]
|
||||
type = custom/menu
|
||||
type = custom/menu
|
||||
format-spacing = 1
|
||||
label-open = " "
|
||||
label-close = " "
|
||||
label-close-foreground = ${colors.urgent}
|
||||
label-open = " "
|
||||
label-close = " "
|
||||
label-close-foreground = ${colors.urgent}
|
||||
label-separator = " | "
|
||||
# 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
|
||||
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 = menu-open-0
|
||||
menu-1-0 = " "
|
||||
menu-1-0-exec = menu-open-0
|
||||
menu-1-0-foreground = ${colors.urgent}
|
||||
menu-1-1 = " "
|
||||
menu-1-1-exec = exo-open --launch WebBrowser
|
||||
menu-1-2 = " "
|
||||
menu-1-2-exec = exo-open --launch TerminalEmulator
|
||||
menu-1-3 = " |"
|
||||
menu-1-3-exec = exo-open --launch FileManager
|
||||
menu-1-1 = " "
|
||||
menu-1-1-exec = exo-open --launch WebBrowser
|
||||
menu-1-2 = " "
|
||||
menu-1-2-exec = exo-open --launch TerminalEmulator
|
||||
menu-1-3 = " |"
|
||||
menu-1-3-exec = exo-open --launch FileManager
|
||||
# 2
|
||||
menu-2-0 = " "
|
||||
menu-2-0-exec = menu-open-0
|
||||
menu-2-0 = " "
|
||||
menu-2-0-exec = menu-open-0
|
||||
menu-2-0-foreground = ${colors.urgent}
|
||||
menu-2-1 = " "
|
||||
menu-2-1-exec = termite --exec=pacli &
|
||||
menu-2-2 = " "
|
||||
menu-2-2-exec = xfce4-settings-manager &
|
||||
menu-2-3 = " |"
|
||||
menu-2-3-exec = pavucontrol &
|
||||
menu-2-1 = " "
|
||||
menu-2-1-exec = termite --exec=pacli &
|
||||
menu-2-2 = " "
|
||||
menu-2-2-exec = xfce4-settings-manager &
|
||||
menu-2-3 = " |"
|
||||
menu-2-3-exec = pavucontrol &
|
||||
# 3
|
||||
menu-3-0 = " "
|
||||
menu-3-0-exec = menu-open-0
|
||||
menu-3-0 = " "
|
||||
menu-3-0-exec = menu-open-0
|
||||
menu-3-0-foreground = ${colors.urgent}
|
||||
menu-3-1 = " "
|
||||
menu-3-1-exec = i3lock-fancy -p -f Ubuntu &
|
||||
menu-3-2 = " "
|
||||
menu-3-2-exec = systemctl reboot
|
||||
menu-3-3 = " |"
|
||||
menu-3-3-exec = systemctl poweroff
|
||||
menu-3-1 = " "
|
||||
menu-3-1-exec = i3lock-fancy -p -f Ubuntu &
|
||||
menu-3-2 = " "
|
||||
menu-3-2-exec = systemctl reboot
|
||||
menu-3-3 = " |"
|
||||
menu-3-3-exec = systemctl poweroff
|
||||
|
||||
|
||||
|
||||
@ -386,61 +382,51 @@ menu-3-3-exec = systemctl poweroff
|
||||
;; KEYBOARD ;;
|
||||
;;;;;;;;;;;;;;;
|
||||
[module/keyboard]
|
||||
type = internal/xkeyboard
|
||||
; List of indicators to ignore
|
||||
blacklist-0 = num lock
|
||||
blacklist-1 = scroll lock
|
||||
format = <label-layout>
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
blacklist-1 = scroll lock
|
||||
format = <label-layout>
|
||||
format-padding = 1
|
||||
label-layout = %{A1:mintlocale & disown:} %{A3:mintlocale & disown:} %layout%%{A} %{A}
|
||||
label-layout = %{A1:mintlocale & disown:} %{A3:mintlocale & disown:} %layout%%{A} %{A}
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;
|
||||
;; ETHERNET ;;
|
||||
;;;;;;;;;;;;;;
|
||||
[module/wired-network]
|
||||
type = internal/network
|
||||
interface =
|
||||
format-connected = <label-connected>
|
||||
format-connected-foreground = ${colors.purple}
|
||||
type = internal/network
|
||||
interface =
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
label-connected = %local_ip%
|
||||
label-connected = %local_ip%
|
||||
format-connected-foreground = ${colors.purple}
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;
|
||||
;; REDSHIFT ;;
|
||||
;;;;;;;;;;;;;;
|
||||
[module/redshift]
|
||||
type = custom/script
|
||||
interval = 5
|
||||
exec = toggle-redshift
|
||||
label = %output%
|
||||
tail = true
|
||||
click-left = toggle-redshift --toggle
|
||||
type = custom/script
|
||||
interval = 5
|
||||
exec = toggle-redshift
|
||||
label = %output%
|
||||
tail = true
|
||||
click-left = toggle-redshift --toggle
|
||||
click-right = toggle-redshift --toggle
|
||||
|
||||
|
||||
;;;;;;;;;;;;
|
||||
;; GITHUB ;;
|
||||
;;;;;;;;;;;;
|
||||
[module/github]
|
||||
type = internal/github
|
||||
token = ${~/.config/polybar/github_access.token}
|
||||
empty-notifications = false
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
;; FILESYSTEM ;;
|
||||
;;;;;;;;;;;;;;;;
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
type = internal/fs
|
||||
format-mounted = <label-mounted>
|
||||
label-mounted = %mountpoint% : %percentage_free%%
|
||||
label-mounted = %mountpoint% : %percentage_free%%
|
||||
mount-0 = /
|
||||
interval = 1200
|
||||
fixed-values = false
|
||||
spacing = 2
|
||||
label-mounted-foreground = ${colors.yellow}
|
||||
mount-0 = /
|
||||
interval = 1200
|
||||
fixed-values = false
|
||||
spacing = 2
|
||||
|
||||
|
||||
;;;;;;;;;
|
||||
@ -448,36 +434,30 @@ spacing = 2
|
||||
;;;;;;;;;
|
||||
[module/mpd]
|
||||
type = internal/mpd
|
||||
format-online = <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
|
||||
format-offline = <label-offline>
|
||||
label-offline = mpd is off
|
||||
format-online = <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
|
||||
format-offline = <label-offline>
|
||||
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
|
||||
label-offline = mpd is off
|
||||
format-online-prefix = " "
|
||||
|
||||
icon-play =
|
||||
icon-pause =
|
||||
icon-stop =
|
||||
icon-prev =
|
||||
icon-next =
|
||||
icon-play =
|
||||
icon-pause =
|
||||
icon-stop =
|
||||
icon-prev =
|
||||
icon-next =
|
||||
icon-random =
|
||||
icon-repeat =
|
||||
|
||||
toggle-on-foreground =
|
||||
toggle-off-foreground = #55
|
||||
|
||||
bar-progress-width = 35
|
||||
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
|
||||
; bar-progress-indicator = |
|
||||
toggle-on-foreground =
|
||||
toggle-off-foreground = #55
|
||||
bar-progress-width = 35
|
||||
bar-progress-indicator = █
|
||||
bar-progress-indicator-foreground = #A85659
|
||||
bar-progress-indicator-font = 2
|
||||
; bar-progress-fill = ─
|
||||
bar-progress-fill = █
|
||||
bar-progress-fill-foreground = #bb
|
||||
bar-progress-fill-font = 2
|
||||
; bar-progress-empty = ─
|
||||
bar-progress-empty = ▒
|
||||
bar-progress-empty-font = 2
|
||||
bar-progress-fill = █
|
||||
bar-progress-empty = ▒
|
||||
bar-progress-empty-font = 2
|
||||
bar-progress-indicator-font = 2
|
||||
bar-progress-fill-font = 2
|
||||
bar-progress-fill-foreground = #bb
|
||||
bar-progress-empty-foreground = #44
|
||||
bar-progress-indicator-foreground = #A85659
|
||||
|
||||
|
||||
|
||||
@ -488,28 +468,26 @@ bar-progress-empty-foreground = #44
|
||||
type = internal/network
|
||||
interface =
|
||||
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
format-packetloss = <animation-packetloss>
|
||||
label-connected = " %local_ip% "
|
||||
|
||||
label-connected = " %local_ip% "
|
||||
ramp-signal-0 =
|
||||
ramp-signal-0-foreground = #F03051
|
||||
ramp-signal-1 =
|
||||
ramp-signal-1-foreground = #F07127
|
||||
ramp-signal-2 =
|
||||
ramp-signal-2-foreground = #F9CE56
|
||||
ramp-signal-3 =
|
||||
ramp-signal-3-foreground = ${colors.purple}
|
||||
ramp-signal-4 =
|
||||
ramp-signal-4-foreground = ${colors.purple}
|
||||
ramp-signal-5 =
|
||||
ramp-signal-0-foreground = #F03051
|
||||
ramp-signal-1-foreground = #F07127
|
||||
ramp-signal-2-foreground = #F9CE56
|
||||
ramp-signal-3-foreground = ${colors.purple}
|
||||
ramp-signal-4-foreground = ${colors.purple}
|
||||
ramp-signal-5-foreground = ${colors.purple}
|
||||
|
||||
animation-packetloss-0 = ⚠
|
||||
animation-packetloss-0-foreground = #ffa64c
|
||||
animation-packetloss-1 = 📶
|
||||
animation-packetloss-0-foreground = #ffa64c
|
||||
animation-packetloss-1-foreground = #000000
|
||||
animation-packetloss-framerate = 500
|
||||
animation-packetloss-framerate = 500
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
@ -517,15 +495,13 @@ animation-packetloss-framerate = 500
|
||||
;;;;;;;;;;;;;;;;
|
||||
[module/volume-bar]
|
||||
type = internal/volume
|
||||
|
||||
format-volume = <label-volume><bar-volume>
|
||||
label-volume = " "
|
||||
label-volume-foreground = #B6C2E7
|
||||
|
||||
format-muted-foreground = #E76BB4
|
||||
label-muted = " mute"
|
||||
bar-volume-font = 2
|
||||
bar-volume-font = 2
|
||||
bar-volume-width = 20
|
||||
format-volume = <label-volume><bar-volume>
|
||||
label-volume = " "
|
||||
label-muted = " mute"
|
||||
label-volume-foreground = #B6C2E7
|
||||
format-muted-foreground = #E76BB4
|
||||
bar-volume-foreground-0 = #92A3F7
|
||||
bar-volume-foreground-1 = #92A3F7
|
||||
bar-volume-foreground-2 = #6BB3E7
|
||||
@ -533,8 +509,8 @@ bar-volume-foreground-3 = #6BB3E7
|
||||
bar-volume-foreground-4 = #6BB3E7
|
||||
bar-volume-foreground-5 = #6BE7D8
|
||||
bar-volume-foreground-6 = #6BE7D8
|
||||
bar-volume-gradient = true
|
||||
bar-volume-indicator = |
|
||||
bar-volume-fill = •
|
||||
bar-volume-empty = ·
|
||||
bar-volume-gradient = true
|
||||
bar-volume-indicator = |
|
||||
bar-volume-fill = •
|
||||
bar-volume-empty = ·
|
||||
bar-volume-empty-foreground = #666666
|
||||
|
Reference in New Issue
Block a user