use foot
This commit is contained in:
parent
44c20fccd9
commit
2ffef35935
3 changed files with 288 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
focused_workspace=$(hyprctl activeworkspace -j | jq '.id')
|
||||
|
||||
kitty_window_count=$(hyprctl clients -j | jq --argjson workspace "$focused_workspace" '[.[] |select(.workspace.id == $workspace and .class == "kitty")] |length')
|
||||
kitty_window_count=$(hyprctl clients -j | jq --argjson workspace "$focused_workspace" '[.[] |select(.workspace.id == $workspace and .class == "foot")] |length')
|
||||
|
||||
next_session=$((focused_workspace * 10))
|
||||
|
||||
|
@ -11,4 +11,4 @@ then
|
|||
next_session=$((next_session + kitty_window_count))
|
||||
fi
|
||||
|
||||
kitty tmux new-session -A -s ${next_session}
|
||||
foot tmux new-session -A -s ${next_session}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue