Compare commits
No commits in common. "ff27ceddee5e9fbd423e7fcc5bbcd6a1ae12edac" and "f27ca0cfd0b3cc10b151c5f76f1e43be27a19959" have entirely different histories.
ff27ceddee
...
f27ca0cfd0
|
@ -242,14 +242,6 @@ 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
|
||||||
|
@ -351,11 +343,6 @@ in with lib; {
|
||||||
"command": "ario",
|
"command": "ario",
|
||||||
"animation": "",
|
"animation": "",
|
||||||
"unfocus": "hide"
|
"unfocus": "hide"
|
||||||
},
|
|
||||||
"spotify": {
|
|
||||||
"command": "spotify",
|
|
||||||
"animation": "",
|
|
||||||
"unfocus": "hide"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -507,17 +494,16 @@ 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 =
|
dnd-notification = "<span foreground='red'><sup></sup></span>";
|
||||||
" <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 3;" -t --csv
|
ORDER BY current_state_events DESC LIMIT 1;" -t --csv
|
||||||
}
|
}
|
||||||
|
|
||||||
# Delete a room and purge its history
|
# Delete a room and purge its history
|
||||||
|
|
Loading…
Reference in New Issue