added i3 keybinding to disable screen sleep, changed location of mpd

state file.
This commit is contained in:
Gabe Venberg 2021-05-19 17:06:50 -05:00
parent bf3e6d39ad
commit a1944bc79a
2 changed files with 6 additions and 2 deletions

View file

@ -143,7 +143,7 @@ font pango:DejaVu Sans Mono 8
bindsym $mod+Shift+0 move container to workspace $ws10 bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file # 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) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session) # 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+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" 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 #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+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" bindsym $mod+shift+s exec --no-startup-id "maim -i $(xdotool getactivewindow) ~/Pictures/$(date +%s).png"

View file

@ -1,7 +1,7 @@
music_directory "~/Music" music_directory "~/Music"
playlist_directory "~/Music/.mpd/playlists" playlist_directory "~/Music/.mpd/playlists"
db_file "~/Music/.mpd/database" db_file "~/Music/.mpd/database"
state_file "~/Music/.mpd/state" state_file "~/.mpd/state"
log_file "~/.mpd/log" log_file "~/.mpd/log"
pid_file "~/.mpd/pid" pid_file "~/.mpd/pid"
sticker_file "~/.mpd/sticker.sql" sticker_file "~/.mpd/sticker.sql"