This commit is contained in:
Simon Vieille 2017-11-29 09:10:19 +01:00
parent a0ab663573
commit c397cb79cc
No known key found for this signature in database
GPG key ID: 919533E2B946EA10
3 changed files with 26 additions and 18 deletions

View file

@ -52,12 +52,7 @@ format=json
interval=5
[mount_point_space_home]
command=/home/simon/.i3/bar/src/mount_point_space.php /home 80 90
format=json
interval=5
[mount_point_space_secured]
command=/home/simon/.i3/bar/src/mount_point_space.php /secured
command=/home/simon/.i3/bar/src/mount_point_space.php /home 90 95
format=json
interval=5

View file

@ -4,7 +4,8 @@ function color($label)
{
$colors = [
'music' => '#C3D4FF',
'date' => '#98A6C7',
'date' => '#E9F1FF',
//'date' => '#ffffff',
'info' => '#E9F1FF',
'critical' => '#FF474A',
'warning' => '#FF6836',

34
config
View file

@ -13,13 +13,14 @@ floating_modifier $mod
# start a terminal
# bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec /home/simon/bin/urxvt
bindsym $mod+Return exec ~/bin/urxvt
# kill focused window
bindsym $mod+Shift+A kill
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run -nb '#333333' -nf '#ffffff' -sb '#982323' -p "$" -fn 'Bitstream Vera Sans Mono-9'
bindsym $mod+shift+d exec ~/bin/i3_winmenu
# change focus
bindsym $mod+j focus left
@ -145,7 +146,7 @@ bindsym $mod+r mode "resize"
bar {
#status_command ~/.i3/i3status.sh
status_command i3blocks -c /home/simon/.i3/bar/bar1.conf
status_command i3blocks -c ~/.i3/bar/bar1.conf
position top
output eDP1
output DP1
@ -156,10 +157,10 @@ bar {
background #000000
statusline #ffffff
#border bg text
focused_workspace #AC2E67 #9B2A5D #ffffff
focused_workspace #a74068 #bd4875 #ffffff
active_workspace #333333 #5f676a #ffffff
inactive_workspace #111111 #111111 #888888
urgent_workspace #2f343a #87af15 #ffffff
urgent_workspace #5aaad8 #6ac6ff #ffffff
}
}
@ -182,8 +183,8 @@ bar {
bar {
status_command ~/.i3/processList.sh
#status_command i3blocks
workspace_buttons yes
position top
workspace_buttons no
position bottom
tray_output none
output eDP1
output HDMI1
@ -196,14 +197,19 @@ bar {
background #000000
statusline #ffffff
#border bg text
focused_workspace #AC2E67 #9B2A5D #ffffff
# focused_workspace #AC2E67 #9B2A5D #ffffff
# active_workspace #333333 #5f676a #ffffff
# inactive_workspace #111111 #111111 #888888
# urgent_workspace #2f343a #87af15 #ffffff
focused_workspace #a74068 #bd4875 #ffffff
active_workspace #333333 #5f676a #ffffff
inactive_workspace #111111 #111111 #888888
urgent_workspace #2f343a #87af15 #ffffff
urgent_workspace #5aaad8 #6ac6ff #ffffff
}
}
for_window [title="OBS"] floating enable
for_window [title="(En fonction)"] floating enable
for_window [title="SimpleScreenRecorder"] floating enable
for_window [title="QuickSynergy"] floating enable
for_window [title="recordMyDesktop"] floating enable
@ -231,11 +237,15 @@ exec gpg-agent --daemon
exec wicd-gtk -t
exec alsactl init -c 1
exec volumeicon
exec /home/simon/bin/sshplus.py
exec ~/bin/sshplus.py
exec dunst
exec sleep 2 && /home/simon/bin/dual_screen_dp1.sh off
exec /home/simon/bin/reload_wallpaper
exec sleep 3 && monitordisplay -s -m laptop
exec sleep 3 && monitordisplay -s -m hdmi
exec ~/bin/reload_wallpaper
exec redshift-gtk -l 47.51659:6.7809
exec blueman-applet
exec guake
#exec pulseaudio --start
# exec synclient MiddleButtonAreaRight=3500
# exec synclient MiddleButtonAreaLeft=2700
@ -249,6 +259,7 @@ bindsym Print exec ~/bin/screenshot
bindsym mod1+F10 exec ~/bin/screenshot_zone
bindsym $mod+Print exec ~/bin/upload_wall
bindsym $mod+mod1+l exec ~/bin/lock
bindsym $mod+Shift+t exec monitordisplay -t
bindsym $mod+BackSpace move scratchpad
bindsym $mod+Shift+BackSpace scratchpad show
@ -274,6 +285,7 @@ bindsym mod1+b exec amixer set Master 2%-
bindsym $mod+p exec ~/bin/i3_switch_workspace.php previous
bindsym $mod+n exec ~/bin/i3_switch_workspace.php next
bindsym mod1+mod1+k exec ~/bin/i3_empty_firefox_search_and_search.sh
bindsym mod1+F1 exec ~/bin/i3_switch_focus_container.php 1
bindsym mod1+F2 exec ~/bin/i3_switch_focus_container.php 2