From 0a07704d6dc53bf3a35d4aadfa240586f55e9487 Mon Sep 17 00:00:00 2001 From: LMBishop <13875753+LMBishop@users.noreply.github.com> Date: Thu, 20 Jul 2023 21:19:29 +0100 Subject: Replace python installer --- sway/.install.yml | 22 ++++++++++++++++++++++ sway/config | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 sway/.install.yml (limited to 'sway') diff --git a/sway/.install.yml b/sway/.install.yml new file mode 100644 index 0000000..6924383 --- /dev/null +++ b/sway/.install.yml @@ -0,0 +1,22 @@ +name: Configure sway +steps: + - !Link + from: "config" + to: "~/.config/sway/config" + recursive: false + - !Link + from: "scripts/exit-menu.sh" + to: "~/.config/sway/scripts/exit-menu.sh" + recursive: false + - !Copy + from: "wallpaper.jpg" + to: "~/.config/sway/wallpaper.jpg" + recursive: false + - !Copy + from: "input.cfg" + to: "~/.config/sway/input.cfg" + recursive: false + - !Copy + from: "output.cfg" + to: "~/.config/sway/output.cfg" + recursive: false \ No newline at end of file diff --git a/sway/config b/sway/config index 363e666..8d8a8d7 100644 --- a/sway/config +++ b/sway/config @@ -183,7 +183,7 @@ exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DE exec swayidle -w \ timeout 300 "notify-send 'Power' 'System will suspend very soon due to inactivity.'" \ timeout 310 "swaylock" \ - timeout 315 "systemctl suspend" \ + timeout 313 "swaymsg 'output * power off'" resume "swaymsg 'output * power on'" \ before-sleep "swaylock" exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 -- cgit v1.2.3-70-g09d2