From dc851917d691a19dc7de8cc103494ee408908c56 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Sat, 22 Jun 2019 17:26:56 +0200 Subject: [PATCH] Change screenshot script and add udiskie --- dotfiles/i3.org | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/dotfiles/i3.org b/dotfiles/i3.org index 753f341..c33b284 100644 --- a/dotfiles/i3.org +++ b/dotfiles/i3.org @@ -55,8 +55,8 @@ Set mod key (Mod1=, Mod4=) #+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=, Mod4=) ** 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=, Mod4=) # 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=, Mod4=) # 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=, Mod4=) # 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