2024-11-04 04:37:29 +03:00
|
|
|
{ ... }: {
|
|
|
|
text = ''
|
|
|
|
# Reload.
|
|
|
|
function reload() {
|
|
|
|
re() {
|
|
|
|
# Sway.
|
|
|
|
swaymsg reload
|
2024-08-20 15:14:18 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
# Waybar.
|
|
|
|
pkill waybar
|
|
|
|
swaymsg exec waybar
|
2024-08-20 15:14:18 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
# Tmux.
|
|
|
|
tmux source-file ~/.config/tmux/tmux.conf
|
2024-08-20 15:14:18 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
# Bash.
|
|
|
|
pkill -SIGUSR1 bash
|
2024-09-19 11:35:19 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
# Notifications.
|
|
|
|
makoctl reload
|
2024-10-13 21:31:44 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
# Reset displays.
|
|
|
|
displayreset
|
|
|
|
}
|
2024-08-20 11:27:59 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
_sway_iterate_sockets re
|
|
|
|
}
|
|
|
|
'';
|
2024-08-20 11:27:59 +03:00
|
|
|
}
|