Skip to content

Commit fe529ae

Browse files
wash2mmstick
authored andcommitted
chore: add log-out shortcut
1 parent a05129f commit fe529ae

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

config/src/shortcuts/action.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ pub enum System {
151151
Launcher,
152152
/// Locks the screen
153153
LockScreen,
154+
/// Logs out
155+
LogOut,
154156
/// Mutes the active audio output
155157
Mute,
156158
/// Mutes the active microphone

data/system_actions.ron

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
BrightnessUp: "busctl --user call com.system76.CosmicSettingsDaemon /com/system76/CosmicSettingsDaemon com.system76.CosmicSettingsDaemon IncreaseDisplayBrightness",
88
/// Opens the home folder in a system default file browser
99
HomeFolder: "xdg-open ~",
10+
/// Logs out
11+
LogOut: "cosmic-osd log-out",
1012
/// Decreases keyboard brightness
1113
// KeyboardBrightnessDown,
1214
/// Increases keyboard brightness

0 commit comments

Comments
 (0)