mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -05:00
Compare commits
8 commits
5f17112f69
...
4c1afa475b
Author | SHA1 | Date | |
---|---|---|---|
4c1afa475b | |||
38e2cfffc9 | |||
65a9403668 | |||
1cfcd459e6 | |||
638beed522 | |||
d428c31a6e | |||
37518579c9 | |||
a940d6e6e0 |
11 changed files with 52 additions and 40 deletions
|
@ -8,7 +8,7 @@ bspc monitor DisplayPort-1 -d 6 7 8 9 10
|
|||
bspc config border_width 2
|
||||
{{- if eq .chezmoi.hostname "helix" }}
|
||||
bspc config window_gap 10
|
||||
bspc config top_padding 70
|
||||
bspc config top_padding 72
|
||||
bspc config bottom_padding 0
|
||||
{{ else if eq .chezmoi.hostname "hydrus"}}
|
||||
bspc config window_gap 5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Settings]
|
||||
gtk-theme-name = Everforest-Dark-Borderless
|
||||
gtk-icon-theme-name = Everforest-Dark
|
||||
gtk-font-name = DejaVu Sans 11
|
||||
gtk-icon-theme-name = Papirus-Dark
|
||||
gtk-font-name = DejaVu Sans 10
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Settings]
|
||||
gtk-application-preferdark-theme = true
|
||||
gtk-theme-name = Everforest-Dark-Borderless
|
||||
gtk-icon-theme-name = Everforest-Dark
|
||||
gtk-font-name = "DejaVu Sans 11"
|
||||
gtk-icon-theme-name = Papirus-Dark
|
||||
gtk-font-name = "DejaVu Sans 10"
|
||||
|
|
|
@ -147,7 +147,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
|||
# Sets the radius of rounded window corners. When > 0, the compositor will
|
||||
# round the corners of windows. Does not interact well with
|
||||
# `transparent-clipping`.
|
||||
corner-radius = 0
|
||||
corner-radius = 10
|
||||
|
||||
# Exclude conditions for rounded corners.
|
||||
rounded-corners-exclude = [
|
||||
|
@ -162,25 +162,25 @@ rounded-corners-exclude = [
|
|||
|
||||
|
||||
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||
# blur-method =
|
||||
blur-method = "dual_kawase"
|
||||
# blur-size = 12
|
||||
#
|
||||
# blur-deviation = false
|
||||
#
|
||||
# blur-strength = 5
|
||||
blur-strength = 5
|
||||
|
||||
# Blur background of semi-transparent / ARGB windows.
|
||||
# Bad in performance, with driver-dependent behavior.
|
||||
# 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.
|
||||
# Implies:
|
||||
# blur-background
|
||||
# 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.
|
||||
|
@ -198,9 +198,10 @@ blur-kern = "3x3box";
|
|||
# Exclude conditions for background blur.
|
||||
# blur-background-exclude = []
|
||||
blur-background-exclude = [
|
||||
"window_type = 'dock'",
|
||||
#"window_type = 'dock'",
|
||||
"window_type = 'desktop'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"class_g = 'slop'"
|
||||
];
|
||||
|
||||
#################################
|
||||
|
@ -425,7 +426,7 @@ log-level = "warn";
|
|||
wintypes:
|
||||
{
|
||||
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; }
|
||||
popup_menu = { opacity = false; }
|
||||
dropdown_menu = { opacity = false; }
|
||||
|
|
|
@ -21,17 +21,16 @@ monitor-strict = false
|
|||
enable-ipc = true
|
||||
override-redirect = true
|
||||
fixed-center = true
|
||||
width = 100%
|
||||
offset-x = 0%
|
||||
offset-y = 0%
|
||||
width = 99.5%
|
||||
offset-x = 0.25%
|
||||
offset-y = 0.25%
|
||||
{{- if eq .chezmoi.hostname "helix" }}
|
||||
dpi-x = 216
|
||||
dpi-y = 216
|
||||
{{- end }}
|
||||
background = ${color.background}
|
||||
foreground = ${color.foreground}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
radius = 10.0
|
||||
line-size = 0
|
||||
line-color = ${color.background}
|
||||
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
|
||||
|
||||
modules-left = workspaces sep title
|
||||
modules-center = spotify
|
||||
modules-center =
|
||||
{{- if eq .chezmoi.hostname "helix"}}
|
||||
modules-right = keyboard sep pulseaudio-control sep battery0 sep date sep powermenu
|
||||
{{- else }}
|
||||
|
@ -85,24 +84,28 @@ cursor-scroll =
|
|||
|
||||
[bar/two]
|
||||
{{- if eq .chezmoi.hostname "hydrus"}}
|
||||
monitor = DisplayPort-1
|
||||
monitor = DisplayPort-0
|
||||
height = 32
|
||||
{{- else }}
|
||||
monitor = eDP-1
|
||||
height = 72
|
||||
{{- end}}
|
||||
bottom = true
|
||||
monitor-fallback =
|
||||
monitor-strict = false
|
||||
enable-ipc = true
|
||||
override-redirect = true
|
||||
bottom = true
|
||||
fixed-center = true
|
||||
width = 100%
|
||||
height = 32
|
||||
offset-x = 0%
|
||||
offset-y = 0%
|
||||
width = 99%
|
||||
offset-x = 0.5%
|
||||
offset-y = 0.5%
|
||||
{{- if eq .chezmoi.hostname "helix" }}
|
||||
dpi-x = 216
|
||||
dpi-y = 216
|
||||
{{- end }}
|
||||
background = ${color.background}
|
||||
foreground = ${color.foreground}
|
||||
radius-top = 0.0
|
||||
radius-bottom = 0.0
|
||||
radius = 10.0
|
||||
line-size = 0
|
||||
line-color = ${color.background}
|
||||
border-bottom-size = 0
|
||||
|
@ -149,3 +152,5 @@ cursor-scroll =
|
|||
|
||||
[settings]
|
||||
screenchange-reload = false
|
||||
pseudo-transparency = false
|
||||
|
||||
|
|
|
@ -428,16 +428,16 @@ interval = 1.0
|
|||
date = %a, %d %b
|
||||
|
||||
; Optional time format
|
||||
time = at %I:%M %p
|
||||
time = at %R
|
||||
|
||||
; if `date-alt` or `time-alt` is defined, clicking
|
||||
; the module will toggle between formats
|
||||
;date-alt = It's %A, %d %B %Y
|
||||
;time-alt = at %k:%M:%S
|
||||
date-alt = %m/%d
|
||||
time-alt = %R
|
||||
|
||||
; Available tags:
|
||||
; <label> (default)
|
||||
format = %{A1:gsimplecal:} <label> %{A}
|
||||
format = %{A3:gsimplecal:} <label> %{A}
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${color.red}
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
Net/ThemeName "Everforest-Dark-Borderless"
|
||||
Net/IconThemeName "Papirus-Dark"
|
||||
Gtk/FontName "DejaVu Sans 10"
|
||||
Xft/autohint 0
|
||||
Xft/lcdfilter "lcddefault"
|
||||
Xft/Hinting 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# GTK2 Settings
|
||||
gtk-theme-name="Everforest-Dark-Borderless"
|
||||
gtk-icon-theme-name="Everforest-Dark"
|
||||
gtk-font-name="DejaVu Sans 11"
|
||||
gtk-icon-theme-name="Papirus-Dark"
|
||||
gtk-font-name="DejaVu Sans 10"
|
||||
|
|
|
@ -7,7 +7,8 @@ killall -q polybar
|
|||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch Polybar, using default config location ~/.config/polybar/config
|
||||
polybar one -r --config=~/.config/polybar/config.ini &
|
||||
polybar two -r --config=~/.config/polybar/config.ini &
|
||||
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
|
||||
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..."
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# 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
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch Polybar, using default config location ~/.config/polybar/config
|
||||
polybar one -r --config=~/.config/polybar/config.ini &
|
||||
#polybar two -r --config=~/.config/polybar/config.ini &
|
||||
# Launch Polybar
|
||||
echo "---" | tee -a /tmp/polybar.log
|
||||
polybar one -r --config=~/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar.log & disown
|
||||
|
||||
echo "Polybar launched..."
|
||||
|
|
|
@ -7,7 +7,8 @@ killall -q tint2
|
|||
while pgrep -u $UID -x tint2 >/dev/null; do sleep 1; done
|
||||
|
||||
# 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
|
||||
sleep 1 &&
|
||||
|
|
Loading…
Reference in a new issue