changing scripts to get swayidle working

This commit is contained in:
Matt Nish-Lapidus 2025-06-29 14:53:28 -04:00
parent 260e597860
commit e113d9775d
20 changed files with 137 additions and 58 deletions

View file

@ -1,3 +1,3 @@
#!/bin/sh
brillo -e -O
brillo -e -u 150000 -S 15
#!/usr/bin/env sh
/run/current-system/sw/bin/brillo -e -O
/run/current-system/sw/bin/brillo -e -u 150000 -S 15

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env sh
niri msg action power-off-monitors

View file

@ -1,2 +1,2 @@
#!/bin/sh
systemctl suspend
#!/usr/bin/env sh
/run/current-system/sw/bin/systemctl suspend

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env sh
wl-present mirror eDP-1

View file

@ -1,3 +1,3 @@
#!/bin/sh
#!/usr/bin/env sh
sleep 10
/etc/profiles/per-user/emenel/bin/filen-desktop

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env sh
niri msg action screenshot-window --id="$(niri msg --json pick-window | jq .id)"

View file

@ -1,2 +1,2 @@
#!/bin/sh
brillo -e -u 15000 -I
#!/usr/bin/env sh
/run/current-system/sw/bin/brillo -e -u 15000 -I

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
# TODO: support config locations:
# ./.piku-server

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env sh
GDK_BACKEND=x11 /etc/profiles/per-user/emenel/bin/reaper

View file

@ -1,2 +1,2 @@
#!/bin/sh
pidof swaylock || swaylock
#!/usr/bin/env sh
/run/current-system/sw/bin/pidof /etc/profiles/per-user/emenel/bin/swaylock || /etc/profiles/per-user/emenel/bin/swaylock

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env sh
wezterm --config-file /home/emenel/.config/wezterm/launcher.lua start --always-new-process "$1"

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env sh
wezterm --config-file /home/emenel/.config/wezterm/launcher.lua start --class floatapp --always-new-process "$1"

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env sh
wezterm --config-file /home/emenel/.config/wezterm/launcher.lua start --class launcher --always-new-process "$1"