[+] update config
1. configure for_window in sway config
to inhibit-idle when they are fullscreen;
tried idlehack-git, but not sure
whether it's bugger, stick to for_window for now;
This commit is contained in:
parent
c568d8d9a7
commit
85139fae81
9
Makefile
9
Makefile
@ -123,6 +123,7 @@ dotfiles_fetch_platform:
|
||||
mkdir -p platform_dotfiles/$(PLATFORM)
|
||||
tar -cvf - \
|
||||
/etc/udev/rules.d/ \
|
||||
/etc/systemd/logind.conf \
|
||||
~/.local/bin/systemd_gtk \
|
||||
~/.local/bin/gnome-shortcuts-macbook-air \
|
||||
/usr/local/bin \
|
||||
@ -130,17 +131,25 @@ dotfiles_fetch_platform:
|
||||
|
||||
dotfiles_fetch_platform_gpg:
|
||||
mkdir -p platform_dotfiles_gpg/$(PLATFORM)
|
||||
yay -Q > /tmp/pacman-packages.txt;
|
||||
tar -h -cvf - \
|
||||
/tmp/pacman-packages.txt \
|
||||
~/.sway/config.d \
|
||||
~/.sway/config \
|
||||
~/.config/commands-status.json \
|
||||
/etc/fstab \
|
||||
| gpg -e $(GPG_RECIPIENTS_ARGS) \
|
||||
> platform_dotfiles_gpg/$(PLATFORM)/sensitive-configs-$$(date -Iseconds).gpg
|
||||
rm /tmp/pacman-packages.txt;
|
||||
|
||||
dotfiles_fetch_platform_ideapad_slim_3_15arp10:
|
||||
make dotfiles_fetch_platform \
|
||||
PLATFORM=ideapad_slim_3_15arp10
|
||||
|
||||
dotfiles_fetch_platform_gpg_ideapad_slim_3_15arp10:
|
||||
make dotfiles_fetch_platform_gpg \
|
||||
PLATFORM=ideapad_slim_3_15arp10
|
||||
|
||||
dotfiles_sway_put:
|
||||
mkdir -p ~/.sway
|
||||
cp dotfiles/.sway/config ~/.sway/config
|
||||
|
||||
@ -0,0 +1,57 @@
|
||||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it under the
|
||||
# terms of the GNU Lesser General Public License as published by the Free
|
||||
# Software Foundation; either version 2.1 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# Entries in this file show the compile time defaults. Local configuration
|
||||
# should be created by either modifying this file (or a copy of it placed in
|
||||
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
|
||||
# the /etc/systemd/logind.conf.d/ directory. The latter is generally
|
||||
# recommended. Defaults can be restored by simply deleting the main
|
||||
# configuration file and all drop-ins located in /etc/.
|
||||
#
|
||||
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
|
||||
#
|
||||
# See logind.conf(5) for details.
|
||||
|
||||
[Login]
|
||||
#NAutoVTs=6
|
||||
#ReserveVT=6
|
||||
#KillUserProcesses=no
|
||||
#KillOnlyUsers=
|
||||
#KillExcludeUsers=root
|
||||
#InhibitDelayMaxSec=5
|
||||
#UserStopDelaySec=10
|
||||
#HandlePowerKey=hibernate
|
||||
HandlePowerKey=suspend
|
||||
#HandlePowerKeyLongPress=ignore
|
||||
#HandleRebootKey=reboot
|
||||
#HandleRebootKeyLongPress=poweroff
|
||||
#HandleSuspendKey=suspend
|
||||
#HandleSuspendKeyLongPress=hibernate
|
||||
#HandleHibernateKey=hibernate
|
||||
#HandleHibernateKeyLongPress=ignore
|
||||
|
||||
|
||||
#HandleLidSwitchExternalPower=suspend
|
||||
#HandleLidSwitchDocked=ignore
|
||||
#PowerKeyIgnoreInhibited=no
|
||||
#SuspendKeyIgnoreInhibited=no
|
||||
#HibernateKeyIgnoreInhibited=no
|
||||
#LidSwitchIgnoreInhibited=yes
|
||||
#RebootKeyIgnoreInhibited=no
|
||||
#HoldoffTimeoutSec=30s
|
||||
#IdleAction=ignore
|
||||
#IdleActionSec=30min
|
||||
#RuntimeDirectorySize=10%
|
||||
#RuntimeDirectoryInodesMax=
|
||||
#RemoveIPC=yes
|
||||
#InhibitorsMax=8192
|
||||
#SessionsMax=8192
|
||||
#StopIdleSessionSec=infinity
|
||||
|
||||
HandleLidSwitch=suspend
|
||||
# for sway
|
||||
#HandleLidSwitch=none
|
||||
BIN
platform_dotfiles_gpg/ideapad_slim_3_15arp10/sensitive-configs-2025-12-04T10:10:51+03:00.gpg
(Stored with Git LFS)
Normal file
BIN
platform_dotfiles_gpg/ideapad_slim_3_15arp10/sensitive-configs-2025-12-04T10:10:51+03:00.gpg
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user