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