diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-07-31 01:35:19 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-07-31 01:35:19 +0200 |
| commit | 68f36cd569697eca5f716347f6094029d501aa29 (patch) | |
| tree | 86052e11563ff927a297237b0761b28804d7173a /sway | |
| parent | e9a8eb8621cc6a281b0373d12af52bf562d0fe8a (diff) | |
.
Diffstat (limited to 'sway')
| -rw-r--r-- | sway/config | 2 | ||||
| -rwxr-xr-x | sway/terminal.sh | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sway/config b/sway/config index a453178..4cf9201 100644 --- a/sway/config +++ b/sway/config @@ -6,7 +6,7 @@ seat seat0 xcursor_theme default 32 input type:touchpad tap enable -font "pango:Inter Medium 12" +font "pango:sans-serif 12" floating_modifier $mod default_border pixel 4 diff --git a/sway/terminal.sh b/sway/terminal.sh index d3d1b81..25559c3 100755 --- a/sway/terminal.sh +++ b/sway/terminal.sh @@ -9,18 +9,18 @@ focused_workspace=$(swaymsg -t get_workspaces -r | jq -r '.[] | select(.focused == true) | .name') if [ "$focused_workspace" = "$term_workspace" ]; then - swaymsg workspace back_and_forth + swaymsg -q workspace back_and_forth else - swaymsg workspace $term_workspace - swaymsg move workspace to $focused_output - swaymsg workspace $term_workspace + swaymsg -q workspace $term_workspace + swaymsg -q move workspace to $focused_output + swaymsg -q workspace $term_workspace if ! (swaymsg -t get_tree -r | jq -e "recurse(.nodes[]) | select(.app_id == \"$term_app_id\")" > /dev/null); then - # exec alacritty --class $term_app_id -e \ - # tmux new-session -A -s default - exec foot --app-id $term_app_id \ - tmux new-session -A -s default + exec alacritty --class $term_app_id -e \ + tmux new-session -A -s default + # exec foot --app-id $term_app_id \ + # tmux new-session -A -s default fi fi |
