Compare commits

...

8 commits

11 changed files with 52 additions and 40 deletions

View file

@ -8,7 +8,7 @@ bspc monitor DisplayPort-1 -d 6 7 8 9 10
bspc config border_width 2 bspc config border_width 2
{{- if eq .chezmoi.hostname "helix" }} {{- if eq .chezmoi.hostname "helix" }}
bspc config window_gap 10 bspc config window_gap 10
bspc config top_padding 70 bspc config top_padding 72
bspc config bottom_padding 0 bspc config bottom_padding 0
{{ else if eq .chezmoi.hostname "hydrus"}} {{ else if eq .chezmoi.hostname "hydrus"}}
bspc config window_gap 5 bspc config window_gap 5

View file

@ -1,4 +1,4 @@
[Settings] [Settings]
gtk-theme-name = Everforest-Dark-Borderless gtk-theme-name = Everforest-Dark-Borderless
gtk-icon-theme-name = Everforest-Dark gtk-icon-theme-name = Papirus-Dark
gtk-font-name = DejaVu Sans 11 gtk-font-name = DejaVu Sans 10

View file

@ -1,5 +1,5 @@
[Settings] [Settings]
gtk-application-preferdark-theme = true gtk-application-preferdark-theme = true
gtk-theme-name = Everforest-Dark-Borderless gtk-theme-name = Everforest-Dark-Borderless
gtk-icon-theme-name = Everforest-Dark gtk-icon-theme-name = Papirus-Dark
gtk-font-name = "DejaVu Sans 11" gtk-font-name = "DejaVu Sans 10"

View file

