Add spotify scratchpad

This commit is contained in:
Nathan McCarty 2023-06-18 02:25:41 -04:00
parent f25a8f51e8
commit ff27ceddee
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 13 additions and 0 deletions

View File

@ -242,6 +242,14 @@ in with lib; {
windowrulev2 = workspace special silent,$dropario
windowrulev2 = center,$dropario
# Spotify
bind = SUPER ALT, R, exec, pypr toggle spotify
$dropspotify = title:^(Spotify)$
windowrulev2 = float,$dropspotify
windowrulev2 = size 50% 70%,$dropspotify
windowrulev2 = workspace special silent,$dropspotify
windowrulev2 = center,$dropspotify
# Clipboard history management
exec-once=wl-paste --watch cliphist store
bind = $mainMod, X, exec, cliphist list | ${fuzzel-command} --dmenu | cliphist decode | wl-copy
@ -343,6 +351,11 @@ in with lib; {
"command": "ario",
"animation": "",
"unfocus": "hide"
},
"spotify": {
"command": "spotify",
"animation": "",
"unfocus": "hide"
}
}
}