diff --git a/Makefile b/Makefile index 386da80..294002e 100644 --- a/Makefile +++ b/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 diff --git a/platform_dotfiles/ideapad_slim_3_15arp10/etc/systemd/logind.conf b/platform_dotfiles/ideapad_slim_3_15arp10/etc/systemd/logind.conf new file mode 100644 index 0000000..f440a34 --- /dev/null +++ b/platform_dotfiles/ideapad_slim_3_15arp10/etc/systemd/logind.conf @@ -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 diff --git a/platform_dotfiles_gpg/ideapad_slim_3_15arp10/sensitive-configs-2025-12-04T10:10:51+03:00.gpg b/platform_dotfiles_gpg/ideapad_slim_3_15arp10/sensitive-configs-2025-12-04T10:10:51+03:00.gpg new file mode 100644 index 0000000..fc35651 --- /dev/null +++ b/platform_dotfiles_gpg/ideapad_slim_3_15arp10/sensitive-configs-2025-12-04T10:10:51+03:00.gpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6d9e5fd66267dada45cef3617136fb8bef43f61afc3bacf18ff7d65a5c64137 +size 19015