Browse Source

update i3blocks, add startup script

master
Simon Vieille 1 month ago
parent
commit
504cf2f5d7
  1. 2
      bar/src/base/block.php
  2. 7
      config

2
bar/src/base/block.php

@ -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

@ -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

Loading…
Cancel
Save