Updated i3 conf

This commit is contained in:
Damien Broqua 2020-04-25 15:56:49 +02:00
parent d29b829b39
commit e3d2384a89
2 changed files with 51 additions and 18 deletions

View file

@ -3,3 +3,16 @@ My GNU/Linux home config
* i3 * i3
* zsh * zsh
## Requirements
* tilix
* i3lock
* py3status
* compton
* feh
* scrot
* qdbus
* ruby-notify

View file

@ -25,7 +25,8 @@ bindsym Control+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run -fn 'Droid Sans Mono-8' bindsym $mod+d exec dmenu_run -fn 'Droid Sans Mono-8'
bindsym Mod1+space exec dmenu_run -fn 'Droid Sans Mono-8' #bindsym Mod1+space exec dmenu_run -fn 'Droid Sans Mono-8'
bindsym Mod1+space exec "rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'Noto Sans 8'"
# There also is the (new) i3-dmenu-desktop which only displays applications # 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 # shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed. # installed.
@ -152,15 +153,26 @@ bindsym $mod+r mode "resize"
bar { bar {
font pango:DejaVu Sans Mono, Icons 8 font pango:DejaVu Sans Mono, Icons 8
status_command py3status status_command py3status
colors { # colors {
statusline #f2f2f2 # statusline #f2f2f2
background #3e3f3f # background #3e3f3f
separator #f2f2f2 # separator #f2f2f2
#color class border back. text # #color class border back. text
focused_workspace #F3F4F5 #747C84 #F3F4F5 # focused_workspace #F3F4F5 #747C84 #F3F4F5
active_workspace #747C84 #747C84 #F3F4F5 # active_workspace #747C84 #747C84 #F3F4F5
inactive_workspace #747C84 #747C84 #F3F4F5 # inactive_workspace #747C84 #747C84 #F3F4F5
urgent_workspace #747C84 #747C84 #F3F4F5 # urgent_workspace #747C84 #747C84 #F3F4F5
# }
colors {
background #2f343f
statusline #ffffff
separator #4b5262
# colour of border, background, and text
focused_workspace #2f343f #bf616a #d8dee8
active_workspace #2f343f #2f343f #d8dee8
inactive_workspace #2f343f #2f343f #d8dee8
urgent_workspace #2f343f #ebcb8b #2f343f
} }
} }
@ -173,6 +185,8 @@ exec --no-startup-id i3-msg 'exec nextcloud &'
#exec --no-startup-id i3-msg 'exec ssh-add &' #exec --no-startup-id i3-msg 'exec ssh-add &'
# Launch app on start session # Launch app on start session
exec --no-startup-id xsettingsd &
exec --no-startup-id compton -b
exec --no-startup-id i3-msg 'exec /usr/bin/tilix' exec --no-startup-id i3-msg 'exec /usr/bin/tilix'
exec --no-startup-id i3-msg 'exec /usr/bin/firefox' exec --no-startup-id i3-msg 'exec /usr/bin/firefox'
#exec --no-startup-id i3-msg 'exec /usr/bin/thunderbird' #exec --no-startup-id i3-msg 'exec /usr/bin/thunderbird'
@ -208,16 +222,22 @@ bindsym Shift+XF86AudioNext exec dbus-send --print-reply --dest=org.mpris.MediaP
bindsym Print exec ~/Bin/screenshooter.sh bindsym Print exec ~/Bin/screenshooter.sh
#colors border back text indicator #colors border back text indicator
client.focused #0088CC #0088CC #ffffff #dddddd #client.focused #0088CC #0088CC #ffffff #dddddd
client.focused_inactive #333333 #333333 #888888 #292d2e #client.focused_inactive #333333 #333333 #888888 #292d2e
client.unfocused #333333 #333333 #888888 #292d2e #client.unfocused #333333 #333333 #888888 #292d2e
client.urgent #2f343a #900000 #ffffff #900000 #client.urgent #2f343a #900000 #ffffff #900000
client.focused #bf616a #2f343f #d8dee8 #bf616a #d8dee8
client.focused_inactive #2f343f #2f343f #d8dee8 #2f343f #2f343f
client.unfocused #2f343f #2f343f #d8dee8 #2f343f #2f343f
client.urgent #2f343f #2f343f #d8dee8 #2f343f #2f343f
client.placeholder #2f343f #2f343f #d8dee8 #2f343f #2f343f
client.background #2f343f
# Remove border or fix workspace id for some apps # Remove border or fix workspace id for some apps
for_window [class="Spotify"] border none, move container to workspace 3 for_window [class="Spotify"], move container to workspace 3
#for_window [class="Clementine"] border none, move container to workspace 3 for_window [class="Thunderbird"], move container to workspace 2
for_window [class="Thunderbird"] border none, move container to workspace 2
for_window [class="Firefox"], move container to workspace 1 for_window [class="Firefox"], move container to workspace 1
#for_window [class="Firefox"]fullscreen enable, move container to workspace 1
for_window [class="Ristretto"] fullscreen enable for_window [class="Ristretto"] fullscreen enable
default_border pixel 0