commit e00cbe8023463b3514abfdb134e729e0b53b39c8 parent 041c82b8fdd26b6460e641ada8af40f58dd1d0bb Author: Szymon Mikulicz <szymon.mikulicz@posteo.net> Date: Tue, 17 Mar 2020 22:45:05 +0100 i3: add remote mode Diffstat:
| M | i3/.i3/config | | | 79 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- |
1 file changed, 74 insertions(+), 5 deletions(-)
diff --git a/i3/.i3/config b/i3/.i3/config @@ -4,11 +4,80 @@ font pango:Terminus 11px floating_modifier $mod -bindsym $mod+Return exec st +bindsym $mod+Return exec alacritty +bindsym $mod+d exec rofi -modi drun -show drun -bindsym $mod+Shift+q kill +bindsym $mod+Shift+d exec xhost + 192.168.0.227; mode "remote" +mode "remote" { + bindsym $mod+d exec ssh mikulicz@192.168.0.227 env DISPLAY=192.168.0.10:0 rofi -modi drun -show drun + bindsym $mod+Return exec alacritty -e ssh -t mikulicz@192.168.0.227 env DISPLAY=192.168.0.10:0 '$SHELL' -bindsym $mod+d exec rofi -modi drun -show drun + bindsym $mod+Shift+d mode "default" + + bindsym $mod+Shift+q kill + + bindsym $mod+h focus left + bindsym $mod+j focus down + bindsym $mod+k focus up + bindsym $mod+l focus right + + bindsym $mod+Left focus left + bindsym $mod+Down focus down + bindsym $mod+Up focus up + bindsym $mod+Right focus right + + bindsym $mod+Shift+h move left + bindsym $mod+Shift+j move down + bindsym $mod+Shift+k move up + bindsym $mod+Shift+l move right + + bindsym $mod+Shift+Left move left + bindsym $mod+Shift+Down move down + bindsym $mod+Shift+Up move up + bindsym $mod+Shift+Right move right + + bindsym $mod+g split h + + bindsym $mod+v split v + + bindsym $mod+f fullscreen toggle + + bindsym $mod+s layout stacking + bindsym $mod+w layout tabbed + bindsym $mod+e layout toggle split + + bindsym $mod+Shift+space floating toggle + + bindsym $mod+space focus mode_toggle + + bindsym $mod+a focus parent + + #bindsym $mod+d focus child + + bindsym $mod+1 workspace 1 + bindsym $mod+2 workspace 2 + bindsym $mod+3 workspace 3 + bindsym $mod+4 workspace 4 + bindsym $mod+5 workspace 5 + bindsym $mod+6 workspace 6 + bindsym $mod+7 workspace 7 + bindsym $mod+8 workspace 8 + bindsym $mod+9 workspace 9 + bindsym $mod+0 workspace 10 + + bindsym $mod+Shift+1 move container to workspace 1 + bindsym $mod+Shift+2 move container to workspace 2 + bindsym $mod+Shift+3 move container to workspace 3 + bindsym $mod+Shift+4 move container to workspace 4 + bindsym $mod+Shift+5 move container to workspace 5 + bindsym $mod+Shift+6 move container to workspace 6 + bindsym $mod+Shift+7 move container to workspace 7 + bindsym $mod+Shift+8 move container to workspace 8 + bindsym $mod+Shift+9 move container to workspace 9 + bindsym $mod+Shift+0 move container to workspace 10 +} + +bindsym $mod+Shift+q kill bindsym $mod+h focus left bindsym $mod+j focus down @@ -163,7 +232,7 @@ for_window [instance="^octave\-gui$"] floating enable for_window [instance="^matplotlib$"] floating enable for_window [instance="^gnuplot_qt$"] floating enable -exec --no-startup-id /usr/lib/geoclue-2.0/demos/agent exec --no-startup-id redshift-gtk -exec --no-startup-id ~/.fehbg +exec --no-startup-id xss-lock -l -- i3lock -n -i ~/.i3/BG.png +exec --no-startup-id feh --no-fehbg --bg-fill ~/.i3/BG.png exec_always --no-startup-id ~/.config/polybar/launch.sh