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 = workspace special silent,$dropario
|
||||||
windowrulev2 = center,$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
|
# Clipboard history management
|
||||||
exec-once=wl-paste --watch cliphist store
|
exec-once=wl-paste --watch cliphist store
|
||||||
bind = $mainMod, X, exec, cliphist list | ${fuzzel-command} --dmenu | cliphist decode | wl-copy
|
bind = $mainMod, X, exec, cliphist list | ${fuzzel-command} --dmenu | cliphist decode | wl-copy
|
||||||
|
@ -343,6 +351,11 @@ in with lib; {
|
||||||
"command": "ario",
|
"command": "ario",
|
||||||
"animation": "",
|
"animation": "",
|
||||||
"unfocus": "hide"
|
"unfocus": "hide"
|
||||||
|
},
|
||||||
|
"spotify": {
|
||||||
|
"command": "spotify",
|
||||||
|
"animation": "",
|
||||||
|
"unfocus": "hide"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -494,16 +507,17 @@ in with lib; {
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
notification = "<span foreground='red'><sup></sup></span>";
|
notification = " <span foreground='red'><sup></sup></span> ";
|
||||||
none = "";
|
none = " ";
|
||||||
dnd-notification = "<span foreground='red'><sup></sup></span>";
|
dnd-notification =
|
||||||
|
" <span foreground='red'><sup></sup></span> ";
|
||||||
dnd-none = "";
|
dnd-none = "";
|
||||||
inhibited-notification =
|
inhibited-notification =
|
||||||
"<span foreground='red'><sup></sup></span>";
|
" <span foreground='red'><sup></sup></span> ";
|
||||||
inhibited-none = "";
|
inhibited-none = " ";
|
||||||
dnd-inhibited-notification =
|
dnd-inhibited-notification =
|
||||||
"<span foreground='red'><sup></sup></span>";
|
" <span foreground='red'><sup></sup></span> ";
|
||||||
dnd-inhibited-none = "";
|
dnd-inhibited-none = " ";
|
||||||
};
|
};
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
exec-if = "which swaync-client";
|
exec-if = "which swaync-client";
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -eou pipefail
|
||||||
# Get the list of rooms with no local users
|
# Get the list of rooms with no local users
|
||||||
empty_rooms() {
|
empty_rooms() {
|
||||||
psql -d synapse -c "SELECT room_id FROM room_stats_current WHERE local_users_in_room = 0 \
|
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
|
# Delete a room and purge its history
|
||||||
|
|
Loading…
Reference in New Issue