diff --git a/Laptop/polybar/config.ini b/Laptop/polybar/config.ini index f44cb23..2190c5c 100755 --- a/Laptop/polybar/config.ini +++ b/Laptop/polybar/config.ini @@ -45,7 +45,7 @@ font-0 = "FiraCode Nerd Font Propo:size=10;2" modules-left = xworkspaces modules-center = xwindow -modules-right = cpu memory pulseaudio xkeyboard wlan eth date calendar battery powermenu +modules-right = systray pulseaudio xkeyboard eth date calendar powermenu cursor-click = pointer cursor-scroll = ns-resize diff --git a/PC/bspwm/bspwmrc b/PC/bspwm/bspwmrc index d9b189c..dcfb0b2 100755 --- a/PC/bspwm/bspwmrc +++ b/PC/bspwm/bspwmrc @@ -1,14 +1,14 @@ #!/bin/sh +pgrep -x pipewire > /dev/null || pipewire & + export PRIMARY_DISPLAY="$(xrandr | awk '/ primary/{print $1}')" -pipewire & xhost +si:localuser:$USER & xmodmap ~/.Xmodmap & -bspc monitor DVI-D-0 -d I II III IV V -bspc monitor HDMI-0 -d VI VII VIII IX X - +bspc monitor HDMI-0 -d I II III +bspc monitor DP-0 -d IV V VI bspc config border_width 3 bspc config window_gap 3 @@ -23,18 +23,16 @@ bspc config pointer_action3 resize_corner bspc rule -a scratch sticky=on state=floating focus=on -bspc config split_ratio 0.52 - bspc config active_border_color "#E0A3B6" bspc config normal_border_color "#8393A1" bspc config focused_border_color "#93D4C5" -pgrep -x polybar > /dev/null || polybar & pgrep -x sxhkd > /dev/null || sxhkd & pgrep -x xidlehook > /dev/null || xidlehook --detect-sleep --not-when-fullscreen --not-when-audio --timer 300 'betterlockscreen -l' '' --timer 1200 'sudo zzz' '' & -pgrep -x xmousepaste > /dev/null || xmousepasteblock & +pgrep xmousepaste > /dev/null || xmousepasteblock & +pgrep -x polybar > /dev/null || exec ~/.config/polybar/launch.sh & xsetroot -cursor_name left_ptr picom & -feh --bg-fill ~/.bg/bg_5.png & +feh --bg-fill ~/.bg/bg_5_1.png & dunst & diff --git a/PC/polybar/config.ini b/PC/polybar/config.ini index c4a4beb..0c44cac 100644 --- a/PC/polybar/config.ini +++ b/PC/polybar/config.ini @@ -25,7 +25,10 @@ secondary = #E0A3B6 alert = #E7A063 disabled = #9DA991 -[bar/example] + +[bar/prime] +monitor = HDMI-0 + width = 100% height = 22pt @@ -45,7 +48,7 @@ font-0 = "FiraCode Nerd Font Propo:size=10;2" modules-left = xworkspaces modules-center = xwindow -modules-right = cpu memory pulseaudio xkeyboard eth date calendar powermenu +modules-right = systray pulseaudio xkeyboard eth date calendar powermenu cursor-click = pointer cursor-scroll = ns-resize @@ -67,6 +70,73 @@ wm-restack = bspwm ; For more information, see the documentation page for this module: ; https://polybar.readthedocs.io/en/stable/user/modules/tray.html +[bar/second] +monitor=DP-0 + +width = 100% +height = 22pt + +; dpi = 96 + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 2pt + +padding-left = 0 +padding-right = 1 + +module-margin = 1 + +font-0 = "FiraCode Nerd Font Propo:size=10;2" + +modules-left = cpu memory +modules-center = xwindow +modules-right = pulseaudio xkeyboard date calendar powermenu + +cursor-click = pointer +cursor-scroll = ns-resize + +enable-ipc = true + +; wm-restack = generic +wm-restack = bspwm + +[module/cpu] +type = internal/cpu + +; Seconds to sleep between updates +; Default: 1 +interval = 0.5 + +; Default: 80 +; New in version 3.6.0 +warn-percentage = 95 + +format =