Change screenshot script and add udiskie
This commit is contained in:
		@@ -55,8 +55,8 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
 | 
			
		||||
#+begin_src conf
 | 
			
		||||
  # Sound
 | 
			
		||||
  bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle
 | 
			
		||||
  bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 5%+
 | 
			
		||||
  bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master 5%-
 | 
			
		||||
  bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 2%+
 | 
			
		||||
  bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master 2%-
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
#+begin_src conf
 | 
			
		||||
@@ -74,7 +74,7 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
 | 
			
		||||
 | 
			
		||||
** Print Screen
 | 
			
		||||
#+begin_src conf
 | 
			
		||||
  bindsym Print exec --no-startup-id ~/scripts/screenshot.sh
 | 
			
		||||
  bindsym Print exec --no-startup-id ~/bin/screenshot
 | 
			
		||||
  bindsym XF86Display exec --no-startup-id rofi -show window
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
@@ -140,7 +140,7 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
 | 
			
		||||
    # Music with ncmpcpp
 | 
			
		||||
    bindsym p exec termite -e "tmux -L ncmpcpp attach"; mode "default"
 | 
			
		||||
    # Print Screen
 | 
			
		||||
    bindsym Shift+p exec --no-startup-id ~/scripts/screenshot.sh
 | 
			
		||||
    bindsym Shift+p exec --no-startup-id ~/bin/screenshot
 | 
			
		||||
 | 
			
		||||
    # Browser with qutebrowser
 | 
			
		||||
    bindsym i exec qutebrowser; mode "default"
 | 
			
		||||
@@ -180,12 +180,6 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
 | 
			
		||||
  # Autolock screen after x minutes
 | 
			
		||||
  exec --no-startup-id xautolock -locker "~/scripts/lockscreen.sh" -detectsleep -time 30 -notify 60 -notifier "dunstify --replace=31846 -u critical -t 10000 -- 'Locking Screen' '60 seconds'"
 | 
			
		||||
 | 
			
		||||
  # Lockscreen when using suspend or hibernate (when closing the lid for instance)
 | 
			
		||||
  exec --no-startup-id xss-lock -- ~/scripts/lockscreen.sh
 | 
			
		||||
 | 
			
		||||
  # Autostart udiskie that is used to automount devices
 | 
			
		||||
  exec --no-startup-id udiskie
 | 
			
		||||
 | 
			
		||||
  # Screen options
 | 
			
		||||
  exec --no-startup-id xrandr --output eDP1 --mode 1920x1080 --dpi 192
 | 
			
		||||
 | 
			
		||||
@@ -195,17 +189,17 @@ Set mod key (Mod1=<Alt>, Mod4=<Super>)
 | 
			
		||||
  # Start mopidy
 | 
			
		||||
  exec --no-startup-id mopidy
 | 
			
		||||
 | 
			
		||||
  # PulseAudio Server
 | 
			
		||||
  # exec --no-startup-id pulseaudio --daemon
 | 
			
		||||
 | 
			
		||||
  # Emacs Daemon
 | 
			
		||||
  # exec --no-startup-id /usr/bin/emacs --fg-daemon
 | 
			
		||||
 | 
			
		||||
  # TODO - Start polybar
 | 
			
		||||
  # Start polybar
 | 
			
		||||
  exec_always --no-startup-id $HOME/.config/polybar/scripts/launch.sh
 | 
			
		||||
 | 
			
		||||
  # Megasync
 | 
			
		||||
  exec --no-startup-id i3-msg 'exec megasync'
 | 
			
		||||
 | 
			
		||||
  # Udiskie to automount usb keys
 | 
			
		||||
  exec --no-startup-id udiskie --automount --notify --tray --use-udisks2
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
* Kill one application
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user