Updates
This commit is contained in:
1 parent
60741ca7d2
commit
96b0b70cbe
11 files changed
+263
-378
No files matched your search
@@ -47,6 +47,26 @@ sys_poweroff() {
|
||||
poweroff
|
||||
fi
|
||||
}
|
||||
sys_lock() {
|
||||
if _need_confirm "Lock screen?"; then
|
||||
pidof hyprlock || hyprlock -q
|
||||
fi
|
||||
}
|
||||
sys_logout() {
|
||||
if _need_confirm "Logout?"; then
|
||||
loginctl kill-session $XDG_SESSION_ID
|
||||
fi
|
||||
}
|
||||
sys_suspend() {
|
||||
if _need_confirm "Suspend system?"; then
|
||||
systemctl suspend
|
||||
fi
|
||||
}
|
||||
sys_hibernate() {
|
||||
if _need_confirm "Hibernate system?"; then
|
||||
systemctl hibernate
|
||||
fi
|
||||
}
|
||||
|
||||
#######################################################
|
||||
# #
|
||||
@@ -110,16 +130,6 @@ reload_hypr() {
|
||||
notify-send -u low -i $reload 'Reload Hyprland'
|
||||
}
|
||||
|
||||
######################################
|
||||
# #
|
||||
# lockscreen(hyprlock) #
|
||||
# #
|
||||
######################################
|
||||
|
||||
lock_screen() {
|
||||
hyprlock
|
||||
}
|
||||
|
||||
######################################
|
||||
# #
|
||||
# Battery Notifer #
|
||||
|
||||
Reference in new issue
Block a user