diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini index fb2a41b..53f61ab 100644 --- a/.config/foot/foot.ini +++ b/.config/foot/foot.ini @@ -21,4 +21,4 @@ color=ffffff b35d78 blink=yes [colors] -alpha=1 +alpha=0.8 diff --git a/.config/hypr/bin/lock-parallel b/.config/hypr/bin/lock-parallel index b8a5123..4260a0b 100755 --- a/.config/hypr/bin/lock-parallel +++ b/.config/hypr/bin/lock-parallel @@ -9,7 +9,7 @@ touch /tmp/locked echo "Unlocked at $(date)" | systemd-cat pkill -USR1 hyprlock ) & -hyprlock +hyprlock || : rm /tmp/locked kill $(jobs -p) &>/dev/null pkill fprintd-verify &> /dev/null diff --git a/.config/hypr/conf.d/rules.conf b/.config/hypr/conf.d/rules.conf index e71f32f..56965bb 100644 --- a/.config/hypr/conf.d/rules.conf +++ b/.config/hypr/conf.d/rules.conf @@ -79,6 +79,8 @@ windowrule = dimaround,^(xfce-polkit)$ windowrule = center,1,^(xfce-polkit)$ # foot quick +windowrulev2 = opacity 1 1 0.92, class:^(foot)$ +windowrulev2 = opaque, class:^(foot)$ windowrulev2 = float, class:^(foot-quick)$ windowrulev2 = size 100% 40%, class:^(foot-quick)$ windowrulev2 = move 0% 60%, class:^(foot-quick)$ diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index b5c2de8..27b6774 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -3,7 +3,6 @@ $hypr = ~/.config/hypr source = $hypr/conf.d/env.conf source = $hypr/conf.d/exec.conf source = ~/.cache/wal/pywal-hypr.conf -source = $hypr/conf.d/rules.conf source = $hypr/conf.d/keymaps.conf source = $hypr/conf.d/monitor.conf @@ -192,4 +191,6 @@ debug { # animation = workspaces, 1, 5, wind # } +source = $hypr/conf.d/rules.conf + # vim: commentstring=#\ %s diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index 84d887e..c2582c3 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -32,7 +32,7 @@ input-field { outer_color = 0x44$active inner_color = 0x00$active - font_color = $active + font_color = $foreground fade_on_empty = false position = 0, -70 diff --git a/.config/wal/templates/foliate-pywal.json b/.config/wal/templates/foliate-pywal.json new file mode 100644 index 0000000..611340b --- /dev/null +++ b/.config/wal/templates/foliate-pywal.json @@ -0,0 +1,13 @@ +{{ + "label": "Pywal", + "light": {{ + "fg": "rgb(76, 79, 105)", + "bg": "rgb(239, 241, 245)", + "link": "rgb(220, 138, 120)" + }}, + "dark": {{ + "fg": "rgb({foreground.rgb})", + "bg": "rgb({background.rgb})", + "link": "rgb({color6.rgb})" + }} +}} diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 8750b2b..0c057ce 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -11,6 +11,7 @@ box-shadow: none; text-shadow: none; padding: 0px; + } window#waybar { diff --git a/bin/after-wal b/bin/after-wal index ec10436..50e934d 100755 --- a/bin/after-wal +++ b/bin/after-wal @@ -165,6 +165,9 @@ general() { if [ -d "$HOME/.config/qt5ct/colors/" ] || mkdir -p "$HOME/.config/qt5ct/colors/"; then /usr/bin/cp "$wal_template_dir/qt5ct.conf" "$HOME/.config/qt5ct/colors/pywal.conf" fi + if [ -d "$HOME/.config/com.github.johnfactotum.Foliate/themes/" ] || mkdir -p "$HOME/.config/com.github.johnfactotum.Foliate/themes/"; then + /usr/bin/cp "$wal_template_dir/foliate-pywal.json" "$HOME/.config/com.github.johnfactotum.Foliate/themes/foliate-pywal.json" + fi } diff --git a/bin/walset b/bin/walset index fa36751..612af7a 100755 --- a/bin/walset +++ b/bin/walset @@ -12,7 +12,10 @@ check wal || { arg="$HOME/.wallpapers" [ -n "$1" ] && arg="$1" + +# TODO: Fix this and monitor issue: https://github.com/eylles/pywal16/issues/48 wal \ + --backend colorthief \ -a 92 \ --cols16 darken \ --recursive \