Simplify i3 workspaces with polybar icons

This commit is contained in:
Marty Oehme 2019-12-02 21:14:39 +01:00
parent 8be1b224f9
commit 430b018e74
3 changed files with 23 additions and 11 deletions

View file

@ -101,8 +101,8 @@ bindsym $mod+g gaps inner current set 0; gaps outer current set 0; exec picom_to
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1:"
set $ws2 "2:"
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
@ -110,7 +110,7 @@ set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10:"
set $ws10 "10"
# switch to workspace
bindsym $mod+1 workspace $ws1
@ -206,7 +206,7 @@ exec_always --no-startup-id polybar-launch simple-top
# default workspaces for most used apps
# assign [class="^qutebrowser$"] → number 1
# spotify needs for_window, see https://i3wm.org/docs/userguide.html#assign_workspace
for_window [class="^spotify$"] number "10:"
for_window [class="^spotify$"] number 10
# autostart often used apps
# needs to be done like this to both automatically start the apps on correct workspace