From e42c989d6def401dd893a73cef5d5deac8b42778 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 16 Nov 2018 01:34:16 -0500 Subject: prefer xdg basedir specification directories --- config/i3/browser-workspace.json | 16 ++++++ config/i3/config | 77 +++++++++++++++++++++++++++ config/i3/signal-workspace.json | 16 ++++++ config/i3/terminal-workspace.json | 109 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 218 insertions(+) create mode 100644 config/i3/browser-workspace.json create mode 100644 config/i3/config create mode 100644 config/i3/signal-workspace.json create mode 100644 config/i3/terminal-workspace.json (limited to 'config/i3') diff --git a/config/i3/browser-workspace.json b/config/i3/browser-workspace.json new file mode 100644 index 0000000..eea123a --- /dev/null +++ b/config/i3/browser-workspace.json @@ -0,0 +1,16 @@ +{ + "border": "pixel", + "floating": "auto_off", + "geometry": { + "x": 0, + "y": 0 + }, + "name": "Firefox", + "percent": 1, + "swallows": [ + { + "class": "^Firefox$" + } + ], + "type": "con" +} diff --git a/config/i3/config b/config/i3/config new file mode 100644 index 0000000..312df8e --- /dev/null +++ b/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="urxvt-kuake"] floating enable +for_window [instance="urxvt-kuake"] sticky enable +for_window [instance="urxvt-kuake"] move absolute position 0 px 0 px + +for_window [class="Steam"] 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+Mod1+h split h +bindsym $mod+Mod1+v split v + +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+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 10 +} + +exec --no-startup-id "i3-msg 'workspace 6; append_layout .config/i3/browser-workspace.json; exec firefox'" +exec --no-startup-id "i3-msg 'workspace 7; append_layout .config/i3/signal-workspace.json; exec signal-desktop'" +exec --no-startup-id "i3-msg 'workspace 5; append_layout .config/i3/terminal-workspace.json; exec alacritty; exec alacritty; exec alacritty; exec alacritty; exec alacritty'" diff --git a/config/i3/signal-workspace.json b/config/i3/signal-workspace.json new file mode 100644 index 0000000..acac998 --- /dev/null +++ b/config/i3/signal-workspace.json @@ -0,0 +1,16 @@ +{ + "border": "pixel", + "floating": "auto_off", + "geometry": { + "x": 0, + "y": 0 + }, + "name": "Signal", + "percent": 1, + "swallows": [ + { + "class": "^Signal$" + } + ], + "type": "con" +} diff --git a/config/i3/terminal-workspace.json b/config/i3/terminal-workspace.json new file mode 100644 index 0000000..8275b18 --- /dev/null +++ b/config/i3/terminal-workspace.json @@ -0,0 +1,109 @@ +{ + "border": "pixel", + "floating": "auto_off", + "layout": "splitv", + "percent": 0.295, + "type": "con", + "nodes": [ + { + "border": "pixel", + "floating": "auto_off", + "geometry": { + "height": 340, + "width": 564, + "x": 0, + "y": 0 + }, + "name": "main:0:zsh - \"doy@lance:~\"", + "percent": 0.333333333333333, + "swallows": [ + { + "instance": "^Alacritty$" + } + ], + "type": "con" + }, + { + "border": "pixel", + "floating": "auto_off", + "geometry": { + "height": 340, + "width": 564, + "x": 0, + "y": 0 + }, + "name": "work:0:zsh - \"doy@lance:~/work\"", + "percent": 0.333333333333333, + "swallows": [ + { + "instance": "^Alacritty$" + } + ], + "type": "con" + }, + { + "border": "pixel", + "floating": "auto_off", + "geometry": { + "height": 340, + "width": 564, + "x": 0, + "y": 0 + }, + "name": "misc:0:zsh - \"doy@lance:~\"", + "percent": 0.333333333333333, + "swallows": [ + { + "instance": "^Alacritty$" + } + ], + "type": "con" + } + ] +} + +{ + "border": "pixel", + "floating": "auto_off", + "layout": "splitv", + "percent": 0.705, + "type": "con", + "nodes": [ + { + "border": "pixel", + "floating": "auto_off", + "geometry": { + "height": 340, + "width": 564, + "x": 0, + "y": 0 + }, + "name": "chat:0:WeeChat 0.4.3 - \"WeeChat 0.4.3\"", + "percent": 0.5, + "swallows": [ + { + "instance": "^Alacritty$" + } + ], + "type": "con" + }, + { + "border": "pixel", + "floating": "auto_off", + "geometry": { + "height": 340, + "width": 564, + "x": 0, + "y": 0 + }, + "name": "docs:0:zsh - \"doy@lance:~\"", + "percent": 0.5, + "swallows": [ + { + "instance": "^Alacritty$" + } + ], + "type": "con" + } + ] +} -- cgit v1.2.3-54-g00ecf