diff --git a/.config/dwm/autostart.sh b/.config/dwm/autostart.sh index 9d500ae..5ca7bec 100755 --- a/.config/dwm/autostart.sh +++ b/.config/dwm/autostart.sh @@ -1,6 +1,6 @@ #!/bin/sh -launch-dwmblocks & +$XDG_CONFIG_HOME/polybar/launch-dwm.sh & picom & nitrogen --restore & $HOME/.scripts/launch-conky_dwm.sh & diff --git a/.config/polybar/config b/.config/polybar/config index 41cac87..af683e6 100755 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -121,7 +121,113 @@ tray-background = ${colors.background} scroll-up = bspwm-desknext scroll-down = bspwm-deskprev +; ---------------------------------------------------------------------------------------- + +[bar/dwm] +;monitor = ${env:MONITOR} +;monitor-fallback = HDMI1 +width = 100% +height = 20 +;offset-x = 1% +;offset-y = 1% +radius = 0.0 +fixed-center = true +bottom = false +separator = + +;background = +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 2 +line-color = #f00 + +wm-restack = bspwm +override-redirect = true + +; Enable support for inter-process messaging +; See the Messaging wiki page for more details. +enable-ipc = true + +border-size = 0 +;border-left-size = 0 +;border-right-size = 25 +;border-top-size = 0 +;border-bottom-size = 25 +border-color = #00000000 + +;padding-left = +;padding-right = + +module-margin-left = 0 +module-margin-right = 0 + +;https://github.com/jaagr/polybar/wiki/Fonts +font-0 = "UbuntuMono Nerd Font:size=10;2" +font-1 = "UbuntuMono Nerd Font:size=16;3" +font-2 = "Sarasa Term J:bold:size=9;2" +font-3 = "Nimbus Sans:bold:size=9;2" +font-4 = "Iosevka Nerd Font:bold:size=9;2" +font-5 = "FontAwesome5Free:bold:style=solid:size=9;2" +font-6 = "Nimbus Sans:bold:size=16;2" +font-7 = "Iosevka Nerd Font:bold:style=solid:size=6;2" +font-8 = "Iosevka Nerd Font:bold:style=solid:size=8;2" +; ---------------------------------------------------------------------------------------- +modules-left = ewmh dividerS wirednetwork temp covPos covSem dividerS +modules-center = date +modules-right = dividerS disk player-mpris-tail player-mpris mpd volume battery dividerS prompt +; ---------------------------------------------------------------------------------------- + +tray-detached = false +tray-offset-x = 0 +tray-offset-y = 0 +tray-position = left +tray-padding = 2 +tray-maxsize = 13 +tray-scale = 1.0 +tray-background = ${colors.background} + +scroll-up = bspwm-desknext +scroll-down = bspwm-deskprev + # ----- Module ----- +[module/ewmh] +type = internal/xworkspaces + +enable-click = true +enable-scroll = true +reverse-scroll = true +pin-workspaces = true + +icon-default = "ﱣ" + +format-font = 8 +format = +format-background = #434758 +format-padding = 2 + +label-active = %icon% +;label-focused-background = #434758 +;label-focused-underline= +label-active-padding = 2 +label-active-foreground = ${colors.primary} + +label-occupied = %icon% +;label-occupied-underline = #00a8ff +label-occupied-padding = 2 +label-occupied-foreground = #ffffff +;label-occupied-background = #434758 + +label-urgent = %icon% +label-urgent-padding = 2 + +label-empty = "ﱤ" +;label-empty = %icon% +label-empty-foreground = #7f8fa6 +label-empty-padding = 2 +;label-empty-underline = #7f8fa6 +;label-empty-background = #434758 + [module/bspwm] type = internal/bspwm diff --git a/.config/tdm/default b/.config/tdm/default index 5ef608d..d689be3 120000 --- a/.config/tdm/default +++ b/.config/tdm/default @@ -1 +1 @@ -/home/ziro/.config/tdm/sessions/dwm \ No newline at end of file +/home/ziro/.config/tdm/sessions/bspwm \ No newline at end of file diff --git a/.local/bin/dwmbar/clock b/.local/bin/dwmbar/clock index 22def1b..138c726 100755 --- a/.local/bin/dwmbar/clock +++ b/.local/bin/dwmbar/clock @@ -1,2 +1,2 @@ #!/bin/sh -printf "%s\n" "$(date +" %a, %d %b %Y • %H:%M %Z")" +printf " %s\n" "$(date +" %a, %d %b %Y • %H:%M %Z")"