From 64b3f5883e5523e5193ba1583790cc8cfafcfe6e Mon Sep 17 00:00:00 2001 From: Jokler Date: Tue, 14 May 2019 22:13:09 +0200 Subject: Add scripts, polybar and i3 config files --- .config/polybar/config | 333 ++++++++++++++++++++++++++++++++++++++++++++++ .config/polybar/launch.sh | 14 ++ 2 files changed, 347 insertions(+) create mode 100644 .config/polybar/config create mode 100755 .config/polybar/launch.sh (limited to '.config/polybar') diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 0000000..ae2f8b9 --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,333 @@ + +[colors] +background = #2220 +background-alt = #444 +foreground = #dfdfdf +foreground-alt = #555 +primary = #0fb5aa +secondary = #e60053 +alert = #bd2c40 + + +[bar/left] +monitor = ${env:MONITOR:DVI-D-0} +width = 100% +height = 20 +radius = 0.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = "WunconSiji:pixelsize=10;1" + +modules-left = date +modules-center = +modules-right = i3 + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = + + +[bar/center] +monitor = ${env:MONITOR:DVI-I-1} +width = 100% +height = 25 +radius = 0.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = "WunconSiji:pixelsize=10;1" + +modules-left = i3 +modules-center = xwindow +modules-right = filesystem pulseaudio memory cpu eth temperature date powermenu + +tray-position = right +tray-padding = 2 + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = + + +[bar/right] +monitor = ${env:MONITOR:HDMI-0} +width = 100% +height = 20 +radius = 0.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = "WunconSiji:pixelsize=10;1" + +modules-left = i3 +modules-center = mpd +modules-right = date + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = + + +[module/xwindow] +type = internal/xwindow +label = %title% +label-maxlen = 100 + + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false +reverse-scroll = false + +; Only show workspaces on the same output as the bar +pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %name% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %name% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %name% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = 2 + +; urgent = Workspace with urgency hint set +label-urgent = %name% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + + +[module/mpd] +type = internal/mpd +format-online = + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #f90000 +label = %percentage:2%% + + +[module/memory] +type = internal/memory +interval = 2 +format =