update i3blocks, add startup script

This commit is contained in:
Simon Vieille 2021-03-10 09:30:33 +01:00
parent 16d2e10121
commit 504cf2f5d7
2 changed files with 5 additions and 4 deletions

View File

@ -121,5 +121,5 @@ function block(string $name, array $options = [])
$options
);
return stripslashes(json_encode($options, JSON_UNESCAPED_UNICODE));
return stripslashes(json_encode($options, JSON_UNESCAPED_UNICODE))."\n";
}

7
config
View File

@ -198,7 +198,7 @@ bindsym $altleft+$shift+k exec ~/.i3/bin/i3_move_mouse.sh right
bindsym $altleft+$shift+u exec ~/.i3/bin/i3_move_mouse.sh up
bindsym $altleft+$shift+j exec ~/.i3/bin/i3_move_mouse.sh down
bindsym $window+$shift+y exec ~/.i3/bin/i3_mouse_click.sh
bindsym $altleft+$tab exec ~/.i3/i3_switch_window.php
bindsym $altleft+$tab exec ~/.i3/bin/i3_switch_window.php
bindsym $ctrl+$shift+f exec ~/bin/search
bindsym $ctrl+$altleft+$shift+e exec sudo shutdown -h now
bindsym $ctrl+$altleft+$shift+r exec sudo shutdown -r now
@ -244,7 +244,7 @@ for_window [title="^Agenda$"] floating enable
for_window [title=".*"] border 1pixel
bar {
status_command i3blocks -c ~/.i3/bar/bar1.conf
status_command ~/make/i3blocks/i3blocks -c ~/.i3/bar/bar1.conf
position top
tray_output primary
@ -267,7 +267,7 @@ bar {
}
bar {
status_command i3blocks -c ~/.i3/bar/bar2.conf
status_command ~/make/i3blocks/i3blocks -c ~/.i3/bar/bar2.conf
workspace_buttons no
position bottom
tray_output none
@ -317,6 +317,7 @@ exec ~/bin/pulseaudio-start
exec ~/bin/reload_wallpaper
exec ~/bin/remote_i3_server
exec ~/bin/picom-desk
exec ~/make/with-ex-editor
exec rofi -key-run 'SuperL+Alt+d' -Key-ssh 'SuperL+Alt+s' -key-window 'SuperL+Alt+w'
exec feh --bg-fill ~/wallpaper.jpg
exec setxkbmap fr oss