File explorer shortcut

This commit is contained in:
Christian Colglazier 2019-07-13 21:41:23 -04:00
parent b57a941535
commit d42c2fcb96
2 changed files with 7 additions and 8 deletions

View File

@ -11,13 +11,15 @@ workspace $ws9 output DVI-D-0
workspace $ws10 output HDMI-0
mode "$g13" {
bindsym 1 exec --no-startup-id g13d --config ~/.config/g13/overwatch.bind --logo ~/.config/g13/overwatch.lpbm &; mode "default"
bindsym 1 exec --no-startup-id cat ~/.config/g13/overwatch.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/overwatch.lpbm > /tmp/g13-0; mode "default"
bindsym 2 exec --no-startup-id cat ~/.config/g13/resolve.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/resolve.lpbm > /tmp/g13-0; mode "default"
bindsym Escape mode "default"
bindsym Return mode "default"
}
set $g13 G13 Profile: [1] Overwatch
set $g13 G13 Profile: [1] Overwatch [2] Resolve
bindsym $mod+F1 mode "$g13"
exec_always --no-startup-id g13d --config ~/.config/g13/resolve.bind --logo ~/.config/g13/resolve.lpbm &
# Set caps lock key to super
exec_always --no-startup-id setxkbmap -option 'caps:super'

View File

@ -101,13 +101,9 @@ bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
bindsym $mod+Shift+c exec "sh ~/.config/i3/i3wm-config-gen.sh"; reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
#bindsym $mod+Shift+r exec "sh ~/config/i3/i3wm-config-gen.sh && restart"
bindsym $mod+Shift+r exec "sh ~/.config/i3/i3wm-config-gen.sh"; restart
#"~/.config/i3/i3wm-config-gen.sh"
#"touch ~/.config/i3/test.txt & cat test > ~/.config/i3/test.txt"
#"sh ~/.config/i3/i3wm-config-gen.sh & sleep 5 && i3-msg restart"
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
@ -165,4 +161,5 @@ for_window [class="^.*"] border pixel 1
new_window 1pixel
#new_window normal 0 px
bindsym $mod+Shift+s exec scrot -b -d 5 '%Y:%m:%d:%H:%M:%S.png' -e 'mv $f ~/Desktop/'
bindsym $mod+Shift+s exec scrot -b -d 5 '%Y:%m:%d:%H:%M:%S.png' -e 'mv $f ~/Desktop/'
bindsym $mod+n exec "nautilus"