diff --git a/home/dot_config/sway/config.tmpl b/home/dot_config/sway/config.tmpl index ae2b168..48354a1 100644 --- a/home/dot_config/sway/config.tmpl +++ b/home/dot_config/sway/config.tmpl @@ -326,6 +326,30 @@ bindsym $mod+Alt+l exec 'swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg' include /etc/sway/config.d/* # host specific section +{{- if eq .chezmoi.hostname "rhenium" }} +bar { + id bar_internal + status_command ~/.local/bin/conky-i3bar ~/.conkyrc-main + position top + output "eDP-1" + font pango:Liberation Mono 12 + colors { + background $black_super + focused_background $black + focused_workspace $black_super $yellow_super $black + active_workspace $black_super $blue_super $black + inactive_workspace $black_super $black_super $white_super + urgent_workspace $black $red_super $white + separator $white + } +} + +output eDP-1 { + scale 2 + position 0 0 + background ~/Pictures/background_1800.png center +} +{{- end }} {{- if eq .chezmoi.hostname "baryte" }} bar { id bar_right diff --git a/home/dot_local/bin/executable_conky-i3bar b/home/dot_local/bin/executable_conky-i3bar new file mode 100644 index 0000000..c79310e --- /dev/null +++ b/home/dot_local/bin/executable_conky-i3bar @@ -0,0 +1,9 @@ +#!/bin/sh + +echo '{"version":1}' + +echo '[' + +echo '[],' + +exec conky -c $1