commit d06f0d08249f085b4e4b1c310b9c70d5a5e73bae Author: William J. Tolley Date: Tue Apr 20 10:37:33 2021 -0700 polybar diff --git a/config b/config new file mode 100644 index 0000000..20e2635 --- /dev/null +++ b/config @@ -0,0 +1,275 @@ +\;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] + +foreground = #fff +background = #ab0000000 +vpn = #82E0AA +white = #fff + +; _ +; | |__ __ _ _ __ ___ +; | '_ \ / _` | '__/ __| +; | |_) | (_| | | \__ \ +; |_.__/ \__,_|_| |___/ + +[bar/bar] +enable-ipc=true +height = 40 +width = 100% +;bottom = true +padding = 7 + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 2 + +font-0=SF Pro Display:style=Regular:size=20;4 +font-1=SF Pro Display:style=Semibold:size=20;4 +font-2=Material Icons:size=20;4 +font-3=font\-logos:size=20;5 +font-4=FontAwesome:style=Regular:size=20;4 +font-5=IPAGothic:size=20;4 +font-6=Wuncon Siji:style=Regular=2;4 + +modules-center = time +modules-right = wlan vpn-nordvpn-status pulseaudio backlight-acpi battery powermenu + +; i3 + modules-left = launcher i3 xwindow + scroll-up = i3wm-wsnext + scroll-down = i3wm-wsprev + ;wm-restack = i3 + override-redirect = false + + +; _ _ +; _ __ ___ ___ __| |_ _| | ___ ___ +; | '_ ` _ \ / _ \ / _` | | | | |/ _ \/ __| +; | | | | | | (_) | (_| | |_| | | __/\__ \ +; |_| |_| |_|\___/ \__,_|\__,_|_|\___||___/ + +[module/launcher] +type=custom/text +content =  +content-margin = 2 +click-left=launcher +;The script above is to be found here : https://github.com/ngynLk/scripts + +[module/i3] +type = internal/i3 +format = +format-margin = 4 +index-sort = true + +enable-click = true +reverse-scroll = false + +label-focused = %index% +label-focused-underline = ${colors.foreground} +label-focused-padding = 4 +label-focused-font = 2 + +label-unfocused = %index% +label-unfocused-padding = 4 + +label-urgent = ! +label-urgent-padding = 5 +label-urgent-underline = ${colors.background} +label-urgent-font = 2 + +;ws-icon-0 = 1; +;ws-icon-1 = 2; +;ws-icon-2 = 3; +;ws-icon-9 = 10; +;ws-icon-default =  + +[module/xwindow] +type = internal/xwindow +label = %title:0:75:...% +label-empty = Empty +label-empty-font = 2 +label-font = 2 +format-margin = 4 + +[module/wlan] +type = internal/network +interface = wlp0s20f3 +interval = 3.0 + +format-connected =  +label-connected = %essid% +label-connected-color1 = ${colors.color1} + +format-disconnected = +label-disconnected = %ifname% disconnected +label-disconnected-color1 = ${colors.color1} + +ramp-signal-0 =  +ramp-signal-1 =  +ramp-signal-2 =  +ramp-signal-3 =  +ramp-signal-4 =  +ramp-signal-color1 = ${colors.color1} +format-margin = 4 + +[module/vpn-nordvpn-status] +type = custom/script +exec = ~/polybar-scripts/vpn-nordvpn-status.sh +format = 