From d253fa8a01f54ca13e04905ad33ded326e11423e Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 12 Jul 2017 12:47:45 -0500 Subject: -added saved workspace --- i3/config | 28 +++++++++++++--------------- i3/one.json | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ i3/startup.sh | 6 ++++++ 3 files changed, 69 insertions(+), 15 deletions(-) create mode 100644 i3/one.json create mode 100755 i3/startup.sh (limited to 'i3') diff --git a/i3/config b/i3/config index f27e302..1ba0d58 100644 --- a/i3/config +++ b/i3/config @@ -5,11 +5,11 @@ font pango:DejaVu Sans Mono 8 floating_modifier $mod -bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Return exec xterm -bg black -fg white -bindsym $mod+q kill +bindsym $mod+Shift+q kill -bindsym $mod+d exec dmenu_run -sb '#e65200' +bindsym $mod+d exec dmenu_run -sb '#10c390' bindsym $mod+j focus left bindsym $mod+k focus down @@ -47,8 +47,6 @@ 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 @@ -73,7 +71,7 @@ bindsym $mod+Shift+0 move container to workspace 10 bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart -bindsym $mod+Shift+e exec i3-msg exit +bindsym $mod+Shift+e exec "i3-msg exit" mode "resize" { bindsym j resize shrink width 10 px or 10 ppt @@ -93,15 +91,15 @@ mode "resize" { bindsym $mod+r mode "resize" bar { - position top - status_command ~/.i3/status.sh - - colors { - statusline #ab363f - focused_workspace #4c4c4c #ab363f #ffffff - } + status_command i3status + colors { + statusline #ffffff + focused_workspace #4c4c4c #10c390 #ffffff + } } -client.focused #ab363f #ab363f #ffffff #ab363f -exec --no-startup-id xrandr --output DVI-I-1 --left-of DVI-I-0 +client.focused #10c390 #10c390 #ffffff #10c390 + +bindsym $mod+Shift+w exec --no-startup-id /home/tom/.i3/startup.sh + exec --no-startup-id nitrogen --restore diff --git a/i3/one.json b/i3/one.json new file mode 100644 index 0000000..9a7d516 --- /dev/null +++ b/i3/one.json @@ -0,0 +1,50 @@ +{ + "border": "normal", + "current_border_width": 2, + "floating": "auto_off", + "name": "Inbox - thomas.barrett_ext@hoefliger.de - Mozilla Thunderbird", + "percent": 0.616666666666667, + "swallows": [ + { + "class": "^Thunderbird$" + } + ], + "type": "con" +} + +{ + "border": "normal", + "floating": "auto_off", + "layout": "splitv", + "percent": 0.383333333333333, + "type": "con", + "nodes": [ + { + "border": "normal", + "current_border_width": 2, + "floating": "auto_off", + "name": "tom@soyuz: ~", + "percent": 0.5, + "swallows": [ + { + "class": "^XTerm$" + } + ], + "type": "con" + }, + { + "border": "normal", + "current_border_width": 2, + "floating": "auto_off", + "name": "Oracle VM VirtualBox Manager", + "percent": 0.5, + "swallows": [ + { + "class": "^VirtualBox$" + } + ], + "type": "con" + } + ] +} + diff --git a/i3/startup.sh b/i3/startup.sh new file mode 100755 index 0000000..493d1ac --- /dev/null +++ b/i3/startup.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +i3-msg 'workspace 1; append_layout /home/tom/.i3/one.json' +thunderbird & +xterm -bg black -fg white -e "htop" & +virtualbox & -- cgit v1.2.3