Compare commits
No commits in common. "fd5b98ba257f0b15d39760fe0072a29748c6c565" and "e2c52d29f6834b42f35f762823a1c047fb63fd69" have entirely different histories.
fd5b98ba25
...
e2c52d29f6
7 changed files with 4 additions and 99 deletions
|
@ -22,13 +22,10 @@ set $ws10 "10"
|
|||
# Bind Workspaces to Screens
|
||||
workspace $ws1 output $monitor1
|
||||
workspace $ws2 output $monitor1
|
||||
|
||||
workspace $ws3 output $monitor2
|
||||
workspace $ws4 output $monitor2
|
||||
workspace $ws5 output $monitor2
|
||||
|
||||
workspace $ws5 output $monitor3
|
||||
workspace $ws6 output $monitor3
|
||||
workspace $ws7 output $monitor3
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace number $ws1
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
inherit = base/bar
|
||||
|
||||
modules-left = cpm space-invert sep-b
|
||||
modules-center = single-xworkspaces
|
||||
modules-center = xworkspaces
|
||||
modules-right = pulseaudio space sep-a space-invert dunst-snooze space-invert sep-b space time space sep-a date space-invert
|
||||
|
||||
tray-position = left
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
[bar/single]
|
||||
inherit = base/bar
|
||||
|
||||
modules-left = cpm space-invert sep-b
|
||||
modules-center = xworkspaces
|
||||
modules-right = pulseaudio space sep-a space-invert dunst-snooze space-invert sep-b space time space sep-a date space-invert
|
||||
|
||||
tray-position = left
|
||||
tray-detached = true
|
||||
tray-scale = 0.9
|
||||
|
||||
tray-offset-x = 130
|
||||
tray-offset-y = 3
|
|
@ -1,17 +0,0 @@
|
|||
[bar/workspaces]
|
||||
inherit = base/bar
|
||||
|
||||
modules-center = single-xworkspaces
|
||||
|
||||
bottom = true
|
||||
|
||||
width = 12%
|
||||
offset-x = ${style.double-gaps}
|
||||
offset-y = ${style.double-gaps}
|
||||
|
||||
border-size = ${style.border-thickness}
|
||||
border-bottom-size = ${style.border-thickness}
|
||||
border-color = ${colors.primary-accent}
|
||||
|
||||
override-redirect = true
|
||||
wm-restack = ${env:RESTACK:}
|
|
@ -1,48 +0,0 @@
|
|||
[module/single-xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
#Icons
|
||||
# Consoles
|
||||
# ﭮ Discord
|
||||
# Firefox
|
||||
# Music
|
||||
# Code
|
||||
# Steam
|
||||
# Files
|
||||
|
||||
icon-default = ""
|
||||
icon-0 = "1;"
|
||||
icon-1 = "2;"
|
||||
|
||||
icon-2 = "3;"
|
||||
icon-3 = "4;"
|
||||
icon-4 = "5;"
|
||||
|
||||
icon-5 = "6;ﭮ"
|
||||
icon-9 = "10;"
|
||||
|
||||
icon-6 = "7"
|
||||
icon-7 = "8"
|
||||
icon-8 = "9"
|
||||
|
||||
label-active = "%icon%"
|
||||
label-active-background = ${colors.primary-accent}
|
||||
label-active-foreground = ${colors.primary-background}
|
||||
label-active-underline = ${colors.primary-accent}
|
||||
label-active-padding = 0
|
||||
label-active-font = 2
|
||||
|
||||
label-occupied = %icon%
|
||||
label-occupied-padding = 1
|
||||
label-occupied-font = 2
|
||||
|
||||
label-urgent = %icon%
|
||||
label-urgent-foreground = ${colors.warn}
|
||||
label-urgent-padding = 1
|
||||
label-urgent-font = 2
|
||||
|
||||
label-empty = %icon%
|
||||
label-empty-padding = 1
|
||||
label-empty-font = 2
|
||||
|
||||
pin-workspaces = true
|
|
@ -2,17 +2,5 @@
|
|||
|
||||
killall -q polybar
|
||||
|
||||
restack_list=('' 'i3' '')
|
||||
|
||||
i=0
|
||||
while read bar; do
|
||||
if [[ $i -eq 0 ]]; then
|
||||
# Launch Main Bar
|
||||
MONITOR=$bar polybar main 2>&1 | tee -a /tmp/polybar_$bar.log & disown
|
||||
else
|
||||
# Launch Sub Bar
|
||||
MONITOR=$bar RESTACK=${restack_list[$i]} polybar workspaces 2>&1 | tee -a /tmp/polybar_$bar.log & disown
|
||||
fi
|
||||
|
||||
i=$((i + 1))
|
||||
done < <(polybar -M | cut -d ':' -f 1)
|
||||
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
|
||||
polybar main 2>&1 | tee -a /tmp/polybar1.log & disown
|
|
@ -54,8 +54,6 @@ dunst-snooze = $RICE_POLYBAR_PATH/scripts/dunst-snooze.sh \"$RICE_COLOR_SECONDAR
|
|||
echo "# $RICE_GENERATED_HEADER
|
||||
[style]
|
||||
gaps = $RICE_GAPS
|
||||
double-gaps = $(($RICE_GAPS * 2))
|
||||
border-thickness = $RICE_BORDER_THICKNESS
|
||||
border-radius = $RICE_BORDER_RADIUS
|
||||
|
||||
" > $RICE_POLYBAR_CONFIG_PATH/style.nogit.ini
|
||||
|
|
Loading…
Reference in a new issue