Compare commits

...

2 Commits

3 changed files with 7 additions and 5 deletions

View File

@@ -30,8 +30,8 @@ argenctl binding set normal Super K window focus prev
argenctl binding set normal Super+Shift J window swap next
argenctl binding set normal Super+Shift K window swap prev
argenctl binding set normal Super F window float
argenctl binding set normal Super+Shift F window fullscreen
argenctl binding set normal Super F window fullscreen
argenctl binding set normal Super W window float
argenctl binding set normal Super+Shift C window close
argenctl binding set normal Super+Shift X window detach
@@ -43,6 +43,8 @@ argenctl binding set normal Super+Shift Period window send next
argenctl binding set normal Super+Shift Comma window send prev
# Layout
argenctl binding set normal Super M layout switch monocle
argenctl binding set normal Super S layout switch stacktile
argenctl binding set normal Super H layout set primary-ratio -0.05
argenctl binding set normal Super L layout set primary-ratio +0.05
argenctl binding set normal Super+Control K layout set secondary-ratio -0.05
@@ -110,7 +112,7 @@ VOL_TOGGLE='wpctl set-mute @DEFAULT_SINK@ toggle'
for mode in normal locked; do
argenctl binding set $mode Super Bracketleft sh "$VOL_DEC"
argenctl binding set $mode Super Bracketright sh "$VOL_INC"
argenctl binding set $mode Super M sh "$VOL_TOGGLE"
argenctl binding set $mode Super+Shift M sh "$VOL_TOGGLE"
argenctl binding set $mode None XF86AudioLowerVolume sh "$VOL_DEC"
argenctl binding set $mode None XF86AudioRaiseVolume sh "$VOL_INC"
argenctl binding set $mode None XF86AudioMute sh "$VOL_TOGGLE"

View File

@@ -9,7 +9,7 @@ if argenctl context list | grep "^${id}\$"; then
fi
argenctl context new "$id"
first=$(argenctl output list --json | jq -r '.[0].id')
first=$(argenctl output list --json | jq -r 'min_by(80000 * .y + .x).id')
length=$(argenctl output list --json | jq -r 'length')
for n in $(seq $length); do
current=$(argenctl output list --json | jq -r '.[] | select(.focused).id')

View File

@@ -1,3 +1,3 @@
argenctl output focus next
argenctl sh "$TERMINAL -D ~/dotfiles kak"
argenctl sh "$TERMINAL -D ~/dotfiles kak -s dotfiles"