From 24d0ca9c906fc4bb1c5885722a26b97773868da5 Mon Sep 17 00:00:00 2001 From: samedamci Date: Sun, 8 Mar 2020 11:37:23 +0100 Subject: [PATCH] Add second config of polybar for pc --- .../.config/polybar/{config => config.laptop} | 0 botfiles/.config/polybar/config.pc | 363 ++++++++++++++++++ installer/dotman | 10 +- 3 files changed, 372 insertions(+), 1 deletion(-) rename botfiles/.config/polybar/{config => config.laptop} (100%) create mode 100644 botfiles/.config/polybar/config.pc diff --git a/botfiles/.config/polybar/config b/botfiles/.config/polybar/config.laptop similarity index 100% rename from botfiles/.config/polybar/config rename to botfiles/.config/polybar/config.laptop diff --git a/botfiles/.config/polybar/config.pc b/botfiles/.config/polybar/config.pc new file mode 100644 index 0000000..5132e4e --- /dev/null +++ b/botfiles/.config/polybar/config.pc @@ -0,0 +1,363 @@ +; _ _ +; _ __ ___ | | _ _ | |__ __ _ _ __ +; | '_ \ / _ \ | || | | || '_ \ / _` || '__| +; | |_) || (_) || || |_| || |_) || (_| || | +; | .__/ \___/ |_| \__, ||_.__/ \__,_||_| +; |_| |___/ + +;~~~~~~~~ +; colors +;~~~~~~~~ +[colors] +bg= ${xrdb:background} +fg = ${xrdb:foreground} +border = ${xrdb:border_unfocused} + +;~~~~~ +; bar +;~~~~~ +[bar/polybarexe] +width = 100% +height = 24 +fixed-center = true + +font-0 = "DejaVu Sans Mono:pixelsize=10:antialias=true;3" +font-1 = "Font Awesome 5 Brands:pixelsize=13:antialias=true;3" +font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=12:antialias=true;3" + +background = ${colors.bg} +foreground = ${colors.fg} + +line-size = 3 +line-color = ${colors.fg} + +border-size = 0 +border-top-size = 0 +border-bottom-size = 1 +border-color = ${colors.border} + +padding-left = 0 +padding-right = 1 + +module-margin-left = 0 +module-margin-right = 0 + +modules-left = bspwm +modules-center = mpd +modules-right = alsa sym2 fsroot sym5 fshome sym2 coreuse temperature memory sym2 clock sym2 updater sym2 powermenu + +cursor-click = pointer +cursor-scroll = ns-resize + +;~~~~~~~~~~~~ +; workspaces +;~~~~~~~~~~~~ +[module/bspwm] +type = internal/bspwm +pin-workspaces = true +inline-mode = false +enable-click = true +enable-scroll = false +reverse-scroll = false +fuzzy-match = true + +ws-icon-0 = "1;" +ws-icon-1 = "2;" +ws-icon-2 = "3;" +ws-icon-3 = "4;" +ws-icon-4 = "5;" +ws-icon-5 = "6;" +ws-icon-6 = "7;" +ws-icon-7 = "8;" + +format = +label-monitor = %name% +label-focused = %index% %icon% +label-focused-background = ${colors.border} +label-focused-overline = ${colors.fg} +label-occupied = %index% %icon% +label-occupied-padding = 1 +label-focused-padding = 1 +label-unfocused-padding = 0 +label-visible-padding = 0 +label-urgent = %index% %icon% +label-urgent-padding = 1 +label-empty = + +;~~~~~ +; MPD +;~~~~~ +[module/mpd] +type = internal/mpd + +host = localhost +port = 6600 + +interval = 2 + +format-online = + +label-song = %{F#dfdfdf}%{F-} %artist% - %title% +label-offline = %{F#dfdfdf}%{F-} mpd is offline + +icon-play =  +icon-pause =  +icon-stop =  +icon-prev =  +icon-next =  +icon-seekb =  +icon-seekf =  +icon-random =  +icon-repeat =  + +toggle-on-foreground = #ff +toggle-off-foreground = #55 + +;~~~~~~ +; WiFI +;~~~~~~ +[module/wireless-network] +type = internal/network +interface = wlp8s0 + +format-connected = +format-packetloss = +label-connected = %{A1:st -e nmtui:}%local_ip%  %downspeed%  %upspeed%%{A} +label-disconnected = %{A1:st -e nmtui:}%{A3:st -e nmtui:}%{F#66} disconnected%{A}%{A} + +ramp-signal-0 =  +ramp-signal-1 =  +ramp-signal-2 =  +ramp-signal-3 =  +ramp-signal-4 =  +ramp-signal-5 =  +animation-packetloss-0 =  +animation-packetloss-1 =  +animation-packetloss-0-foreground = #fff +animation-packetloss-1-foreground = #000000 +animation-packetloss-framerate = 500 + +;~~~~~~~ +; clock +;~~~~~~~ +[module/clock] +type = internal/date +format =