From 789fb7f2740ccb929d96af7019bf3a3b005211a9 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 14 Jul 2020 20:34:30 +0200 Subject: [PATCH] Updated clonky --- conky/conky.conf | 8 +- polybar/config.old | 563 +++++++++++++++++++++++++++++++++++++++++++++ termite/config.old | 36 --- 3 files changed, 567 insertions(+), 40 deletions(-) create mode 100644 polybar/config.old delete mode 100644 termite/config.old diff --git a/conky/conky.conf b/conky/conky.conf index 8eb97f7..db5b58c 100644 --- a/conky/conky.conf +++ b/conky/conky.conf @@ -15,9 +15,9 @@ conky.config = { font = 'Overpass Mono:size=14', gap_x = 40, gap_y = 20, - minimum_height = 400, - minimum_width = 5, - maximum_width = 400, + minimum_height = 5, + minimum_width = 260, + maximum_width = 260, net_avg_samples = 2, no_buffers = true, out_to_console = false, @@ -46,7 +46,7 @@ ${color #a4abb3}LAN:$color ${addr enp0s31f6} ${color #a4abb3}CPU:$color $cpu% ${cpubar 4} -${color #a4abb3}RAM:$color $mem/$memmax - $memperc% +${color #a4abb3}RAM:$color $mem/$memmax ${membar 4} ${color #a4abb3}Swap:$color $swap/$swapmax - $swapperc% ${swapbar 4} ${color #a4abb3}Frequency:$color $freq_g GHz ${color #a4abb3}Processes:$color $processes ${color #a4abb3}Running:$color $running_processes diff --git a/polybar/config.old b/polybar/config.old new file mode 100644 index 0000000..20cd6e3 --- /dev/null +++ b/polybar/config.old @@ -0,0 +1,563 @@ +[colors] +background = #c2171717 +foreground = #eee +linecolor = #c2bf616a +bordercolor = #ff252525 +accent = #c2bf616a + +[settings] +screenchange-reload = true +;throttle-output-for = 10 +;throttle-output = 5 +;throttle-input-for = 40 + +;compositing-background = over +;compositing-background = screen +;compositing-foreground = xor +;compositing-foreground = source +;compositing-border = over + +[global/wm] +margin-top = 0 +margin-bottom = 0 + +[bar/top] +enable-ipc = true +monitor = ${env:MONITOR} +width = 100% +height = 22 +;radius = 5.0 +;fixed-center = false +;override-redirect = true + +background = ${colors.background} +foreground = ${colors.foreground} + +;background-0 = #333 +;background-1 = #222 +;background-2 = ${self.background-1} +;background-3 = ${self.background-1} +;background-4 = ${self.background-1} +;background-5 = ${self.background-1} +;background-6 = ${self.background-1} +;background-7 = #111 + +;line-color = ${colors.linecolor} +;underline-size = 1 +;overline-size = 2 + +;border-size = 5 +;border-color = 0 +;border-bottom-size = 0 +;border-bottom-size = 2 +;border-bottom-color = ${colors.bordercolor} + +padding-left = 1 +padding-right = 2 +module-margin-left = 1 +module-margin-right = 1 + +font-0 = Ubuntu Mono:pixelsize=10;1 +font-1 = siji:pixelsize=20;1 +font-2 = FontAwesome:size=12;0 + +modules-left = xwindow +;modules-center = mpd +modules-center = i3 +modules-right = pavolume date + +tray-position = right +tray-padding = 4 +tray-maxsize = 18 +;tray-transparent = true +;tray-detached = true +;tray-offset-x = 50 + +wm-restack = bspwm + +;dim-value = 0.2 + +;click-left = +;click-middle = +;click-right = +scroll-up = bspwm-deskprev +scroll-down = bspwm-desknext +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev +;double-click-left = notify-send -u low doubleclick +;double-click-right = notify-send -u low doubleclick2 + +# bar/module specific vars +bspwm-focused-overline = ${colors.linecolor} +bspwm-focused-underline = #cc333333 + +[bar/bottom] +inherit = bar/top + +enable-ipc = true +monitor = ${env:MONITOR:HDMI1} +;monitor-fallback = eDP-1 +bottom = true +;override-redirect = true + +underline-size = ${bar/top.overline-size} +overline-size = ${bar/top.underline-size} + +;border-top-size = 2 +;border-top-color = ${colors.bordercolor} +;border-bottom-size = 0 + +modules-left = bspwm i3 +;modules-left = +;modules-left = xwindow +;modules-center = xwindow +modules-center = +modules-right = github fs-root date power-menu + +wm-restack = ${bar/top.wm-restack} + +tray-position = none + +# bar/module specific vars +bspwm-focused-overline = #cc333333 +bspwm-focused-underline = ${colors.linecolor} + +################################################################################# +# MODULES # +################################################################################# +[module/pavolume] +type = custom/script +tail = true +label = %{F#666}%{F-} %output% +exec = ~/.config/polybar/scripts/pavolume.sh --listen +click-right = exec pavucontrol +click-left = ~/.config/polybar/scripts/pavolume.sh --togmute +scroll-up = ~/.config/polybar/scripts/pavolume.sh --up +scroll-down = ~/.config/polybar/scripts/pavolume.sh --down + +[module/temperature] +type = internal/temperature + +; Seconds to sleep between updates +; Default: 1 +interval = 0.5 + +; Thermal zone to use +; To list all the zone types, run +; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done +; Default: 0 +thermal-zone = 0 + +; Full path of temperature sysfs path +; Use `sensors` to find preferred temperature source, then run +; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done +; to find path to desired file +; Default reverts to thermal zone setting +hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input + +; Base temperature for where to start the ramp (in degrees celsius) +; Default: 0 +base-temperature = 20 + +; Threshold temperature to display warning label (in degrees celsius) +; Default: 80 +warn-temperature = 60 +; Whether or not to show units next to the temperature tokens (°C, °F) +; Default: true +units = false + +; Available tags: +;