Skip to content

xpve/i3wm-shutdown-options

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

i3wm-shutdown-options

This is feature is for all the i3 users who have been struggling to set up customised shortcuts for shutdown,login and reboot options The snippet of code can be found down.

#bindsym $mod+x mode "exit: [l]ogout, [r]eboot, [s]hutdown"<br>
mode "exit: [l]ogout, [r]eboot, [s]hutdown" {<br>
<br>
  bindsym l exec i3-msg exit<br>
  bindsym r exec systemctl reboot<br>
  bindsym s exec systemctl poweroff<br>
  bindsym Escape mode "default"<br>
  bindsym Return mode "default"<br>
}<br>
bindsym $mod+x mode "exit: [l]ogout, [r]eboot, [s]hutdown" <br>

This is code of snippet for setting up the shortcuts,update the above code using the config file of i3wm.
The path for the config file of i3wm is

/home/_your_host_name/.config/i3/config  

Using any text editor you can edit the config file.

If you need to set up customised shortcuts

bindsym $Your_custom_shortcut exec command_name  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors