commit 6725e77038112adf963e97bd79ad3fb8f311bf50
parent c1beeb1d86c4f73d627a0dd31e800d2fbb0c6878
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 25 Oct 2018 10:57:24 +0200
Change i3 keys and startup programs
Diffstat:
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/links/.i3/config b/links/.i3/config
@@ -85,8 +85,8 @@ bindsym $mod+b exec firefox
#bindsym $mod+b exec dwb
bindsym $mod+c exec emacs
bindsym $mod+v exec gvim
-#bindsym $mod+t exec tor-browser.sh
-bindsym $mod+t exec torbrowser-launcher
+bindsym $mod+t exec tor-browser.sh
+#bindsym $mod+t exec torbrowser-launcher
bindsym $mod+p exec zathura
bindsym Mod1+Mod4+l exec --no-startup-id ~/bin/keyboard-layout-switch.sh && notify-send `cat ~/.kbd-layout` && killall -SIGUSR1 i3status
#bindsym $alt+Shift+l exec --no-startup-id ~/bin/keyboard-layout-switch.sh &&
@@ -111,16 +111,16 @@ bindsym XF86KbdBrightnessDown exec --no-startup-id /home/ad/bin/kbd_backlight.sh
bindsym XF86KbdBrightnessUp exec --no-startup-id /home/ad/bin/kbd_backlight.sh up
# mpd control
-bindsym $mod+Shift+p exec --no-startup-id mpc -h bigquake.ucsd.edu toggle && killall -SIGUSR1 i3status
-bindsym $mod+Shift+n exec --no-startup-id mpc -h bigquake.ucsd.edu next && killall -SIGUSR1 i3status
-bindsym $mod+Shift+b exec --no-startup-id mpc -h bigquake.ucsd.edu prev && killall -SIGUSR1 i3status
-bindsym $mod+Shift+s exec --no-startup-id mpc -h bigquake.ucsd.edu stop && killall -SIGUSR1 i3status
+bindsym $mod+Shift+p exec --no-startup-id mpc -h localhost toggle && killall -SIGUSR1 i3status
+bindsym $mod+Shift+n exec --no-startup-id mpc -h localhost next && killall -SIGUSR1 i3status
+bindsym $mod+Shift+b exec --no-startup-id mpc -h localhost prev && killall -SIGUSR1 i3status
+bindsym $mod+Shift+s exec --no-startup-id mpc -h localhost stop && killall -SIGUSR1 i3status
# Light X colors
#bindsym $mod+Shift+w exec --no-startup-id /home/ad/bin/solarized-light.sh
#bindsym $mod+Shift+d exec --no-startup-id /home/ad/bin/solarized-dark.sh
-# configura displays
+# configure displays
bindsym $mod+Shift+d exec --no-startup-id bash /home/ad/code/dotfiles/bin/xrandr-auto.sh
bindsym $mod+Shift+a exec --no-startup-id bash /home/ad/bin/wallpaper.sh && xrandr --auto
@@ -141,24 +141,12 @@ bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
-# alternatively, you can use the cursor keys:
-bindsym $mod+Left focus left
-bindsym $mod+Down focus down
-bindsym $mod+Up focus up
-bindsym $mod+Right focus right
-
# move focused window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
-# alternatively, you can use the cursor keys:
-bindsym $mod+Shift+Left move left
-bindsym $mod+Shift+Down move down
-bindsym $mod+Shift+Up move up
-bindsym $mod+Shift+Right move right
-
# split in horizontal orientation
bindsym $alt+l split h
#bindsym $mod+Control+l split h
@@ -312,5 +300,5 @@ exec --no-startup-id nm-applet
#exec --no-startup-id i3-msg 'workspace 1; exec urxvt -e tmuxinator utility; exec tor-browser.sh'
#exec --no-startup-id i3-msg 'workspace 1; exec urxvt -e tmuxinator utility; exec torbrowser-launcher'
#exec --no-startup-id i3-msg 'workspace 1; exec bash ~/bin/export_x_info.sh; exec mpd; exec xrdb ~/.Xresources'
-exec --no-startup-id i3-msg 'workspace 2; exec firefox'
+exec --no-startup-id i3-msg 'workspace 2; exec firefox; layout tabbed; exec tor-browser.sh'
exec --no-startup-id i3-msg 'workspace 1; exec urxvt -e tmux-utility.sh'