aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i3/.config/i3/config21
-rw-r--r--i3_workspaces/.config/i3_workspaces/config28
2 files changed, 33 insertions, 16 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 8b6f4fe..aa08fbc 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -109,9 +109,6 @@ bindsym $mod+i exec rofi -show run
# bindsym $mod+i exec synapse
bindsym $modAltkey+Tab exec rofi -show window
-# There also is the (new) i3-dmenu-desktop which only displays applications
-# shipping a .desktop file. It is a wrapper around dmenu, so you need that
-# installed.
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu="rofi -dmenu -p run"
bindsym $mod+W exec --no-startup-id "rofi -modi \\"window,Workspaces:/home/sebastien/dotfiles/rofi/workspaces.sh\\" -show Workspaces"
@@ -241,23 +238,15 @@ bindsym $modAltkey+Escape workspace back_and_forth
bindsym shift+XF86HomePage exec pcmanfm
assign [class="Inkscape"] $Inkscape
-assign [class="Firefox"] $Web
-assign [class="Chromium"] $Web
-assign [class="Thunderbird"] $Mail
-assign [class="Gmpc"] $Musique
for_window [class="crimson"] floating enable
-#exec_always --no-startup-id find ~/wallpaper/wallpaper/wallpapers -type f \( -name '*.jpg' -o -name '*.png' \) -print0 | shuf -n1 -z | xargs -0 feh --bg-scale
-
-#exec_always --no-startup-id /home/sebastien/scripts/i3/wallpaper_root.py
-
# Add background, with a gradient on top
-exec_always --no-startup-id ~/scripts/i3/wallpaper.sh ~/wallpaper/current.jpg
-exec_always --no-startup-id xrdb .Xdefaults
-exec_always --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 ~/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 "xrdb .Xdefaults; polybar i3"
-exec --no-startup-id "/home/sebastien/Projets/ocaml/i3_workspaces/i3_workspaces"
-exec --no-startup-id "unclutter"
+#exec --no-startup-id "unclutter"
+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
new file mode 100644
index 0000000..a3321b4
--- /dev/null
+++ b/i3_workspaces/.config/i3_workspaces/config
@@ -0,0 +1,28 @@
+[global]
+image=~/wallpaper/i3_wallpapers/default.jpg
+on_focus=~/scripts/i3/wallpaper.sh ${image}
+
+[2:]
+image=~/wallpaper/i3_wallpapers/5.jpg
+
+[3:]
+image=~/wallpaper/i3_wallpapers/3.jpg
+
+[4:]
+image=~/wallpaper/i3_wallpapers/4.jpg
+
+[5:]
+image=~/wallpaper/i3_wallpapers/2.jpg
+
+[6:]
+image=~/wallpaper/i3_wallpapers/6.jpg
+
+[100:]
+on_init=thunderbird
+
+[101:]
+image=~/wallpaper/i3_wallpapers/ESnflJn.jpg
+on_init=firefox
+
+[102:]
+on_init=gmpc