Added default workspace positioning.

This commit is contained in:
Joachim Nielandt 2021-10-28 16:47:22 +02:00
parent 1caf4dce59
commit 18ed1ad83e
3 changed files with 129 additions and 2 deletions

View File

@ -37,14 +37,22 @@ set $wsright "12:"
# using workspace names here, otherwise doesn't work as expected
# assign [class="Chromium"] $ws1
assign [class="Thunderbird"] $ws2
# workspace 9: chat
assign [class="Slack"] $ws9
assign [class="Mattermost"] $ws9
assign [class="Hamsket"] $ws9
assign [class="discord"] $ws9
assign [class="signal"] $ws9
assign [class="microsoft teams - preview"] $ws9
assign [class="Wfica_Seamless"] $ws10
#assign [class="jetbrains-idea"] 7
#assign [class="jetbrains-webstorm"] 8
#assign [class="jetbrains-datagrip"] 9
exec --no-startup-id "i3-msg 'workspace 9:9; append_layout /home/joachim/.config/i3/workspace-9.json'"
# i3-gaps
gaps inner 10
gaps outer 5

View File

@ -0,0 +1,118 @@
{
"border": "normal",
"floating": "auto_off",
"layout": "splitv",
"marks": [],
"percent": 0.4,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 982,
"width": 1886,
"x": 1937,
"y": 713
},
"marks": [],
"name": "Tron intorduction | Microsoft Teams",
"percent": 0.7,
"swallows": [
{
"class": "^Microsoft\\ Teams\\ \\-\\ Preview$",
"instance": "^microsoft\\ teams\\ \\-\\ preview$",
"machine": "^jnielandt$",
"title": "^Tron\\ intorduction\\ \\|\\ Microsoft\\ Teams$",
"window_role": "^browser\\-window$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 500,
"width": 1000,
"x": 1937,
"y": 732
},
"marks": [],
"name": "Discord",
"percent": 0.3,
"swallows": [
{
"class": "^discord$",
"instance": "^discord$",
"machine": "^jnielandt$",
"title": "^Discord$",
"window_role": "^browser\\-window$"
}
],
"type": "con"
}
]
}
{
"border": "normal",
"floating": "auto_off",
"layout": "splitv",
"marks": [],
"percent": 0.6,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 687,
"width": 936,
"x": 967,
"y": 376
},
"marks": [],
"name": "Slack | dn_dutch | DN",
"percent": 0.7,
"swallows": [
{
"class": "^Slack$",
"instance": "^slack$",
"machine": "^jnielandt$",
"title": "^Slack\\ \\|\\ dn_dutch\\ \\|\\ DN$",
"window_role": "^browser\\-window$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 610,
"width": 2526,
"x": 1937,
"y": 415
},
"marks": [],
"name": "Signal",
"percent": 0.3,
"swallows": [
{
"class": "^Signal$",
"instance": "^signal$",
"machine": "^jnielandt$",
"title": "^Signal$",
"window_role": "^browser\\-window$"
}
],
"type": "con"
}
]
}

View File

@ -280,6 +280,7 @@ strip-wsnumbers = true
ws-icon-default = ﱤ
; mode menu styling
label-mode = %mode%
label-mode-padding = 1
label-mode-foreground = ${colors.light0_hard}
label-mode-background = ${colors.dark2}
@ -291,9 +292,9 @@ label-unfocused = ·%name%
label-visible = ·%name%
label-urgent = ·%name%
label-focused-foreground = ${colors.light0_hard}
label-focused-foreground = ${colors.bright_green}
label-unfocused-foreground = ${colors.light0_hard}
label-visible-foreground = ${colors.light0_hard}
label-visible-foreground = ${colors.neutral_green}
label-urgent-foreground = ${colors.bright_orange}
label-focused-padding = 1