@ -147,7 +147,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Sets the radius of rounded window corners. When > 0, the compositor will # Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with # round the corners of windows. Does not interact well with
# `transparent-clipping`. # `transparent-clipping`.
corner-radius = 0 corner-radius = 10
# Exclude conditions for rounded corners. # Exclude conditions for rounded corners.
rounded-corners-exclude = [ rounded-corners-exclude = [
@ -162,25 +162,25 @@ rounded-corners-exclude = [
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
# blur-method = blur-method = "dual_kawase"
# blur-size = 12 # blur-size = 12
# #
# blur-deviation = false # blur-deviation = false
# #
# blur-strength = 5 blur-strength = 5
# Blur background of semi-transparent / ARGB windows. # Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior. # Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications. # The name of the switch may change without prior notifications.
# #
# blur-background = false blur-background = true
# Blur background of windows when the window frame is not opaque. # Blur background of windows when the window frame is not opaque.
# Implies: # Implies:
# blur-background # blur-background
# Bad in performance, with driver-dependent behavior. The name may change. # Bad in performance, with driver-dependent behavior. The name may change.
# #
# blur-background-frame = false blur-background-frame = true
# Use fixed blur strength rather than adjusting according to window opacity. # Use fixed blur strength rather than adjusting according to window opacity.
@ -198,9 +198,10 @@ blur-kern = "3x3box";
# Exclude conditions for background blur. # Exclude conditions for background blur.
# blur-background-exclude = [] # blur-background-exclude = []
blur-background-exclude = [ blur-background-exclude = [
"window_type = 'dock'", #"window_type = 'dock'",
"window_type = 'desktop'", "window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c",
"class_g = 'slop'"
]; ];
################################# #################################
@ -425,7 +426,7 @@ log-level = "warn";
wintypes: wintypes:
{ {
tooltip = { fade = true; shadow = true; opacity = false; focus = true; full-shadow = false; }; tooltip = { fade = true; shadow = true; opacity = false; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; } dock = { shadow = false; clip-shadow-above = true; opacity = 0.9; }
dnd = { shadow = false; } dnd = { shadow = false; }
popup_menu = { opacity = false; } popup_menu = { opacity = false; }
dropdown_menu = { opacity = false; } dropdown_menu = { opacity = false; }

View file

@ -21,17 +21,16 @@ monitor-strict = false
enable-ipc = true enable-ipc = true
override-redirect = true override-redirect = true
fixed-center = true fixed-center = true
width = 100% width = 99.5%
offset-x = 0% offset-x = 0.25%
offset-y = 0% offset-y = 0.25%
{{- if eq .chezmoi.hostname "helix" }} {{- if eq .chezmoi.hostname "helix" }}
dpi-x = 216 dpi-x = 216
dpi-y = 216 dpi-y = 216
{{- end }} {{- end }}
background = ${color.background} background = ${color.background}
foreground = ${color.foreground} foreground = ${color.foreground}
radius-top = 0.0 radius = 10.0
radius-bottom = 0.0
line-size = 0 line-size = 0
line-color = ${color.background} line-color = ${color.background}
border-bottom-size = 0 border-bottom-size = 0
@ -49,7 +48,7 @@ font-2 = Font Awesome 6 Free:style=Regular:size=12;3
font-3 = Font Awesome 6 Brands:style=Regular:size=12;3 font-3 = Font Awesome 6 Brands:style=Regular:size=12;3
modules-left = workspaces sep title modules-left = workspaces sep title
modules-center = spotify modules-center =
{{- if eq .chezmoi.hostname "helix"}} {{- if eq .chezmoi.hostname "helix"}}
modules-right = keyboard sep pulseaudio-control sep battery0 sep date sep powermenu modules-right = keyboard sep pulseaudio-control sep battery0 sep date sep powermenu
{{- else }} {{- else }}
@ -85,24 +84,28 @@ cursor-scroll =
[bar/two] [bar/two]
{{- if eq .chezmoi.hostname "hydrus"}} {{- if eq .chezmoi.hostname "hydrus"}}
monitor = DisplayPort-1 monitor = DisplayPort-0
height = 32
{{- else }} {{- else }}
monitor = eDP-1 monitor = eDP-1
height = 72
{{- end}} {{- end}}
bottom = true
monitor-fallback = monitor-fallback =
monitor-strict = false monitor-strict = false
enable-ipc = true enable-ipc = true
override-redirect = true override-redirect = true
bottom = true
fixed-center = true fixed-center = true
width = 100% width = 99%
height = 32 offset-x = 0.5%
offset-x = 0% offset-y = 0.5%
offset-y = 0% {{- if eq .chezmoi.hostname "helix" }}
dpi-x = 216
dpi-y = 216
{{- end }}
background = ${color.background} background = ${color.background}
foreground = ${color.foreground} foreground = ${color.foreground}
radius-top = 0.0 radius = 10.0
radius-bottom = 0.0
line-size = 0 line-size = 0
line-color = ${color.background} line-color = ${color.background}
border-bottom-size = 0 border-bottom-size = 0
@ -149,3 +152,5 @@ cursor-scroll =
[settings] [settings]
screenchange-reload = false screenchange-reload = false
pseudo-transparency = false

View file

@ -428,16 +428,16 @@ interval = 1.0
date = %a, %d %b date = %a, %d %b
; Optional time format ; Optional time format
time = at %I:%M %p time = at %R
; if `date-alt` or `time-alt` is defined, clicking ; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats ; the module will toggle between formats
;date-alt = It's %A, %d %B %Y date-alt = %m/%d
;time-alt = at %k:%M:%S time-alt = %R
; Available tags: ; Available tags:
; <label> (default) ; <label> (default)
format = %{A1:gsimplecal:} <label> %{A} format = %{A3:gsimplecal:} <label> %{A}
format-prefix = " " format-prefix = " "
format-prefix-foreground = ${color.red} format-prefix-foreground = ${color.red}

View file

@ -1,3 +1,6 @@
Net/ThemeName "Everforest-Dark-Borderless"
Net/IconThemeName "Papirus-Dark"
Gtk/FontName "DejaVu Sans 10"
Xft/autohint 0 Xft/autohint 0
Xft/lcdfilter "lcddefault" Xft/lcdfilter "lcddefault"
Xft/Hinting 1 Xft/Hinting 1

View file

@ -1,4 +1,4 @@
# GTK2 Settings # GTK2 Settings
gtk-theme-name="Everforest-Dark-Borderless" gtk-theme-name="Everforest-Dark-Borderless"
gtk-icon-theme-name="Everforest-Dark" gtk-icon-theme-name="Papirus-Dark"
gtk-font-name="DejaVu Sans 11" gtk-font-name="DejaVu Sans 10"

View file

@ -7,7 +7,8 @@ killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch Polybar, using default config location ~/.config/polybar/config # Launch Polybar, using default config location ~/.config/polybar/config
polybar one -r --config=~/.config/polybar/config.ini & echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
polybar two -r --config=~/.config/polybar/config.ini & polybar one -r --config=~/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar1.log & disown
polybar two -r --config=~/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar2.log & disown
echo "Polybar launched..." echo "Polybar launched..."

View file

@ -1,13 +1,14 @@
#!/bin/bash #!/bin/bash
# Terminate already running bar instances # Terminate already running bar instances
killall -q polybar #killall -q polybar # needed if ipc disabled
polybar-msg cmd quit
# Wait until the processes have been shut down # Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch Polybar, using default config location ~/.config/polybar/config # Launch Polybar
polybar one -r --config=~/.config/polybar/config.ini & echo "---" | tee -a /tmp/polybar.log
#polybar two -r --config=~/.config/polybar/config.ini & polybar one -r --config=~/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar.log & disown
echo "Polybar launched..." echo "Polybar launched..."

View file

@ -7,7 +7,8 @@ killall -q tint2
while pgrep -u $UID -x tint2 >/dev/null; do sleep 1; done while pgrep -u $UID -x tint2 >/dev/null; do sleep 1; done
# Launch tint2 # Launch tint2
tint2 & disown echo "---" | tee -a /tmp/tint2.log
tint2 2>&1 | tee -a /tmp/tint2.log & disown
# Final command won't work without sleep # Final command won't work without sleep
sleep 1 && sleep 1 &&