Submodule leftwm/themes/current contains modified content diff --git a/leftwm/themes/current/down b/leftwm/themes/current/down index 81fcae4..8dce89e 100755 --- a/leftwm/themes/current/down +++ b/leftwm/themes/current/down @@ -14,4 +14,3 @@ pkill picom pkill polybar pkill dunst pkill lxsession - diff --git a/leftwm/themes/current/polybar/bars.ini b/leftwm/themes/current/polybar/bars.ini index 368f5e5..80d09d4 100644 --- a/leftwm/themes/current/polybar/bars.ini +++ b/leftwm/themes/current/polybar/bars.ini @@ -46,6 +46,7 @@ bar-volume-empty = ${bar.empty} bar-volume-empty-font = 2 bar-volume-empty-foreground = ${color.sep} ramp-headphones-0 = +click-right = pavucontrol [module/brightness] type = internal/backlight diff --git a/leftwm/themes/current/polybar/config.ini b/leftwm/themes/current/polybar/config.ini index 88747c3..e81ff69 100644 --- a/leftwm/themes/current/polybar/config.ini +++ b/leftwm/themes/current/polybar/config.ini @@ -18,7 +18,7 @@ monitor = ${env:monitor} monitor-fallback = monitor-strict = false override-redirect = false -bottom = false +bottom = true fixed-center = true width = 100% height = 34 @@ -39,8 +39,8 @@ font-0 = "Iosevka Nerd Font:size=10;4" font-1 = "Iosevka Nerd Font:size=10;3" font-2 = "feather:size=12;3" modules-left = workspaces sep cpu memory filesystem -modules-center = mpd sep date -modules-right = battery network sep volume brightness sep sysmenu sep +modules-center = +modules-right = battery network volume brightness sep date separator = dim-value = 1.0 wm-name = @@ -50,7 +50,7 @@ tray-detached = false enable-ipc = true click-left = click-middle = -click-right = +click-right = jgmenu_run scroll-up = scroll-down = double-click-left = diff --git a/leftwm/themes/current/polybar/modules.ini b/leftwm/themes/current/polybar/modules.ini index 0b2ff0e..0491e61 100644 --- a/leftwm/themes/current/polybar/modules.ini +++ b/leftwm/themes/current/polybar/modules.ini @@ -76,11 +76,11 @@ label = " %percentage%%" [module/date] type = internal/date -interval = 1.0 -date = %A, %d %B -time = at %I:%M %p +interval = 0.5 +date = %A, %d.%m.%Y +time = at %H:%M:%S date-alt = It's %A, %d %B %Y -time-alt = at %k:%M:%S +time-alt = at %H:%M:%S format = <label> format-prefix = " " format-prefix-foreground = ${color.red} diff --git a/leftwm/themes/current/polybar/polybar.sh b/leftwm/themes/current/polybar/polybar.sh new file mode 100755 index 0000000..033b764 --- /dev/null +++ b/leftwm/themes/current/polybar/polybar.sh @@ -0,0 +1,7 @@ +#!/bin/sh +#boot a polybar for each monitor +# cd ${SCRIPTPATH}/polybar +polybar -m | sed s/:.*// | tac | while read -r monitor +do + monitor=$monitor polybar -c config.ini main &> /dev/null & +done diff --git a/leftwm/themes/current/theme.toml b/leftwm/themes/current/theme.toml index 1e11d8f..297138a 100644 --- a/leftwm/themes/current/theme.toml +++ b/leftwm/themes/current/theme.toml @@ -1,5 +1,5 @@ border_width = 5 -margin = 20 +margin = 5 default_border_color = "#222222" floating_border_color = "#005500" focused_border_color = "#FFB53A" diff --git a/leftwm/themes/current/up b/leftwm/themes/current/up index 0f03bbb..6455180 100755 --- a/leftwm/themes/current/up +++ b/leftwm/themes/current/up @@ -23,16 +23,26 @@ leftwm-command "LoadTheme $SCRIPTPATH/theme.toml" #set background if [ -x "$(command -v feh)" ]; then - feh --bg-scale "${SCRIPTPATH}/background.jpg" + # feh --bg-scale "${SCRIPTPATH}/background.jpg" + feh --bg-fill ~/Bilder/background.jpg fi #make sure all fonts needed are installed ${SCRIPTPATH}/fonts/install_fonts # extra utils to make this theme a little more homey -if [ -x "$(command -v dunst)" ]; then - dunst & -fi +#if [ -x "$(command -v dunst)" ]; then +# dunst & +#fi + +/usr/lib/xfce4/notifyd/xfce4-notifyd & +nm-applet & +blueman-applet & +xfce4-power-manager & +# nextcloud & +/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & +start-pulseaudio-x11 & +jgmenu --at-pointer --hide-on-startup & #boot a polybar for each monitor cd ${SCRIPTPATH}/polybar