From 6855040a2cbd1dfef675de25baab224a29ebe2df Mon Sep 17 00:00:00 2001 From: David Todd Date: Wed, 3 Apr 2019 20:47:19 -0500 Subject: [PATCH] use fontawesome icons for workspaces --- i3/config | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/i3/config b/i3/config index afaf738..3ef4d43 100644 --- a/i3/config +++ b/i3/config @@ -45,10 +45,10 @@ exec --no-startup-id $i3_path/wallpaper.sh& ################################################################################################ exec --no-startup-id volumeicon -#bindsym $mod+Ctrl+m exec terminal -e 'alsamixer' -exec --no-startup-id pulseaudio -exec --no-startup-id pa-applet -bindsym $mod+Ctrl+m exec pavucontrol +bindsym $mod+Ctrl+m exec terminal -e 'alsamixer' +#exec --no-startup-id pulseaudio +#exec --no-startup-id pa-applet +#bindsym $mod+Ctrl+m exec pavucontrol ################################################################################################ @@ -134,14 +134,15 @@ bindsym $mod+Ctrl+Right workspace next bindsym $mod+Ctrl+Left workspace prev # workspaces -set $ws1 1 -set $ws2 2 -set $ws3 3 -set $ws4 4 -set $ws5 5 -set $ws6 6 -set $ws7 7 -set $ws8 8 +set $ws1 "1|" +set $ws2 "2|" +set $ws3 "3|" +set $ws4 "4|" +set $ws5 "5|" +set $ws6 "6|" +set $ws7 "7|" +set $ws8 "8|" +set $ws9 "9|" # switch to workspace bindsym $mod+1 workspace $ws1 @@ -152,6 +153,7 @@ bindsym $mod+5 workspace $ws5 bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 # Move focused container to workspace bindsym $mod+Ctrl+1 move container to workspace $ws1 @@ -162,6 +164,7 @@ bindsym $mod+Ctrl+5 move container to workspace $ws5 bindsym $mod+Ctrl+6 move container to workspace $ws6 bindsym $mod+Ctrl+7 move container to workspace $ws7 bindsym $mod+Ctrl+8 move container to workspace $ws8 +bindsym $mod+Ctrl+9 move container to workspace $ws9 # Move to workspace with focused container bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 @@ -172,6 +175,16 @@ bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5 bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9 + +# Assign window type to classes +assign [class="^telegram-desktop"] $ws2 +assign [class="^Telegram"] $ws2 +assign [class="^Discord"] $ws2 +assign [class="^Spotify"] $ws6 +assign [class="^discord"] $ws2 +assign [class="^Steam"] $ws8 +assign [class="^Java"] $ws7 # Open specific applications in floating mode for_window [title="alsamixer"] floating enable border pixel 1 @@ -268,6 +281,9 @@ exec --no-startup-id clipit exec_always --no-startup-id ff-theme-util exec_always --no-startup-id fix_xcursor exec --no-startup-id start_conky_mia +exec --no-startup-id i3-msg 'workspace $ws2; exec telegram-desktop' +exec --no-startup-id i3-msg 'workspace $ws2; exec discord' + # Timeout to activate screensaver/lockscreen exec --no-startup-id xautolock -time 30 -locker i3lock-fancy -p