summaryrefslogtreecommitdiffstats
path: root/i3/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to 'i3/.config/i3')
-rw-r--r--i3/.config/i3/config77
-rw-r--r--i3/.config/i3/terminal-workspace.json125
2 files changed, 202 insertions, 0 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
new file mode 100644
index 0000000..afa6af1
--- /dev/null
+++ b/i3/.config/i3/config
@@ -0,0 +1,77 @@
+set $mod Mod4
+
+default_border pixel 1
+hide_edge_borders smart
+client.focused #aaaaaa #aaaaaa #ffffff #ffffff
+client.focused_inactive #000000 #000000 #ffffff #888888
+client.unfocused #000000 #000000 #ffffff #888888
+client.urgent #ff0000 #ff0000 #ffffff #ff0000
+
+floating_modifier $mod
+floating_minimum_size 1 x 1
+floating_maximum_size -1 x -1
+
+focus_wrapping no
+
+for_window [instance="Alacritty-tdrop"] floating enable
+for_window [instance="Alacritty-tdrop"] sticky enable
+
+for_window [class="Steam"] floating enable
+for_window [class="ArenaTracker"] floating enable
+
+for_window [title="zoom"] floating enable
+
+bindsym $mod+q kill
+
+bindsym $mod+h focus left
+bindsym $mod+j focus down
+bindsym $mod+k focus up
+bindsym $mod+l 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+f fullscreen
+
+bindsym $mod+Shift+space floating toggle
+bindsym $mod+space focus mode_toggle
+
+bindsym $mod+bracketleft exec i3-switch-workspace prev
+bindsym $mod+bracketright exec i3-switch-workspace next
+bindsym $mod+v exec vscreen goto
+
+bindsym $mod+Shift+o exec "i3-msg 'append_layout .config/i3/terminal-workspace.json; exec env WINIT_X11_SCALE_FACTOR=1 alacritty; exec env WINIT_X11_SCALE_FACTOR=1 alacritty; exec env WINIT_X11_SCALE_FACTOR=1 alacritty; exec env WINIT_X11_SCALE_FACTOR=1 alacritty; exec env WINIT_X11_SCALE_FACTOR=1 alacritty'"
+
+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+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+c reload
+bindsym $mod+Shift+c restart
+bindsym $mod+Shift+q 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'"
+
+bar {
+ tray_output primary
+ status_command status
+ font xft:DejaVuSansMono 12
+}
+
+exec "i3-msg 'workspace 5'"
diff --git a/i3/.config/i3/terminal-workspace.json b/i3/.config/i3/terminal-workspace.json
new file mode 100644
index 0000000..d957bc1
--- /dev/null
+++ b/i3/.config/i3/terminal-workspace.json
@@ -0,0 +1,125 @@
+// vim:ts=4:sw=4:et
+{
+ // splitv split container with 3 children
+ "border": "pixel",
+ "floating": "auto_off",
+ "layout": "splitv",
+ "marks": [],
+ "percent": 0.337251851851852,
+ "type": "con",
+ "nodes": [
+ {
+ "border": "pixel",
+ "current_border_width": 1,
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "marks": [],
+ "name": "main:0:zsh - \"doy@hornet:~/conf\"",
+ "percent": 0.333333333333333,
+ "swallows": [
+ {
+ "instance": "^Alacritty$"
+ }
+ ],
+ "type": "con"
+ },
+ {
+ "border": "pixel",
+ "current_border_width": 1,
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "marks": [],
+ "name": "work:0:zsh - \"doy@hornet:~\"",
+ "percent": 0.333333333333333,
+ "swallows": [
+ {
+ "instance": "^Alacritty$"
+ }
+ ],
+ "type": "con"
+ },
+ {
+ "border": "pixel",
+ "current_border_width": 1,
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "marks": [],
+ "name": "misc:0:mtr - \"doy@hornet:~\"",
+ "percent": 0.333333333333333,
+ "swallows": [
+ {
+ "instance": "^Alacritty$"
+ }
+ ],
+ "type": "con"
+ }
+ ]
+}
+
+{
+ // splitv split container with 2 children
+ "border": "pixel",
+ "floating": "auto_off",
+ "layout": "splitv",
+ "marks": [],
+ "percent": 0.662748148148148,
+ "type": "con",
+ "nodes": [
+ {
+ "border": "pixel",
+ "current_border_width": 1,
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "marks": [],
+ "name": "chat:0:vim - \"doy@hornet:~\"",
+ "percent": 0.5,
+ "swallows": [
+ {
+ "instance": "^Alacritty$"
+ }
+ ],
+ "type": "con"
+ },
+ {
+ "border": "pixel",
+ "current_border_width": 1,
+ "floating": "auto_off",
+ "geometry": {
+ "height": 340,
+ "width": 564,
+ "x": 0,
+ "y": 0
+ },
+ "marks": [],
+ "name": "docs:0:zsh - \"doy@hornet:~\"",
+ "percent": 0.5,
+ "swallows": [
+ {
+ "instance": "^Alacritty$"
+ }
+ ],
+ "type": "con"
+ }
+ ]
+}
+