;──────────────────────────────────────────────────────────────────────────────; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;░░░░░░┌────────────────────────────────────────────────────────────────┐░░░░░░; ;░░░░░░│░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│░░░░░░; ;░░░░░░│░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│░░░░░░; ;░░░░░░│░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│░░░░░░; ;░░░░░░│░Customized░░for░░Ohmyi3░░(original░░by░░adi1090x)░░░░░░░░░░░░░░│░░░░░░; ;░░░░░░└────────────────────────────────────────────────────────────────┘░░░░░░; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;──────────────────────────────────────────────────────────────────────────────; ;──────────────────────────────────────────────────────────────────────────────; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;░Applications░Module░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;──────────────────────────────────────────────────────────────────────────────; ;; To find glyphs, install 'gucharmap', Find the Iosevka font ;; Filter View > By Unicode Block + Show only glyphs ;; Then search for 'Private Use Area' [module/term] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.blue-gray} content-background = ${color.bg} content-padding = 2 click-left = konsole & [module/web] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.deep-orange} content-background = ${color.bg} content-padding = 2 click-left = firefox & [module/web2] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.blue} content-background = ${color.bg} content-padding = 2 click-left = chromium & [module/files] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.cyan} content-background = ${color.bg} content-padding = 2 click-left = dolphin & [module/settings] type = custom/text ; content = "%{T3}%{T-}" content = "%{T3}%{T-}" content-foreground = ${color.fg-alt} content-padding = 2 click-left = systemsettings & [module/htop] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.orange} content-background = ${color.bg} content-padding = 2 click-left = konsole -e htop & [module/bashtop] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.orange} content-background = ${color.bg} content-padding = 2 click-left = konsole -e bashtop & [module/taskmanager] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.green} content-background = ${color.bg} content-padding = 2 click-left = ksysguard & [module/editor] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.blue} content-background = ${color.bg} content-padding = 2 click-left = code & [module/notepad] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.light-blue} content-background = ${color.bg} content-padding = 2 click-left = kate & [module/calc] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.amber} content-background = ${color.bg} content-padding = 1 click-left = kcalc & [module/colorpicker] type = custom/text content = "%{T3}%{T-}" ;content = "%{T3}%{T-}" content-foreground = ${color.light-green} content-background = ${color.bg} content-padding = 1 click-left = kcolorchooser & [module/spotify] type = custom/text content = "%{T3}%{T-}" content-foreground = ${color.green} content-background = ${color.bg} content-padding = 2 click-left = spotify & ;──────────────────────────────────────────────────────────────────────────────; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;░Rofi░Application░Launcher░Module░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;──────────────────────────────────────────────────────────────────────────────; ; [module/menu] ; type = custom/text ; content = "%{T3}%{T-}" ; content-foreground = ${color.green} ; content-background = ${color.bg} ; content-padding = 2 ; click-left = /home/mreschke/Code/mreschke/polybar/ac-i3/scripts/launcher.sh --{} ; click-right = /home/mreschke/Code/mreschke/polybar/ac-i3/scripts/launcher.sh --{} ;──────────────────────────────────────────────────────────────────────────────; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;░Battery░Module░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;──────────────────────────────────────────────────────────────────────────────; [module/battery] type = internal/battery ; $ ls -1 /sys/class/power_supply/ battery = BAT0 adapter = ACAD poll-interval = 2 time-format = %H:%M full-at = 99 ;----------------------------------------------------------------------- Full--; ; Available tags: ; (default) ; ; ;format-full = ; Available tokens: ; %percentage% (default) ; This is a CLICK hack, since internal modules do not support click-left or click-right ; See https://github.com/polybar/polybar/issues/273#issuecomment-389150884 ; See https://github.com/polybar/polybar/issues/1524 ;label-full = "%{A1:xfce4-power-manager-settings:}%{A}" label-full = "%{A1:xfce4-power-manager-settings:}%{A}" label-full-foreground = ${color.green} label-full-padding-left = 0 label-full-padding-right = 1 label-full-font = 3 ;--------------------------------------------------------------------Charging--; ; Available tags: ; (default) ; ; ; format-charging = ;format-charging = ; Available tokens: ; %percentage% (default) ; %time% ; %consumption% (shows current charge rate in watts) ;label-charging = %percentage%% label-charging = "%{A1:xfce4-power-manager-settings:}%percentage%%%{A}" label-charging-font = 4 label-charging-padding-left = 0 label-charging-padding-right = 1 ;label-charging-padding = 1 ; If using format-charing = animation-charging-0 = "%{A1:xfce4-power-manager-settings:}%{A}" animation-charging-0-foreground = ${color.red} animation-charging-1 = "%{A1:xfce4-power-manager-settings:}%{A}" animation-charging-1-foreground = ${color.deep-orange} animation-charging-2 = "%{A1:xfce4-power-manager-settings:}%{A}" animation-charging-2-foreground = ${color.orange} animation-charging-3 = "%{A1:xfce4-power-manager-settings:}%{A}" animation-charging-3-foreground = ${color.amber} animation-charging-4 = "%{A1:xfce4-power-manager-settings:}%{A}" animation-charging-4-foreground = ${color.yellow} animation-charging-5 = "%{A1:xfce4-power-manager-settings:}%{A}" animation-charging-5-foreground = ${color.lime} animation-charging-6 = "%{A1:xfce4-power-manager-settings:}%{A}" animation-charging-6-foreground = ${color.light-green} animation-charging-7 = "%{A1:xfce4-power-manager-settings:}%{A}" animation-charging-7-foreground = ${color.green} animation-charging-8 = "%{A1:xfce4-power-manager-settings:}%{A}" animation-charging-8-foreground = ${color.green} animation-charging-font = 3 animation-charging-framerate = 750 animation-charging-padding-right = 0 ;-----------------------------------------------------------------Discharging--; ; Available tags: ; (default) ; ; ; format-discharging = ; Available tokens: ; %percentage% (default) ; %time% ; %consumption% (shows current discharge rate in watts) ;label-discharging = " %percentage%%" label-discharging = "%{A1:xfce4-power-manager-settings:}%percentage%%%{A}" label-discharging-font = 4 label-discharging-padding-left = 0 label-discharging-padding-right = 1 ;---------------------------------------------------------------Battery-Level--; ramp-capacity-font = 4 ramp-capacity-padding = 0 ; 0 - 10% ramp-capacity-0 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-0-foreground = ${color.white} ramp-capacity-0-background = ${color.pink} ; 11 - 20% ramp-capacity-1 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-1-foreground = ${color.red} ;21 - 30% ramp-capacity-2 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-2-foreground = ${color.deep-orange} ; 31 - 40% ramp-capacity-3 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-3-foreground = ${color.orange} ; 41 - 50% ramp-capacity-4 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-4-foreground = ${color.amber} ; 51 - 60% ramp-capacity-5 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-5-foreground = ${color.yellow} ; 61 - 70% ramp-capacity-6 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-6-foreground = ${color.lime} ; 71 - 80% ramp-capacity-7 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-7-foreground = ${color.light-green} ; 81 - 90- ramp-capacity-8 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-8-foreground = ${color.green} ; 91 - full ramp-capacity-9 = "%{A1:xfce4-power-manager-settings:}%{A}" ramp-capacity-9-foreground = ${color.white} ;──────────────────────────────────────────────────────────────────────────────; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;░CPU░Module░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░; ;──────────────────────────────────────────────────────────────────────────────; [module/cpu] type = internal/cpu ; Seconds to sleep between updates ; Default: 1 interval = 5 ; Available tags: ;