aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2017-08-21 21:21:16 +0200
committerSébastien Dailly <sebastien@chimrod.com>2017-08-21 21:21:16 +0200
commitc1204f96c431ba6a593803faccdf3d8f1e2994b0 (patch)
treecc8d27a30ebcbaeacae9e922dfdd7042dbef2f8f /i3
parent48ac589d0f6ae81457a4090d803f2492b8d8c6ee (diff)
Update i3 conf
Diffstat (limited to 'i3')
-rw-r--r--i3/.config/i3/config41
1 files changed, 15 insertions, 26 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 87f40d8..a0cbb85 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -5,7 +5,6 @@
# Some colors
# See .Xdefaults for the color list
-set $background #1c1c1c
# Red
set $color1 #b32c59
@@ -38,18 +37,22 @@ set $Mail 100:Mail
set $Web 101:Web
set $Musique 102:Musique
+set $black #000000
+
# class border backgr. text indicator child_border
-client.focused $color2 $color0 #ffffff #2e9ef4 $color0
-client.focused_inactive #333333 #5f676a #ffffff #484e50 $color0
-client.unfocused #333333 #222222 #888888 #292d2e $color2
+client.focused $color4 $color0 #ffffff #2e9ef4 $black
+client.focused_inactive #333333 #5f676a #ffffff #484e50 $black
+client.unfocused #333333 #222222 #888888 #292d2e #ffffff
client.urgent #2f343a #900000 #ffffff #900000 $color1
-client.placeholder #000000 #0c0c0c #ffffff #000000 $color2
+client.placeholder $black #0c0c0c #ffffff $black $black
# Remove title bar
-for_window [class="^.*"] border pixel 0
+new_window pixel 1
+hide_edge_borders smart
+#for_window [class="^.*"] border pixel 0
# i3 gaps
-#smart_gaps on
+smart_gaps on
gaps inner 10
gaps outer 0
@@ -58,7 +61,7 @@ set $mod Mod4
# The Alt Gr Key
set $modAltkey Mod5
-new_window normal
+#new_window normal
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. ISO 10646 = Unicode
@@ -74,7 +77,8 @@ floating_modifier $mod
# start a terminal
#bindsym $mod+Return exec urxvtcd
-bindsym $mod+Return exec /usr/local/bin/tabbed -c -r 2 st -w ''
+#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
@@ -155,7 +159,7 @@ bindsym $modAltkey+F10 workspace 10
bindsym $modAltkey+F11 workspace 11
bindsym $modAltkey+F12 workspace 12
-bindsym XF86Mail exec "~/scripts/i3/launch.sh $Mail icedove"
+bindsym XF86Mail exec "~/scripts/i3/launch.sh $Mail thunderbird"
bindsym XF86Calculator exec "~/scripts/i3/launch.sh $Musique gmpc"
bindsym XF86HomePage exec "~/scripts/i3/launch.sh $Web firejail firefox"
@@ -210,26 +214,11 @@ mode "resize" {
bindsym $mod+o mode "resize"
-# Start i3bar to display a workspace bar (plus the system information i3status
-# finds out, if available)
-#bar {
-# colors {
-# background #1c1c1c
-# focused_workspace $color2 $color0 $color7
-# urgent_workspace $color1 $color0 $color7
-# }
-#
-# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
-# position top
-# status_command ~/scripts/i3/status.sh
-# #bindsym button1 exec gsimplecal
-#}
-
bindsym $modAltkey+Escape workspace back_and_forth
bindsym shift+XF86HomePage exec pcmanfm
assign [class="Firefox"] $Web
-assign [class="Icedove"] $Mail
+assign [class="Thunderbird"] $Mail
assign [class="Gmpc"] $Musique
for_window [class="crimson"] floating enable