feat: use different .dtfiles config setup

This commit is contained in:
2023-10-11 15:52:30 +02:00
parent 6b431704de
commit b755d66571
175 changed files with 268 additions and 3596 deletions

View File

@ -0,0 +1,16 @@
#!/bin/bash
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 [ "$(ps cax | grep waybar$)" != "" ]; then
swaymsg gaps outer all set 0;
swaymsg gaps inner all set 0;
killall waybar;
else
swaymsg gaps outer all set $GAPS;
swaymsg gaps inner all set $GAPS;
nohup waybar & 2&> /dev/null;
fi