From 20ab9e376113ed45a232e1ed1667f1061d4307f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Fussing=20M=C3=B8rk?= Date: Fri, 29 Jun 2018 11:08:30 +0200 Subject: [PATCH] Updated some fonts and fixed ws04 to use termite --- i3/.i3/config | 19 +++++++++---------- i3/.i3/layouts/workspace4-work.json | 14 +++++++------- i3/.i3/workspaces/ws04.sh | 6 +++--- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/i3/.i3/config b/i3/.i3/config index 11a6c31..3dafb31 100644 --- a/i3/.i3/config +++ b/i3/.i3/config @@ -21,7 +21,7 @@ bindsym $mod+n border normal # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font xft:URWGothic-Book 11 +font xft:Roboto Mono Medium for Powerline 14 # Use Mouse+$mod to drag floating windows floating_modifier $mod @@ -33,7 +33,6 @@ bindsym $mod+Return exec termite bindsym $mod+Shift+q kill # start program launcher -#bindsym $mod+d exec --no-startup-id dmenu_recency bindsym $mod+d exec --no-startup-id rofi -show drun -config ~/.config/rofi/config # launch categorized menu @@ -146,9 +145,9 @@ set $ws1 1:Comms set $ws2 2:Web set $ws3 3:IDE set $ws4 4:Work -set $ws5 5:OC -set $ws6 6:Term 1 -set $ws7 7:Term 2 +set $ws5 5:OC Test +set $ws6 6:OC Prod +set $ws7 7:Prod set $ws8 8:Media # switch to workspace @@ -186,10 +185,10 @@ bindsym $mod+Ctrl+1 exec --no-startup-id ~/.i3/workspaces/ws01.sh bindsym $mod+Ctrl+2 exec --no-startup-id ~/.i3/workspaces/ws02.sh bindsym $mod+Ctrl+3 exec --no-startup-id ~/.i3/workspaces/ws03.sh bindsym $mod+Ctrl+4 exec --no-startup-id ~/.i3/workspaces/ws04.sh -bindsym $mod+Ctrl+5 exec --no-startup-id ~/.i3/workspaces/ws05.sh -bindsym $mod+Ctrl+6 exec --no-startup-id ~/.i3/workspaces/ws06.sh -bindsym $mod+Ctrl+7 exec --no-startup-id ~/.i3/workspaces/ws07.sh -bindsym $mod+Ctrl+8 exec --no-startup-id ~/.i3/workspaces/ws08.sh +#bindsym $mod+Ctrl+5 exec --no-startup-id ~/.i3/workspaces/ws05.sh +#bindsym $mod+Ctrl+6 exec --no-startup-id ~/.i3/workspaces/ws06.sh +#bindsym $mod+Ctrl+7 exec --no-startup-id ~/.i3/workspaces/ws07.sh +#bindsym $mod+Ctrl+8 exec --no-startup-id ~/.i3/workspaces/ws08.sh # Open specific applications in floating mode for_window [title="alsamixer"] floating enable border pixel 1 @@ -337,7 +336,7 @@ bar { bindsym button4 nop bindsym button5 nop - font xft:DejaVu Sans Mono, FontAwesome 16 + font xft:Roboto Mono Medium for Powerline, FontAwesome 16 strip_workspace_numbers yes colors { diff --git a/i3/.i3/layouts/workspace4-work.json b/i3/.i3/layouts/workspace4-work.json index b820844..2c92a80 100644 --- a/i3/.i3/layouts/workspace4-work.json +++ b/i3/.i3/layouts/workspace4-work.json @@ -15,8 +15,8 @@ "percent": 0.6, "swallows": [ { - "class": "^URxvt$", - "instance": "^vim$" + "class": "^Termite$", + "title": "^vim$" } ], "type": "con" @@ -40,8 +40,8 @@ "percent": 0.5, "swallows": [ { - "class": "^URxvt$", - "instance": "^shell1$" + "class": "^Termite$", + "title": "^shell1$" } ], "type": "con" @@ -60,8 +60,8 @@ "percent": 0.5, "swallows": [ { - "class": "^URxvt$", - "instance": "^shell2$" + "class": "^Termite$", + "title": "^shell2$" } ], "type": "con" @@ -73,4 +73,4 @@ ], "percent": 0.5, "type": "con" -} \ No newline at end of file +} diff --git a/i3/.i3/workspaces/ws04.sh b/i3/.i3/workspaces/ws04.sh index d5fbc8a..7552a00 100755 --- a/i3/.i3/workspaces/ws04.sh +++ b/i3/.i3/workspaces/ws04.sh @@ -2,7 +2,7 @@ . ~/.i3/env i3-msg "workspace 4:Work; append_layout ~/.i3/layouts/workspace4-work.json" -i3-msg "workspace 4:Work; exec urxvt -name vim -e vim" -i3-msg "workspace 4:Work; exec urxvt -name shell1" -i3-msg "workspace 4:Work; exec urxvt -name shell2" +i3-msg "workspace 4:Work; exec termite -t vim -e vim" +i3-msg "workspace 4:Work; exec termite -t shell1" +i3-msg "workspace 4:Work; exec termite -t shell2" i3-msg "workspace 4:Work; move workspace to output $PRIMARY"