aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2020-09-05 15:28:09 +0200
committerSébastien Dailly <sebastien@chimrod.com>2020-09-05 15:28:09 +0200
commite9697d5d79682a4fa60e257341cc4663ec2116e7 (patch)
tree06d16189db3e6644749c4ece01749631e7278bf0
parentfb179a46d07acb29fbe61c0a46753a7e70d5ea72 (diff)
Update i3 configuration
-rw-r--r--i3/.config/i3/config10
-rw-r--r--i3_workspaces/.config/i3_workspaces/config4
-rw-r--r--polybar/.config/polybar/config13
3 files changed, 17 insertions, 10 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index aa08fbc..de2bd89 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -49,6 +49,7 @@ set $workspace_9 9:
set $workspace_10 10:
set $workspace_11 11:
set $workspace_12 12:
+set $Teams 98:
set $Inkscape 99:
set $Mail 100:
set $Web 101:
@@ -104,7 +105,7 @@ bindsym $mod+Return exec urxvtcd
bindsym $mod+q kill
# start dmenu (a program launcher)
-bindsym $mod+i exec rofi -show run
+bindsym $mod+i exec rofi -show run -show-icons
# bindsym $mod+i exec synapse
@@ -235,8 +236,9 @@ mode $mode_resize {
bindsym $mod+o mode $mode_resize
bindsym $modAltkey+Escape workspace back_and_forth
-bindsym shift+XF86HomePage exec pcmanfm
+bindsym shift+XF86HomePage exec pcmanfm-qt
+assign [class="Microsoft Teams"] $Teams
assign [class="Inkscape"] $Inkscape
for_window [class="crimson"] floating enable
@@ -244,9 +246,9 @@ for_window [class="crimson"] floating enable
# Add background, with a gradient on top
exec --no-startup-id ~/scripts/i3/wallpaper.sh ~/wallpaper/current.jpg
exec --no-startup-id xrdb .Xdefaults
-exec --no-startup-id compton -i .8 --focus-exclude '_NET_WM_NAME@:s = "rofi"' --blur-background --blur-kern '3,3,0.1,1,1,1,1,1,1,1'
+exec --no-startup-id compton
exec --no-startup-id "xrdb .Xdefaults; polybar i3"
#exec --no-startup-id "unclutter"
-exec_always --no-startup-id "/home/sebastien/Projets/ocaml/i3_workspaces/i3_workspaces"
+exec_always --no-startup-id /home/sebastien/Projets/ocaml/i3_workspaces/i3_workspaces
# for_window [class="URxvt"] layout tabbed
diff --git a/i3_workspaces/.config/i3_workspaces/config b/i3_workspaces/.config/i3_workspaces/config
index a3321b4..6b58606 100644
--- a/i3_workspaces/.config/i3_workspaces/config
+++ b/i3_workspaces/.config/i3_workspaces/config
@@ -1,6 +1,7 @@
[global]
image=~/wallpaper/i3_wallpapers/default.jpg
on_focus=~/scripts/i3/wallpaper.sh ${image}
+layout=binary
[2:]
image=~/wallpaper/i3_wallpapers/5.jpg
@@ -19,10 +20,13 @@ image=~/wallpaper/i3_wallpapers/6.jpg
[100:]
on_init=thunderbird
+on_init_swallow_class=thunderbird
[101:]
image=~/wallpaper/i3_wallpapers/ESnflJn.jpg
on_init=firefox
+on_init_swallow_class=Firefox
[102:]
on_init=gmpc
+on_init_swallow_class=Gmpc
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config
index d8f1572..ef63a79 100644
--- a/polybar/.config/polybar/config
+++ b/polybar/.config/polybar/config
@@ -147,12 +147,13 @@ ws-icon-9 = 9:;
ws-icon-10 = 10:;
ws-icon-11 = 11:;
ws-icon-12 = 12:;
-ws-icon-13 = 100:;
-ws-icon-14 = 101:;
-ws-icon-15 = 102:;
-ws-icon-16 = 50:;︹
-ws-icon-17 = 51:;
-ws-icon-18 = 99:;
+ws-icon-13 = 50:;︹
+ws-icon-14 = 51:;
+ws-icon-15 = 98:;
+ws-icon-16 = 99:;
+ws-icon-17 = 100:;
+ws-icon-18 = 101:;
+ws-icon-19 = 102:;
ws-icon-default = 
; Separator in between workspaces