Compare commits
No commits in common. "12354c74b5a6f2bfde336d106e141dde99030a03" and "cc893abdc9c5112d2f9831901b99d086f0bde2ed" have entirely different histories.
12354c74b5
...
cc893abdc9
4 changed files with 5 additions and 26 deletions
|
@ -14,7 +14,6 @@ exec-once = gnome-keyring
|
||||||
|
|
||||||
# Hypridle
|
# Hypridle
|
||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
exec-once = hyprpaper
|
|
||||||
|
|
||||||
# Mailspring
|
# Mailspring
|
||||||
exec-once = mailspring --background --password-store="gnome-libsecret"
|
exec-once = mailspring --background --password-store="gnome-libsecret"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Opaque windows
|
# Opaque windows
|
||||||
windowrule = opaque,^(Chromium|firefox|libreoffice-writer|virt-manager|jetbrains-idea-ce)$
|
windowrule = opaque,^(firefox|libreoffice-writer|virt-manager|jetbrains-idea-ce)$
|
||||||
|
|
||||||
# Idle Inhibit
|
# Idle Inhibit
|
||||||
windowrule = idleinhibit focus, class:^(Chromium|vlc|zoom)$
|
windowrule = idleinhibit focus, class:^(vlc|zoom)$
|
||||||
|
|
||||||
# Winecfg
|
# Winecfg
|
||||||
windowrule = float,^(winecfg.exe)$
|
windowrule = float,^(winecfg.exe)$
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
declare -A playlists=(
|
|
||||||
[V1]='https://www.youtube.com/playlist?list=PLhe0fcbtmXgH05vjUb9aXib59PEpx1r7W'
|
|
||||||
)
|
|
||||||
|
|
||||||
playlist_url="${playlists[$1]}"
|
|
||||||
|
|
||||||
if [ -z "$playlist_url" ]; then
|
|
||||||
echo "Bad playlist name."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
pkill -9 -u "$USER" mpv > /dev/null
|
|
||||||
hyprctl dispatch exec "mpv '$playlist_url' --no-video --shuffle"
|
|
|
@ -30,7 +30,7 @@ EOF
|
||||||
function check_requirements {
|
function check_requirements {
|
||||||
req_satisfied=1
|
req_satisfied=1
|
||||||
|
|
||||||
for executable in convert hyprctl hyprpaper kitty mako pastel wal waybar wlogout wofi; do
|
for executable in convert hyprctl kitty mako pastel swaybg wal waybar wlogout wofi; do
|
||||||
if ! which "$executable" > /dev/null; then
|
if ! which "$executable" > /dev/null; then
|
||||||
echo "Executable $executable not found!"
|
echo "Executable $executable not found!"
|
||||||
req_satisfied=0
|
req_satisfied=0
|
||||||
|
@ -175,13 +175,8 @@ function set_betterdiscord_theme {
|
||||||
|
|
||||||
|
|
||||||
function set_desktop_wallpaper_theme {
|
function set_desktop_wallpaper_theme {
|
||||||
if ! pgrep -u "$USER" hyprpaper > /dev/null; then
|
pkill -u "$USER" swaybg &> /dev/null
|
||||||
hyprctl dispatch exec hyprpaper > /dev/null
|
hyprctl dispatch exec "swaybg -i \"$wallpaper\"" > /dev/null
|
||||||
fi
|
|
||||||
|
|
||||||
hyprctl hyprpaper preload "$wallpaper"
|
|
||||||
hyprctl hyprpaper wallpaper "eDP-1,$wallpaper"
|
|
||||||
hyprctl hyprpaper unload unused
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue