mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
remove redundant wallpaper switching stuff
This commit is contained in:
@@ -42,6 +42,9 @@ apply_kitty() {
|
||||
done
|
||||
|
||||
# Reload
|
||||
if ! pgrep -f kitty >/dev/null; then
|
||||
return
|
||||
fi
|
||||
kill -SIGUSR1 $(pidof kitty)
|
||||
}
|
||||
|
||||
@@ -71,13 +74,8 @@ apply_anyterm() {
|
||||
}
|
||||
|
||||
apply_term() {
|
||||
apply_kitty
|
||||
apply_anyterm
|
||||
}
|
||||
|
||||
apply_qt() {
|
||||
sh "$CONFIG_DIR/scripts/kvantum/materialQT.sh" # generate kvantum theme
|
||||
python "$CONFIG_DIR/scripts/kvantum/changeAdwColors.py" # apply config colors
|
||||
apply_anyterm &
|
||||
apply_kitty &
|
||||
}
|
||||
|
||||
# Check if terminal theming is enabled in config
|
||||
|
||||
@@ -9,6 +9,7 @@ settings_paths=(
|
||||
"${XDG_CONFIG_HOME:-$HOME/.config}/Code - Insiders/User/settings.json"
|
||||
"${XDG_CONFIG_HOME:-$HOME/.config}/Cursor/User/settings.json"
|
||||
"${XDG_CONFIG_HOME:-$HOME/.config}/Antigravity/User/settings.json"
|
||||
"${XDG_CONFIG_HOME:-$HOME/.config}/Windsurf/User/settings.json"
|
||||
|
||||
# Add more paths as needed for other forks
|
||||
)
|
||||
|
||||
@@ -307,8 +307,8 @@ switch() {
|
||||
source "$(eval echo $ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate"
|
||||
python3 "$SCRIPT_DIR/generate_colors_material.py" "${generate_colors_material_args[@]}" \
|
||||
> "$STATE_DIR"/user/generated/material_colors.scss
|
||||
"$SCRIPT_DIR"/applycolor.sh
|
||||
deactivate
|
||||
"$SCRIPT_DIR"/applycolor.sh
|
||||
|
||||
# Pass screen width, height, and wallpaper path to post_process
|
||||
max_width_desired="$(hyprctl monitors -j | jq '([.[].width] | min)' | xargs)"
|
||||
|
||||
@@ -34,11 +34,6 @@ Singleton {
|
||||
signal thumbnailGeneratedFile(filePath: string)
|
||||
|
||||
function load () {} // For forcing initialization
|
||||
|
||||
// Executions
|
||||
Process {
|
||||
id: applyProc
|
||||
}
|
||||
|
||||
function openFallbackPicker(darkMode = Appearance.m3colors.darkmode) {
|
||||
Quickshell.execDetached([Directories.wallpaperSwitchScriptPath, "--mode", darkMode ? "dark" : "light"]);
|
||||
|
||||
Reference in New Issue
Block a user