Added support for vertical monitors

This commit is contained in:
2025-03-17 17:01:16 +01:00
parent 1685f54115
commit af29f6ffe5
12 changed files with 189 additions and 14 deletions

View File

@@ -4,6 +4,12 @@ LUA_FILES = $(shell find src -type f -name '*.lua') rc.lua settings.lua
test: build
{ sleep 1; DISPLAY=:10 awesome -c "$(CURDIR)/rc.lua"; } & Xephyr :10 -name xephyr_awesome -ac -br -noreset -screen "1920x1080"
.PHONY: testv
testv: build
{ sleep 1; DISPLAY=:10 awesome -c "$(CURDIR)/rc.lua"; } & \
{ sleep 2; DISPLAY=:10 st & DISPLAY=:10 st & DISPLAY=:10 st & DISPLAY=:10 st & DISPLAY=:10 st; } & \
Xephyr :10 -name xephyr_awesome -ac -br -noreset -screen "1080x1920"
.PHONY: deploy
deploy: build
rsync -avmh --delete --exclude 'settings.lua' --include '*.lua' --include '*.so' --include '*.png' --include '*/' --include '*.rasi' --include '*.sh' --exclude '*' ./ ~/.config/awesome/