From 42840283a4b73d3aca82bfbac496980a7164720c Mon Sep 17 00:00:00 2001 From: Jesper Fussing Moerk Date: Wed, 7 Mar 2018 15:04:04 +0100 Subject: [PATCH] Added workspace 7 to work --- i3/.config/i3/layouts/work-workspace7-oc.json | 76 +++++++++++++++++++ i3/.config/i3/scripts/work-layout.sh | 10 ++- 2 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 i3/.config/i3/layouts/work-workspace7-oc.json diff --git a/i3/.config/i3/layouts/work-workspace7-oc.json b/i3/.config/i3/layouts/work-workspace7-oc.json new file mode 100644 index 0000000..f539568 --- /dev/null +++ b/i3/.config/i3/layouts/work-workspace7-oc.json @@ -0,0 +1,76 @@ +{ + "layout": "splitv", + "nodes": [ + { + "border": "pixel", + "current_border_width": 1, + "floating": "auto_off", + "geometry": { + "height": 410, + "width": 654, + "x": 0, + "y": 0 + }, + "name": "oc-shell1", + "percent": 0.5, + "swallows": [ + { + "class": "^Gnome\\-terminal$", + "title": "^oc-shell1$" + } + ], + "type": "con" + }, + { + "border": "pixel", + "floating": "auto_off", + "layout": "splith", + "nodes": [ + { + "border": "pixel", + "current_border_width": 1, + "floating": "auto_off", + "geometry": { + "height": 410, + "width": 654, + "x": 0, + "y": 0 + }, + "name": "oc-shell2", + "percent": 0.5, + "swallows": [ + { + "class": "^Gnome\\-terminal$", + "title": "^oc-shell2$" + } + ], + "type": "con" + }, + { + "border": "pixel", + "current_border_width": 1, + "floating": "auto_off", + "geometry": { + "height": 410, + "width": 654, + "x": 0, + "y": 0 + }, + "name": "oc-shell3", + "percent": 0.5, + "swallows": [ + { + "class": "^Gnome\\-terminal$", + "title": "^oc-shell3$" + } + ], + "type": "con" + } + ], + "percent": 0.5, + "type": "con" + } + ], + "percent": 0.5, + "type": "con" +} \ No newline at end of file diff --git a/i3/.config/i3/scripts/work-layout.sh b/i3/.config/i3/scripts/work-layout.sh index 34c1807..b4c65d5 100755 --- a/i3/.config/i3/scripts/work-layout.sh +++ b/i3/.config/i3/scripts/work-layout.sh @@ -23,13 +23,19 @@ sleep 2 i3-msg 'workspace "5: Media"; append_layout ~/.config/i3/layouts/work-workspace5-media.json' i3-msg 'workspace "5: Media"; exec gnome-terminal --profile laptop --title=tasks' i3-msg 'workspace "5: Media"; exec gnome-terminal --profile laptop --title=newsbeuter -e newsbeuter' -i3-msg 'workspace "5: Media"; exec gnome-terminal --profile laptop --title=ncmpc -e ncmpc' +i3-msg 'workspace "5: Media"; exec gnome-terminal --profile laptop --title=ncmpc -e ncmpcpp' i3-msg 'workspace "5: Media"; move workspace to output eDP-1' sleep 2 + i3-msg 'workspace "6: REST"; append_layout ~/.config/i3/layouts/work-workspace6-rest.json' -i3-msg 'workspace "6: REST"; exec gnome-terminal --profile default --title=http-prompt -cd /home/jfm/Customers/TDC/ApiTest -e http-prompt' +i3-msg 'workspace "6: REST"; exec gnome-terminal --profile default --title=http-prompt --working-directory=/home/jfm/Customers/TDC/ApiTest -e http-prompt' i3-msg 'workspace "6: REST"; move workspace to output DP-2-1' sleep 2 + +i3-msg 'workspace "5: Media"; append_layout ~/.config/i3/layouts/work-workspace7-oc.json' +i3-msg 'workspace "5: Media"; exec gnome-terminal --profile default --title=oc-shell1' +i3-msg 'workspace "5: Media"; exec gnome-terminal --profile default --title=oc-shell2' +i3-msg 'workspace "5: Media"; exec gnome-terminal --profile default --title=oc-shell3' i3-msg 'workspace "7: OC"; move workspace to output DP-2-2' feh --bg-scale --zoom fill ~/.config/i3/wallpaper/fedora_simple.jpg