Compare commits
No commits in common. "26472739be9a686fe5d5932d8340aa9e99da5ee8" and "c80814f162054c5489828c9caa9d115e90771688" have entirely different histories.
26472739be
...
c80814f162
4 changed files with 23 additions and 18 deletions
|
@ -1,8 +1,8 @@
|
||||||
misc {
|
misc {
|
||||||
disable_hyprland_logo = true
|
|
||||||
vfr = true
|
vfr = true
|
||||||
vrr = 2
|
vrr = 2
|
||||||
disable_autoreload = true
|
disable_autoreload = true
|
||||||
mouse_move_enables_dpms = true
|
mouse_move_enables_dpms = true
|
||||||
key_press_enables_dpms = true
|
key_press_enables_dpms = true
|
||||||
|
force_default_wallpaper = 0
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,18 @@
|
||||||
|
# Laptop config
|
||||||
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
||||||
monitor = , preferred, auto, 1, mirror, eDP-1
|
monitor = , preferred, auto, 1, mirror, eDP-1
|
||||||
# monitor = , preferred, auto, 1
|
|
||||||
|
|
||||||
workspace = 1, monitor:eDP-1, default:true
|
workspace = 1, monitor:eDP-1, default:true
|
||||||
workspace = 2, monitor:eDP-1
|
workspace = 2, monitor:eDP-1
|
||||||
workspace = 3, monitor:eDP-1
|
workspace = 3, monitor:eDP-1
|
||||||
workspace = 4, monitor:eDP-1
|
workspace = 4, monitor:eDP-1
|
||||||
|
|
||||||
|
# Desktop config
|
||||||
|
# monitor = DP-1, 1920x1080@165, 0x0, 1
|
||||||
|
# monitor = HDMI-A-1, preferred, 1920x0, 1
|
||||||
|
# monitor = , preferred, auto, 1
|
||||||
|
|
||||||
|
# workspace = 1, monitor:DP-1, default:true
|
||||||
|
# workspace = 2, monitor:DP-1
|
||||||
|
# workspace = 3, monitor:DP-1
|
||||||
|
# workspace = 4, monitor:DP-1
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
preload = /usr/share/hyprland/wall0.png
|
||||||
|
wallpaper = ,/usr/share/hyprland/wall0.png
|
||||||
splash = true
|
splash = true
|
||||||
|
|
|
@ -177,22 +177,15 @@ function set_betterdiscord_theme {
|
||||||
|
|
||||||
function set_desktop_wallpaper_theme {
|
function set_desktop_wallpaper_theme {
|
||||||
if ! pgrep -u "$USER" hyprpaper > /dev/null; then
|
if ! pgrep -u "$USER" hyprpaper > /dev/null; then
|
||||||
hyprctl -q dispatch exec hyprpaper
|
hyprctl dispatch exec hyprpaper > /dev/null
|
||||||
while ! hyprctl -q hyprpaper listloaded; do
|
while ! hyprctl hyprpaper listloaded &> /dev/null; do
|
||||||
sleep 0.1
|
sleep 0.25
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for monitor in $(hyprctl -j monitors | jq -r '.[] | .name'); do
|
hyprctl hyprpaper preload "$wallpaper"
|
||||||
hyprctl -q hyprpaper preload "$wallpaper"
|
hyprctl hyprpaper wallpaper "eDP-1,$wallpaper"
|
||||||
hyprctl -q hyprpaper wallpaper "$monitor,$wallpaper"
|
hyprctl hyprpaper unload unused
|
||||||
if [[ -n $albums_arg ]]; then
|
|
||||||
# Sets global variable $wallpaper
|
|
||||||
pick_random_wallpaper
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
hyprctl -q hyprpaper unload unused
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -209,7 +202,7 @@ function set_hyprland_theme {
|
||||||
echo '$'"$key=$value" >> "$HOME/.config/hypr/hyprland.d/colors.conf"
|
echo '$'"$key=$value" >> "$HOME/.config/hypr/hyprland.d/colors.conf"
|
||||||
done
|
done
|
||||||
|
|
||||||
hyprctl -q reload
|
hyprctl reload > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -252,7 +245,7 @@ function set_mako_theme {
|
||||||
if pgrep -u "$USER" mako > /dev/null; then
|
if pgrep -u "$USER" mako > /dev/null; then
|
||||||
makoctl reload
|
makoctl reload
|
||||||
else
|
else
|
||||||
hyprctl -q dispatch exec mako
|
hyprctl dispatch exec mako > /dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -286,7 +279,7 @@ function set_waybar_theme {
|
||||||
if pgrep -u "$USER" waybar > /dev/null; then
|
if pgrep -u "$USER" waybar > /dev/null; then
|
||||||
killall -SIGUSR2 waybar
|
killall -SIGUSR2 waybar
|
||||||
else
|
else
|
||||||
hyprctl -q dispatch exec waybar
|
hyprctl dispatch exec waybar > /dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue