use fontawesome icons for workspaces

This commit is contained in:
David Todd 2019-04-03 20:47:19 -05:00
parent e78baed381
commit 6855040a2c

View File

@ -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