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 {
|
||||
disable_hyprland_logo = true
|
||||
vfr = true
|
||||
vrr = 2
|
||||
disable_autoreload = true
|
||||
mouse_move_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 = , preferred, auto, 1, mirror, eDP-1
|
||||
# monitor = , preferred, auto, 1
|
||||
|
||||
workspace = 1, monitor:eDP-1, default:true
|
||||
workspace = 2, monitor:eDP-1
|
||||
workspace = 3, 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
|
||||
|
|
|
@ -177,22 +177,15 @@ function set_betterdiscord_theme {
|
|||
|
||||
function set_desktop_wallpaper_theme {
|
||||
if ! pgrep -u "$USER" hyprpaper > /dev/null; then
|
||||
hyprctl -q dispatch exec hyprpaper
|
||||
while ! hyprctl -q hyprpaper listloaded; do
|
||||
sleep 0.1
|
||||
hyprctl dispatch exec hyprpaper > /dev/null
|
||||
while ! hyprctl hyprpaper listloaded &> /dev/null; do
|
||||
sleep 0.25
|
||||
done
|
||||
fi
|
||||
|
||||
for monitor in $(hyprctl -j monitors | jq -r '.[] | .name'); do
|
||||
hyprctl -q hyprpaper preload "$wallpaper"
|
||||
hyprctl -q hyprpaper wallpaper "$monitor,$wallpaper"
|
||||
if [[ -n $albums_arg ]]; then
|
||||
# Sets global variable $wallpaper
|
||||
pick_random_wallpaper
|
||||
fi
|
||||
done
|
||||
|
||||
hyprctl -q hyprpaper unload unused
|
||||
hyprctl hyprpaper preload "$wallpaper"
|
||||
hyprctl hyprpaper wallpaper "eDP-1,$wallpaper"
|
||||
hyprctl hyprpaper unload unused
|
||||
}
|
||||
|
||||
|
||||
|
@ -209,7 +202,7 @@ function set_hyprland_theme {
|
|||
echo '$'"$key=$value" >> "$HOME/.config/hypr/hyprland.d/colors.conf"
|
||||
done
|
||||
|
||||
hyprctl -q reload
|
||||
hyprctl reload > /dev/null
|
||||
}
|
||||
|
||||
|
||||
|
@ -252,7 +245,7 @@ function set_mako_theme {
|
|||
if pgrep -u "$USER" mako > /dev/null; then
|
||||
makoctl reload
|
||||
else
|
||||
hyprctl -q dispatch exec mako
|
||||
hyprctl dispatch exec mako > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -286,7 +279,7 @@ function set_waybar_theme {
|
|||
if pgrep -u "$USER" waybar > /dev/null; then
|
||||
killall -SIGUSR2 waybar
|
||||
else
|
||||
hyprctl -q dispatch exec waybar
|
||||
hyprctl dispatch exec waybar > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue