aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i3/.config/i3/config40
1 files changed, 21 insertions, 19 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 4a72454..c1d05d4 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -5,34 +5,35 @@
# Some colors
# See .Xdefaults for the color list
+exec xrdb -merge ~/.Xdefaults
# Red
-set_from_resource $color1 i3wm.COLOR1 #b32c59
-set_from_resource $color9 i3wm.COLOR9 #e6175c
+set_from_resource $color1 i3wm.COLOR1 #b32c59
+set_from_resource $color9 i3wm.COLOR9 #e6175c
# Green
-set_from_resource $color2 i3wm.COLOR2 #86b359
+set_from_resource $color2 i3wm.COLOR2 #86b359
set_from_resource $color10 i3wm.COLOR10 #a1e65c
-set_from_resource $color3 i3wm.COLOR3 #b38659
+set_from_resource $color3 i3wm.COLOR3 #b38659
set_from_resource $color11 i3wm.COLOR11 #e6a15c
# Blue
-set_from_resource $color4 i3wm.COLOR4 #5986b3
+set_from_resource $color4 i3wm.COLOR4 #5986b3
set_from_resource $color12 i3wm.COLOR12 #5ca1e6
-set_from_resource $color5 i3wm.COLOR5 #8659b3
+set_from_resource $color5 i3wm.COLOR5 #8659b3
set_from_resource $color13 i3wm.COLOR13 #a15ce6
# Cyan
-set_from_resource $color6 i3wm.COLOR6 #59b386
+set_from_resource $color6 i3wm.COLOR6 #59b386
set_from_resource $color14 i3wm.COLOR14 #5ce6a1
# Black
-set_from_resource $color0 i3wm.COLOR0 #444444
-set_from_resource $color8 i3wm.COLOR8 #0a0a0a
+set_from_resource $color0 i3wm.COLOR0 #444444
+set_from_resource $color8 i3wm.COLOR8 #0a0a0a
-set_from_resource $color7 i3wm.COLOR7 #e6e6e6
+set_from_resource $color7 i3wm.COLOR7 #e6e6e6
set_from_resource $color15 i3wm.COLOR15 #eeeeee
# The workspaces are just the number, without label.
@@ -60,14 +61,14 @@ set $Musique Musique:
set_from_resource $black i3wm.COLOR0 #444444
# class border backgr. text indicator child_border
-client.focused $color2 $color0 #ffffff $color0 $color2
-client.focused_inactive #333333 #5f676a #ffffff #484e50 $black
-client.unfocused #333333 #222222 #888888 #292d2e $color0
-client.urgent #2f343a #900000 #ffffff #900000 $color1
-client.placeholder $black #0c0c0c #ffffff $black $black
+client.focused $color2 $black #ffffff $color9 $color2
+client.focused_inactive $color8 #5f676a #ffffff $color5 $color8
+client.unfocused $color2 #222222 #888888 #292d2e $color5
+client.urgent #2f343a #900000 #ffffff #900000 $color1
+client.placeholder $black #0c0c0c #ffffff $black $black
# Remove title bar
-default_border pixel 2
+default_border pixel 5
#hide_edge_borders smart
#for_window [class="^.*"] border pixel 0
@@ -102,8 +103,6 @@ floating_modifier $mod
bindsym $mod+Return exec urxvtcd
#bindsym $mod+Return exec kitty
#bindsym $mod+Return exec python3 /home/sebastien/Projets/kitty/__main__.py -1
-#bindsym $mod+Return exec /usr/local/bin/tabbed -c -r 2 st -w ''
-#bindsym $mod+Return exec /usr/local/bin/tabbed -c urxvtcd -embed
# kill focused window
bindsym $mod+q kill
@@ -118,6 +117,7 @@ bindsym $modAltkey+Tab exec --no-startup-id "rofi -modi \\"window,Workspaces:~/
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu="rofi -dmenu -p run"
bindsym $mod+W exec --no-startup-id "rofi -lines 5 -modi \\"window,Workspaces:~/dotfiles/rofi/workspaces.sh,Renommer:~/dotfiles/rofi/rename.sh\\" -show Workspaces"
bindsym $mod+r exec --no-startup-id "rofi -lines 5 -modi \\"window,Workspaces:~/dotfiles/rofi/workspaces.sh,Renommer:~/dotfiles/rofi/rename.sh\\" -show Renommer"
+bindsym $mod+n exec --no-startup-id "rofi -lines 5 -modi \\"window,Workspaces:~/dotfiles/rofi/workspaces.sh,Nouveau:~/dotfiles/rofi/new.sh\\" -show Nouveau"
# change focus
# bindsym $mod+t focus left
@@ -155,7 +155,7 @@ bindsym $mod+f fullscreen
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+u layout stacking
bindsym $mod+eacute layout tabbed
-bindsym $mod+p layout toggle split
+bindsym $mod+t layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
@@ -264,6 +264,8 @@ assign [class="Signal"] $Messages
assign [class="Inkscape"] $Inkscape
assign [class="Gmpc"] $Musique
+for_window [class="QtPass"] floating enable, sticky 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