mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-10-26 22:26:36 +00:00
Add various elephant menus
This commit is contained in:
parent
a133c45c48
commit
ae439adcc4
5 changed files with 158 additions and 2 deletions
40
home/.config/elephant/menus/power.toml
Normal file
40
home/.config/elephant/menus/power.toml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
name = "power"
|
||||
name_pretty = "Power"
|
||||
global_search = true
|
||||
fixed_order = true
|
||||
icon = "system-shutdown"
|
||||
|
||||
[[entries]]
|
||||
icon = "system-lock-screen"
|
||||
text = "Lock"
|
||||
actions = { "lock" = "loginctl lock-session" }
|
||||
|
||||
[[entries]]
|
||||
icon = "system-suspend"
|
||||
text = "Suspend"
|
||||
actions = { "suspend" = "systemctl suspend" }
|
||||
|
||||
[[entries]]
|
||||
icon = "system-hibernate"
|
||||
text = "Hibernate"
|
||||
actions = { "hibernate" = "systemctl hibernate" }
|
||||
|
||||
[[entries]]
|
||||
icon = "system-log-out"
|
||||
text = "Log out"
|
||||
actions = { "logout" = "loginctl terminate-user" }
|
||||
|
||||
[[entries]]
|
||||
icon = "system-reboot"
|
||||
text = "Soft Reboot"
|
||||
actions = { "soft_reboot" = "systemctl soft-reboot" }
|
||||
|
||||
[[entries]]
|
||||
icon = "system-reboot"
|
||||
text = "Restart"
|
||||
actions = { "restart" = "systemctl reboot" }
|
||||
|
||||
[[entries]]
|
||||
icon = "system-shutdown"
|
||||
text = "Shutdown"
|
||||
actions = { "shutdown" = "systemctl poweroff" }
|
||||
Loading…
Add table
Add a link
Reference in a new issue