basic Qt application, with dual screen capability, and sway config to auto-assign
This commit is contained in:
@@ -4,5 +4,6 @@ set -e
|
||||
export WLR_BACKENDS=wayland
|
||||
export WLR_WL_OUTPUTS=2
|
||||
export WLR_LIBINPUT_NO_DEVICES=1
|
||||
export NOMAD_SHELL="$PWD/build/nomad-shell"
|
||||
|
||||
exec sway --config "$(dirname "$0")/sway.conf"
|
||||
@@ -8,9 +8,15 @@ output WL-2 mode 620x540
|
||||
output WL-1 pos 0 0
|
||||
output WL-2 pos 340 1080
|
||||
|
||||
# display assignments
|
||||
for_window [title="nomad-top"] move to output WL-1, border none, fullscreen enable
|
||||
for_window [title="nomad-bottom"] move to output WL-2, border none, fullscreen enable
|
||||
|
||||
input * {
|
||||
xkb_layout us
|
||||
}
|
||||
|
||||
bindsym $mod+l exec $HOME/dev/nomad/build/nomad-shell
|
||||
bindsym $mod+k exec pkill nomad-shell
|
||||
bindsym $mod+Shift+e exec swaymsg exit
|
||||
bindsym $mod+Return exec foot
|
||||
Reference in New Issue
Block a user