feat: add languagetool lsp

This commit is contained in:
2021-11-26 16:40:32 +01:00
parent 3e07ffe2ac
commit d5b612282e
7 changed files with 849 additions and 11 deletions

View File

@@ -33,8 +33,8 @@ input * {
}
smart_gaps off
gaps inner 5
gaps outer 5
gaps inner 3
gaps outer 3
default_border none

View File

@@ -1,14 +1,16 @@
#!/bin/bash
GAPS_OUTER=5
GAPS_INNER=1
GAPS=3
# How to get the current inner border from swaymsg
#$ echo $(swaymsg -t get_config | jq ".config") | sed -n '/gaps\ inner/p' | sed 's/gaps\ inner//g' | xargs
if [ "$(pgrep waybar)" != "" ]; then
killall waybar;
swaymsg gaps outer all set 0;
swaymsg gaps inner all set 0;
else
swaymsg gaps outer all set $GAPS_OUTER;
swaymsg gaps inner all set $GAPS_INNER;
swaymsg gaps outer all set $GAPS;
swaymsg gaps inner all set $GAPS;
nohup waybar & 2&> /dev/null;
fi