From 04230ea1e07df64bc752a873da9c95123b52ff09 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Thu, 18 Jun 2020 19:34:38 +0200 Subject: [PATCH] Updated polybar & termite & i3 config --- vimrc => .vimrc | 0 i3/config | 8 +- polybar/config | 32 +- polybar/oldstuff/config | 295 +++ polybar/oldstuff/config_old | 486 +++++ polybar/oldstuff/launch.sh | 17 + polybar/oldstuff2/config | 1577 +++++++++++++++++ polybar/oldstuff2/launch.sh | 13 + .../oldstuff2/scripts/check-all-updates.sh | 20 + polybar/oldstuff2/scripts/pavolume.sh | 194 ++ termite/config | 5 +- 11 files changed, 2625 insertions(+), 22 deletions(-) rename vimrc => .vimrc (100%) create mode 100755 polybar/oldstuff/config create mode 100755 polybar/oldstuff/config_old create mode 100755 polybar/oldstuff/launch.sh create mode 100644 polybar/oldstuff2/config create mode 100755 polybar/oldstuff2/launch.sh create mode 100755 polybar/oldstuff2/scripts/check-all-updates.sh create mode 100755 polybar/oldstuff2/scripts/pavolume.sh diff --git a/vimrc b/.vimrc similarity index 100% rename from vimrc rename to .vimrc diff --git a/i3/config b/i3/config index d32955f..614c366 100644 --- a/i3/config +++ b/i3/config @@ -184,7 +184,7 @@ set $inactive-bg-color #121212 set $text-color #f3f4f5 set $inactive-text-color #676E7D set $urgent-bg-color #E53935 -set $indicator-color #84939c +set $indicator-color #474747 # window colors # border background text indicator @@ -194,9 +194,9 @@ client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-col client.urgent $urgent-bg-color $urgent-bg-color $text-color $indicator-color # Border -# new_window pixel 3 -# new_float pixel 3 -# hide_edge_borders both +new_window pixel 3 +new_float pixel 3 +hide_edge_borders both # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) diff --git a/polybar/config b/polybar/config index 484b436..37ec7be 100644 --- a/polybar/config +++ b/polybar/config @@ -1,8 +1,8 @@ [colors] -background = #52272727 +background = #c2171717 foreground = #eee -linecolor = #bf616a -bordercolor = #52252525 +linecolor = #c2bf616a +bordercolor = #ff252525 accent = #e60053 [settings] @@ -49,15 +49,15 @@ overline-size = 2 ;border-size = 5 ;border-color = 0 ;border-bottom-size = 0 -border-bottom-size = 4 +border-bottom-size = 2 border-bottom-color = ${colors.bordercolor} -padding-left = 0 +padding-left = 1 padding-right = 2 module-margin-left = 1 -module-margin-right = 2 +module-margin-right = 1 -font-0 = dina:pixelsize=10;1 +font-0 = Hack:pixelsize=9;1 font-1 = siji:pixelsize=20;1 font-2 = unifont:size=6;1 font-3 = FontAwesome:size=12;0 @@ -240,7 +240,7 @@ label-focused-background = #383838 label-focused-foreground = #fff label-focused-overline = ${root.bspwm-focused-overline} label-focused-underline = ${root.bspwm-focused-underline} -label-focused-padding = 2 +label-focused-padding = 1 label-focused-occupied = %{O-1}⏺%{O-1} label-focused-occupied-background = ${self.label-focused-background} @@ -251,25 +251,25 @@ label-focused-occupied-padding = ${self.label-focused-padding} ;label-occupied = %icon% label-occupied = %{O-1}⏺%{O-1} -label-occupied-padding = 2 +label-occupied-padding = 1 ;label-urgent = %icon% label-urgent = ! label-urgent-background = #bd2c40 -label-urgent-padding = 2 +label-urgent-padding = 1 ;label-empty = %icon% label-empty = x label-empty-foreground = #444 -label-empty-padding = 2 +label-empty-padding = 1 label-monocle =  -label-monocle-padding = 2 +label-monocle-padding = 1 label-monocle-background = #171717 label-monocle-foreground = ${colors.accent} label-floating =  -label-floating-padding = 2 +label-floating-padding = 1 label-floating-background = #171717 label-floating-foreground = ${colors.accent} @@ -303,7 +303,7 @@ strip-wsnumbers = true format = label-mode = %mode% -label-mode-padding = 2 +label-mode-padding = 1 label-mode-background = ${colors.accent} label-focused = %name% @@ -327,7 +327,7 @@ label-visible-padding = ${module/bspwm.label-empty-padding} type = internal/cpu interval = 2 label = %percentage%% -format-prefix = " cpu: " +format-prefix = " CPU: " format-prefix-foreground = #666 [module/memory] @@ -494,7 +494,7 @@ toggle-off-foreground = #777 [module/power-menu] type = custom/menu -label-open =  +label-open =  label-close =  label-separator = / label-separator-margin = 1 diff --git a/polybar/oldstuff/config b/polybar/oldstuff/config new file mode 100755 index 0000000..9d070cb --- /dev/null +++ b/polybar/oldstuff/config @@ -0,0 +1,295 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] + +;background = #fff +;foreground = #000 +foreground = ${xrdb:color7:#fff} +background = ${xrdb:color0:#000} + +; _ +; | |__ __ _ _ __ ___ +; | '_ \ / _` | '__/ __| +; | |_) | (_| | | \__ \ +; |_.__/ \__,_|_| |___/ + +[bar/bar] +monitor = ${env:MONITOR:} +enable-ipc=true +height = 20 +width = 100% +padding = 4 +;bottom = true +radius-bottom = 15 + +background = ${colors.background} +;background = ${colors.primary} +foreground = ${colors.foreground} +border-size = 10 +border-top-size = 0 +border-bottom-size = 0 +border-color = #0000 + +line-size = 2 + +font-0=SF Compact Display:style=Regular:size=11;3 +font-1=SF Compact Display:style=Semibold:size=11;3 +font-2=Material Icons:size=13;5 +font-3=font\-logos:size=10;3 +font-4=FontAwesome5Brands:size=11;2 +font-5=IPAGothic:size=11;4 + +modules-right = mpd pulseaudio time powermenu + +; i3 +; modules-left = launcher i3 xwindow +; scroll-up = i3wm-wsnext +; scroll-down = i3wm-wsprev +; wm-restack = i3 + +; bspwm +modules-left = launcher bspwm xwindow +scroll-up = bspwm-wsnext +scroll-down = bspwm-wsprev +wm-restack = bspwm + override-redirect = false + + +; _ _ +; _ __ ___ ___ __| |_ _| | ___ ___ +; | '_ ` _ \ / _ \ / _` | | | | |/ _ \/ __| +; | | | | | | (_) | (_| | |_| | | __/\__ \ +; |_| |_| |_|\___/ \__,_|\__,_|_|\___||___/ + +[module/launcher] +type=custom/text +content =  +content-margin = 4 +click-left=launcher +;The script above is to be found here : https://github.com/ngynLk/scripts + +[module/updates] +type=custom/script +exec = yay -Qu | wc -l +exec-if = [[ $(yay -Qu | wc -l) != 0 ]] +format = 