too lazy to come up with a helpful commit message :)

This commit is contained in:
2025-11-30 19:29:30 +01:00
parent 9f469589b4
commit 34a2f71c6d
8 changed files with 13 additions and 11 deletions

View File

@@ -6,5 +6,3 @@ include "config/envs.kdl"
include "config/rules.kdl" include "config/rules.kdl"
include "config/binds.kdl" include "config/binds.kdl"
include "config/misc.kdl" include "config/misc.kdl"
/************************Misc************************/

View File

@@ -2,6 +2,7 @@ recent-windows {
binds { binds {
Alt+Tab { next-window; } Alt+Tab { next-window; }
Alt+Shift+Tab { previous-window; } Alt+Shift+Tab { previous-window; }
// dead_circumflex: ^
Alt+dead_circumflex { next-window filter="app-id"; } Alt+dead_circumflex { next-window filter="app-id"; }
Alt+Shift+dead_circumflex { previous-window filter="app-id"; } Alt+Shift+dead_circumflex { previous-window filter="app-id"; }
} }

View File

@@ -19,4 +19,4 @@ environment {
// Others // Others
XCURSOR_SIZE "24" XCURSOR_SIZE "24"
ELECTRON_OZONE_PLATFORM_HINT "wayland" ELECTRON_OZONE_PLATFORM_HINT "wayland"
} }

View File

@@ -34,4 +34,4 @@ spawn-at-startup "hypridle"
spawn-at-startup "quickshell" spawn-at-startup "quickshell"
// According to (https://ghostty.org/docs/linux/systemd#starting-ghostty-at-login) // According to (https://ghostty.org/docs/linux/systemd#starting-ghostty-at-login)
spawn-sh-at-startup "systemctl start --user app-com.mitchellh.ghostty.service" spawn-sh-at-startup "systemctl start --user app-com.mitchellh.ghostty.service"

View File

@@ -19,4 +19,4 @@ output "DP-1" {
background-color "#1e1e2e" background-color "#1e1e2e"
backdrop-color "#1e1e2e" backdrop-color "#1e1e2e"
// transform "90" // transform "90"
} }

View File

@@ -83,4 +83,4 @@ recent-windows {
urgent-color "#f38ba8" urgent-color "#f38ba8"
corner-radius 14 corner-radius 14
} }
} }

View File

@@ -69,7 +69,6 @@ screen_height=$3
# So in order to let the most recently used wallpapers appear first: # So in order to let the most recently used wallpapers appear first:
touch "$image" touch "$image"
# Copy image to local wallpaper directory # Copy image to local wallpaper directory
ext=${image##*.} ext=${image##*.}
@@ -84,7 +83,7 @@ mkdir -p "$current_dir" || {
temp_img=$(mktemp --suffix=."$ext") || exit 1 temp_img=$(mktemp --suffix=."$ext") || exit 1
trap 'rm -f "$temp_img"' EXIT trap 'rm -f "$temp_img"' EXIT
magick convert "$image" -resize "${screen_width}x${screen_height}^" -gravity center -extent "${screen_width}x${screen_height}" "$temp_img" || { magick "$image" -resize "${screen_width}x${screen_height}^" -gravity center -extent "${screen_width}x${screen_height}" "$temp_img" || {
echo "Could not resize and crop image" echo "Could not resize and crop image"
exit 1 exit 1
} }
@@ -119,7 +118,7 @@ blurred_cache_image="$blur_cache_dir/${hash}.$ext"
else else
find "$blur_dir" -type f -name "blurred-*" ! -name "$(basename "$blurred_image")" -delete find "$blur_dir" -type f -name "blurred-*" ! -name "$(basename "$blurred_image")" -delete
if [ "$XDG_CURRENT_DESKTOP" = "niri" ]; then if [ "$XDG_CURRENT_DESKTOP" = "niri" ]; then
swww img -n backdrop "$blurred_image" --transition-type fade --transition-duration 2 > /dev/null 2> /dev/null swww img -n backdrop "$blurred_image" --transition-type fade --transition-duration 2 >/dev/null 2>/dev/null
fi fi
notify-send -a "change-wallpaper" "Blurred Wallpaper From Cache" "$blurred_image" -i "$blurred_image" notify-send -a "change-wallpaper" "Blurred Wallpaper From Cache" "$blurred_image" -i "$blurred_image"
exit 0 exit 0
@@ -155,7 +154,7 @@ blurred_cache_image="$blur_cache_dir/${hash}.$ext"
} }
if [ "$XDG_CURRENT_DESKTOP" = "niri" ]; then if [ "$XDG_CURRENT_DESKTOP" = "niri" ]; then
swww img -n backdrop "$blurred_image" --transition-type fade --transition-duration 2 > /dev/null 2> /dev/null swww img -n backdrop "$blurred_image" --transition-type fade --transition-duration 2 >/dev/null 2>/dev/null
fi fi
notify-send -a "change-wallpaper" "Blurred Wallpaper Generated" "$blurred_image" -i "$blurred_image" notify-send -a "change-wallpaper" "Blurred Wallpaper Generated" "$blurred_image" -i "$blurred_image"
@@ -164,7 +163,7 @@ blurred_cache_image="$blur_cache_dir/${hash}.$ext"
# Apply wallpaper # Apply wallpaper
if [ "$XDG_CURRENT_DESKTOP" = "Hyprland" ]; then if [ "$XDG_CURRENT_DESKTOP" = "Hyprland" ]; then
swww img -n background "$image_copied" --transition-type fade --transition-duration 2 > /dev/null 2> /dev/null swww img -n background "$image_copied" --transition-type fade --transition-duration 2 >/dev/null 2>/dev/null
notify-send -a "change-wallpaper" "Wallpaper Changed" "$image" -i "$image_copied" notify-send -a "change-wallpaper" "Wallpaper Changed" "$image" -i "$image_copied"

View File

@@ -11,5 +11,9 @@ command -v nvim >/dev/null 2>&1 && {
export VISUAL=nvim export VISUAL=nvim
} }
command -v f >/dev/null 2>&1 || {
alias f="exec fish"
}
[ -f "$HOME/.profile" ] && . "$HOME/.profile" [ -f "$HOME/.profile" ] && . "$HOME/.profile"
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc" [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"