From 201e1df091a6aa21d7659a0bbfffd3184ec3cfd1 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 17 Jun 2019 00:08:09 +0200 Subject: [PATCH] [sway|aliases] pdfpc update to use workaround --- shell/aliases.sh | 5 +++++ sway/config | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/shell/aliases.sh b/shell/aliases.sh index f874efc..4d09003 100755 --- a/shell/aliases.sh +++ b/shell/aliases.sh @@ -85,7 +85,12 @@ alias backup='vdirsyncer sync && sudo borgmatic --prune --stats && sudo borgmati alias vnc-temp='x11vnc -display :0 -nap -wait 50 -noxdamage -forever -rfbauth ~/.vnc/passwd -speeds 50,1,1' alias notify='notify-send Terminal "Process has been finished"' + +# xorg alias screen-off-x='xset -display :0.0 dpms force off' + +# wayland: +alias pdfpc="pdfpc --wayland-workaround" alias screen-off-wl="swayidle timeout 1 'swaymsg \"output * dpms off\"' resume 'swaymsg \"output * dpms on\"; pkill -n swayidle'" # DEBIAN: diff --git a/sway/config b/sway/config index 5dc6b05..cf4d69b 100644 --- a/sway/config +++ b/sway/config @@ -65,7 +65,7 @@ for_window [instance="update_installer"] floating enable # custom floating for_window [app_id="firefox" title="About Mozilla Firefox"] floating enable for_window [app_id="firefox-developer-edition" title="About Firefox Developer Edition"] floating enable -for_window [title="^pdfpc - presentation"] move container to output right +#for_window [title="^pdfpc - presentation"] move container to output right # Stick windows to workspaces assign [app_id="feedreader"] 8