added i3 keybinding to disable screen sleep, changed location of mpd
state file.
This commit is contained in:
parent
bf3e6d39ad
commit
a1944bc79a
|
@ -143,7 +143,7 @@ font pango:DejaVu Sans Mono 8
|
|||
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+n reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
|
@ -182,6 +182,10 @@ font pango:DejaVu Sans Mono 8
|
|||
bindsym $mod+x exec --no-startup-id "~/dotfiles/scripts/screen_off $lock_command_nof"
|
||||
bindsym $mod+shift+x exec --no-startup-id "$lock_command"; exec "systemctl suspend"
|
||||
|
||||
# disable screen going to sleep with mod+c, enable screen going to sleep with mod+shift+c
|
||||
bindsym $mod+c exec "xset s off -dpms; notify-send 'screen blanking off'"
|
||||
bindsym $mod+shift+c exec "xset +dpms; notify-send 'screen blanking on'"
|
||||
|
||||
#screenshot everything with mod+s, current window with mod+shift+s
|
||||
bindsym $mod+s exec --no-startup-id "maim ~/Pictures/$(date +%s).png"
|
||||
bindsym $mod+shift+s exec --no-startup-id "maim -i $(xdotool getactivewindow) ~/Pictures/$(date +%s).png"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
music_directory "~/Music"
|
||||
playlist_directory "~/Music/.mpd/playlists"
|
||||
db_file "~/Music/.mpd/database"
|
||||
state_file "~/Music/.mpd/state"
|
||||
state_file "~/.mpd/state"
|
||||
log_file "~/.mpd/log"
|
||||
pid_file "~/.mpd/pid"
|
||||
sticker_file "~/.mpd/sticker.sql"
|
||||
|
|
Loading…
Reference in a new issue