Compare commits
3 Commits
f27ca0cfd0
...
ff27ceddee
Author | SHA1 | Date |
---|---|---|
Nathan McCarty | ff27ceddee | |
Nathan McCarty | f25a8f51e8 | |
Nathan McCarty | 366f76a619 |
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -494,16 +507,17 @@ in with lib; {
|
|||
tooltip = false;
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
notification = "<span foreground='red'><sup></sup></span>";
|
||||
none = "";
|
||||
dnd-notification = "<span foreground='red'><sup></sup></span>";
|
||||
notification = " <span foreground='red'><sup></sup></span> ";
|
||||
none = " ";
|
||||
dnd-notification =
|
||||
" <span foreground='red'><sup></sup></span> ";
|
||||
dnd-none = "";
|
||||
inhibited-notification =
|
||||
"<span foreground='red'><sup></sup></span>";
|
||||
inhibited-none = "";
|
||||
" <span foreground='red'><sup></sup></span> ";
|
||||
inhibited-none = " ";
|
||||
dnd-inhibited-notification =
|
||||
"<span foreground='red'><sup></sup></span>";
|
||||
dnd-inhibited-none = "";
|
||||
" <span foreground='red'><sup></sup></span> ";
|
||||
dnd-inhibited-none = " ";
|
||||
};
|
||||
return-type = "json";
|
||||
exec-if = "which swaync-client";
|
||||
|
|
|
@ -4,7 +4,7 @@ set -eou pipefail
|
|||
# Get the list of rooms with no local users
|
||||
empty_rooms() {
|
||||
psql -d synapse -c "SELECT room_id FROM room_stats_current WHERE local_users_in_room = 0 \
|
||||
ORDER BY current_state_events DESC LIMIT 1;" -t --csv
|
||||
ORDER BY current_state_events DESC LIMIT 3;" -t --csv
|
||||
}
|
||||
|
||||
# Delete a room and purge its history
|
||||
|
|
Loading…
Reference in New Issue