add sway config for idle
This commit is contained in:
parent
ba709c86eb
commit
e72a0de86e
@ -44,12 +44,12 @@ exec_always {
|
|||||||
# timeout
|
# timeout
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'playerctl -a pause && swaylock' \
|
timeout 300 'playerctl -a pause && swaylock' \
|
||||||
timeout 600 'swaymsg "output * dpms off"' \
|
timeout 600 'swaymsg "output * power off"' \
|
||||||
before-sleep 'playerctl -a pause' \
|
before-sleep 'playerctl -a pause' \
|
||||||
lock 'swaylock' \
|
lock 'swaylock' \
|
||||||
resume 'swaymsg "output * dpms on"'
|
resume 'swaymsg "output * power on"'
|
||||||
|
|
||||||
# screen lock
|
# system lock
|
||||||
bindsym Ctrl+Shift+l exec "playerctl -a pause; \
|
bindsym Ctrl+Shift+l exec "playerctl -a pause; \
|
||||||
systemctl suspend && \
|
systemctl suspend && \
|
||||||
swaylock"
|
swaylock"
|
||||||
|
80
packages.txt
80
packages.txt
@ -1,3 +1,4 @@
|
|||||||
|
acpi
|
||||||
adobe-source-han-sans-jp-fonts
|
adobe-source-han-sans-jp-fonts
|
||||||
adobe-source-han-sans-kr-fonts
|
adobe-source-han-sans-kr-fonts
|
||||||
aic94xx-firmware
|
aic94xx-firmware
|
||||||
@ -31,10 +32,8 @@ cowsay
|
|||||||
cpupower
|
cpupower
|
||||||
cpupower-gui
|
cpupower-gui
|
||||||
cryptsetup
|
cryptsetup
|
||||||
cups
|
|
||||||
cups-pdf
|
cups-pdf
|
||||||
darktable
|
darktable
|
||||||
ddclient
|
|
||||||
device-mapper
|
device-mapper
|
||||||
dhcpcd
|
dhcpcd
|
||||||
dialog
|
dialog
|
||||||
@ -52,7 +51,6 @@ etcher-bin
|
|||||||
evince
|
evince
|
||||||
evolution
|
evolution
|
||||||
f2fs-tools
|
f2fs-tools
|
||||||
fail2ban
|
|
||||||
fakeroot
|
fakeroot
|
||||||
fcitx5
|
fcitx5
|
||||||
fcitx5-chinese-addons
|
fcitx5-chinese-addons
|
||||||
@ -69,7 +67,6 @@ firefox
|
|||||||
flex
|
flex
|
||||||
font-manager
|
font-manager
|
||||||
fortune-mod
|
fortune-mod
|
||||||
fortune-mod-acecombat
|
|
||||||
fortune-mod-calvin
|
fortune-mod-calvin
|
||||||
fortune-mod-confucius
|
fortune-mod-confucius
|
||||||
fortune-mod-doctorwho-new-series
|
fortune-mod-doctorwho-new-series
|
||||||
@ -79,6 +76,8 @@ fortune-mod-hitchhiker
|
|||||||
fortune-mod-matrix
|
fortune-mod-matrix
|
||||||
fortune-mod-portal-game
|
fortune-mod-portal-game
|
||||||
fortune-mod-starwars
|
fortune-mod-starwars
|
||||||
|
fprintd
|
||||||
|
framework-system-git
|
||||||
freecad
|
freecad
|
||||||
fstl
|
fstl
|
||||||
fwbuilder
|
fwbuilder
|
||||||
@ -90,24 +89,22 @@ gcc
|
|||||||
gcc-libs
|
gcc-libs
|
||||||
gdlauncher-bin
|
gdlauncher-bin
|
||||||
gedit
|
gedit
|
||||||
geoclue
|
|
||||||
gettext
|
gettext
|
||||||
gimp
|
gimp
|
||||||
git
|
git
|
||||||
git-lfs
|
git-lfs
|
||||||
glibc
|
glibc
|
||||||
|
gnome-control-center
|
||||||
gnome-disk-utility
|
gnome-disk-utility
|
||||||
gnome-firmware
|
gnome-keyring
|
||||||
gnome-sound-recorder
|
gnome-sound-recorder
|
||||||
gnu-free-fonts
|
gnu-free-fonts
|
||||||
gnu-netcat
|
gnu-netcat
|
||||||
gnutls
|
|
||||||
gparted
|
gparted
|
||||||
grep
|
grep
|
||||||
grim
|
grim
|
||||||
grub
|
grub
|
||||||
gsmartcontrol
|
gsmartcontrol
|
||||||
gsound
|
|
||||||
gst-libav
|
gst-libav
|
||||||
gst-plugins-bad
|
gst-plugins-bad
|
||||||
gst-plugins-ugly
|
gst-plugins-ugly
|
||||||
@ -122,7 +119,7 @@ highlight
|
|||||||
htop
|
htop
|
||||||
hugin
|
hugin
|
||||||
hunspell-en_us
|
hunspell-en_us
|
||||||
ibus-uniemoji-git
|
iio-sensor-proxy
|
||||||
inkscape
|
inkscape
|
||||||
inotify-tools
|
inotify-tools
|
||||||
iotop
|
iotop
|
||||||
@ -132,11 +129,9 @@ itstool
|
|||||||
iucode-tool
|
iucode-tool
|
||||||
iw
|
iw
|
||||||
jammr
|
jammr
|
||||||
jansson
|
|
||||||
jq
|
jq
|
||||||
kanshi
|
kanshi
|
||||||
kcm-wacomtablet
|
kcm-wacomtablet
|
||||||
kdeconnect
|
|
||||||
kdocker
|
kdocker
|
||||||
keepassxc
|
keepassxc
|
||||||
kid3
|
kid3
|
||||||
@ -144,53 +139,29 @@ kitty
|
|||||||
kochmorse
|
kochmorse
|
||||||
krita
|
krita
|
||||||
lagrange
|
lagrange
|
||||||
leap-motion-driver
|
|
||||||
leptonica
|
leptonica
|
||||||
less
|
less
|
||||||
lib32-gamemode
|
lib32-gamemode
|
||||||
lib32-giflib
|
|
||||||
lib32-gnutls
|
|
||||||
lib32-gst-plugins-base-libs
|
lib32-gst-plugins-base-libs
|
||||||
lib32-gtk3
|
lib32-gtk3
|
||||||
lib32-libappindicator-gtk2
|
|
||||||
lib32-libappindicator-gtk3
|
lib32-libappindicator-gtk3
|
||||||
lib32-libgpg-error
|
|
||||||
lib32-libjpeg-turbo
|
|
||||||
lib32-libldap
|
|
||||||
lib32-libpng
|
|
||||||
lib32-libpulse
|
|
||||||
lib32-libva
|
|
||||||
lib32-libva-mesa-driver
|
lib32-libva-mesa-driver
|
||||||
lib32-libxcomposite
|
|
||||||
lib32-libxinerama
|
|
||||||
lib32-libxslt
|
lib32-libxslt
|
||||||
lib32-mesa-vdpau
|
|
||||||
lib32-mpg123
|
|
||||||
lib32-ocl-icd
|
lib32-ocl-icd
|
||||||
lib32-openal
|
|
||||||
lib32-sqlite
|
|
||||||
lib32-v4l-utils
|
lib32-v4l-utils
|
||||||
lib32-vkd3d
|
lib32-vkd3d
|
||||||
lib32-vulkan-icd-loader
|
|
||||||
libappindicator-gtk3
|
libappindicator-gtk3
|
||||||
libdvdcss
|
libdvdcss
|
||||||
libffado
|
libffado
|
||||||
libglvnd
|
|
||||||
libgnome-keyring
|
libgnome-keyring
|
||||||
libgooglepinyin
|
libgooglepinyin
|
||||||
libime
|
|
||||||
libjbig-shared
|
|
||||||
libjpeg6-turbo
|
|
||||||
libpinyin
|
libpinyin
|
||||||
libpng
|
|
||||||
libreoffice-extension-languagetool
|
|
||||||
libreoffice-still
|
libreoffice-still
|
||||||
libretro-overlays
|
libretro-overlays
|
||||||
libretro-shaders-slang
|
libretro-shaders-slang
|
||||||
libva-mesa-driver
|
libva-mesa-driver
|
||||||
libva-utils
|
libva-utils
|
||||||
libvncserver
|
libvncserver
|
||||||
libxkbcommon
|
|
||||||
licenses
|
licenses
|
||||||
linux
|
linux
|
||||||
linux-firmware
|
linux-firmware
|
||||||
@ -213,7 +184,6 @@ mcomix
|
|||||||
mcpp
|
mcpp
|
||||||
mdadm
|
mdadm
|
||||||
mediainfo
|
mediainfo
|
||||||
mesa
|
|
||||||
minecraft-launcher
|
minecraft-launcher
|
||||||
mixxx
|
mixxx
|
||||||
mousetweaks
|
mousetweaks
|
||||||
@ -230,7 +200,6 @@ neofetch
|
|||||||
neovim
|
neovim
|
||||||
networkmanager
|
networkmanager
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
nginx-mod-fancyindex
|
|
||||||
nmap
|
nmap
|
||||||
nomacs
|
nomacs
|
||||||
noto-fonts-cjk
|
noto-fonts-cjk
|
||||||
@ -239,17 +208,16 @@ noto-fonts-extra
|
|||||||
ntfs-3g
|
ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvtop
|
nvtop
|
||||||
obs-studio
|
|
||||||
ocl-icd
|
|
||||||
odt2txt
|
odt2txt
|
||||||
opencc
|
|
||||||
opendesktop-fonts
|
opendesktop-fonts
|
||||||
openshot
|
openshot
|
||||||
|
openvpn
|
||||||
opustags
|
opustags
|
||||||
|
orca
|
||||||
overdue
|
overdue
|
||||||
|
p7zip
|
||||||
package-query
|
package-query
|
||||||
pacman-contrib
|
pacman
|
||||||
paman
|
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
patch
|
patch
|
||||||
pavucontrol
|
pavucontrol
|
||||||
@ -258,36 +226,29 @@ perl
|
|||||||
perl-image-exiftool
|
perl-image-exiftool
|
||||||
perl-rename
|
perl-rename
|
||||||
picard
|
picard
|
||||||
|
piper
|
||||||
pipewire-alsa
|
pipewire-alsa
|
||||||
pipewire-jack
|
pipewire-jack
|
||||||
pipewire-pulse
|
pipewire-pulse
|
||||||
pixman
|
|
||||||
pkgconf
|
pkgconf
|
||||||
pkgstats
|
pkgstats
|
||||||
playerctl
|
playerctl
|
||||||
playonlinux
|
playonlinux
|
||||||
polkit-gnome
|
polkit-gnome
|
||||||
postgresql-libs
|
postgresql-libs
|
||||||
|
power-profiles-daemon
|
||||||
|
powertop
|
||||||
procps-ng
|
procps-ng
|
||||||
psensor
|
psensor
|
||||||
psmisc
|
psmisc
|
||||||
pv
|
pv
|
||||||
pyside2
|
|
||||||
python
|
|
||||||
python-axolotl
|
python-axolotl
|
||||||
python-levenshtein
|
python-levenshtein
|
||||||
python-matplotlib
|
|
||||||
python-mutagen
|
|
||||||
python-pip
|
python-pip
|
||||||
python-pycryptodome
|
|
||||||
python-pyenchant
|
python-pyenchant
|
||||||
python-pylast
|
python-pylast
|
||||||
python-pynvim
|
python-pynvim
|
||||||
python-wxpython
|
|
||||||
qbittorrent
|
|
||||||
qt5ct
|
qt5ct
|
||||||
qt5-graphicaleffects
|
|
||||||
qt5-imageformats
|
|
||||||
quodlibet
|
quodlibet
|
||||||
ranger
|
ranger
|
||||||
rar
|
rar
|
||||||
@ -297,7 +258,6 @@ remmina
|
|||||||
retroarch
|
retroarch
|
||||||
retroarch-assets-xmb
|
retroarch-assets-xmb
|
||||||
rofi
|
rofi
|
||||||
rsnapshot
|
|
||||||
rsync
|
rsync
|
||||||
samsung_magician-consumer-ssd
|
samsung_magician-consumer-ssd
|
||||||
seahorse
|
seahorse
|
||||||
@ -309,21 +269,19 @@ simple-scan
|
|||||||
slurp
|
slurp
|
||||||
smartmontools
|
smartmontools
|
||||||
s-nail
|
s-nail
|
||||||
sndio
|
|
||||||
ssh-audit
|
ssh-audit
|
||||||
sshpass
|
sshpass
|
||||||
stalonetray
|
stalonetray
|
||||||
steam
|
steam
|
||||||
steam-native-runtime
|
|
||||||
sudo
|
sudo
|
||||||
sway
|
sway
|
||||||
swaybg
|
|
||||||
swayidle
|
swayidle
|
||||||
swaylock
|
swaylock
|
||||||
syncplay
|
syncplay
|
||||||
syncthing
|
syncthing
|
||||||
syncthing-gtk
|
syncthing-gtk
|
||||||
sysfsutils
|
sysfsutils
|
||||||
|
systemd
|
||||||
systemd-sysvcompat
|
systemd-sysvcompat
|
||||||
systemd-ui
|
systemd-ui
|
||||||
tar
|
tar
|
||||||
@ -331,7 +289,6 @@ telegram-desktop
|
|||||||
texinfo
|
texinfo
|
||||||
texlive-basic
|
texlive-basic
|
||||||
texlive-bibtexextra
|
texlive-bibtexextra
|
||||||
texlive-bin
|
|
||||||
texlive-fontsextra
|
texlive-fontsextra
|
||||||
texlive-formatsextra
|
texlive-formatsextra
|
||||||
texlive-games
|
texlive-games
|
||||||
@ -342,7 +299,6 @@ texlive-music
|
|||||||
texlive-pictures
|
texlive-pictures
|
||||||
texlive-pstricks
|
texlive-pstricks
|
||||||
texlive-publishers
|
texlive-publishers
|
||||||
tlp
|
|
||||||
tmux
|
tmux
|
||||||
traceroute
|
traceroute
|
||||||
trash-cli
|
trash-cli
|
||||||
@ -350,7 +306,6 @@ tree
|
|||||||
ttf-dejavu
|
ttf-dejavu
|
||||||
ttf-ibm-plex
|
ttf-ibm-plex
|
||||||
ttf-joypixels
|
ttf-joypixels
|
||||||
ttf-liberation
|
|
||||||
ttf-ms-fonts
|
ttf-ms-fonts
|
||||||
ttf-opensans
|
ttf-opensans
|
||||||
ttf-symbola-free
|
ttf-symbola-free
|
||||||
@ -369,14 +324,12 @@ vulkan-mesa-layers
|
|||||||
vulkan-radeon
|
vulkan-radeon
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
w3m
|
w3m
|
||||||
wakeonlan
|
|
||||||
waybar
|
waybar
|
||||||
wayland-utils
|
wayland-utils
|
||||||
wayvnc
|
wayvnc
|
||||||
wd719x-firmware
|
wd719x-firmware
|
||||||
wdisplays
|
wdisplays
|
||||||
wf-recorder
|
wf-recorder
|
||||||
wget
|
|
||||||
which
|
which
|
||||||
wine-staging
|
wine-staging
|
||||||
winetricks
|
winetricks
|
||||||
@ -385,9 +338,8 @@ wl-clipboard
|
|||||||
wol
|
wol
|
||||||
wpa_supplicant
|
wpa_supplicant
|
||||||
xclip
|
xclip
|
||||||
xdg-desktop-portal
|
xdg-desktop-portal-gnome
|
||||||
xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
xf86-input-wacom
|
|
||||||
xf86-video-amdgpu
|
xf86-video-amdgpu
|
||||||
xfsprogs
|
xfsprogs
|
||||||
xorg-xdpyinfo
|
xorg-xdpyinfo
|
||||||
@ -397,6 +349,4 @@ xorg-xwayland
|
|||||||
xsel
|
xsel
|
||||||
xterm
|
xterm
|
||||||
yay-bin
|
yay-bin
|
||||||
youtube-dl-git
|
|
||||||
yt-dlp
|
yt-dlp
|
||||||
zimg
|
|
||||||
|
Loading…
Reference in New Issue
Block a user