This commit is contained in:
2024-06-21 04:55:27 -05:00
parent dda130da67
commit adfa271f52
4 changed files with 4 additions and 21 deletions

View File

@@ -27,6 +27,7 @@ exec_always "kanshi"
exec_always swayidle -w \
timeout 300 'swaylock -f' \
timeout 600 'swaymsg "output * dpms off"' \
timeout 1200 'systemctl suspend' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f'

View File

@@ -24,6 +24,7 @@
font = GoMono Nerd Font Propo 12
foreground_color = "#cdd6f4"
show_titlebar = False
scrollbar_position = hidden
palette = "#45475a:#f38ba8:#a6e3a1:#f9e2af:#89b4fa:#f5c2e7:#94e2d5:#bac2de:#585b70:#f38ba8:#a6e3a1:#f9e2af:#89b4fa:#f5c2e7:#94e2d5:#a6adc8"
use_system_font = False
background_image = None

2
.zshrc
View File

@@ -246,3 +246,5 @@ function open_command() {
${=open_cmd} "$@" &>/dev/null
}
if [ -e /home/user/.nix-profile/etc/profile.d/nix.sh ]; then . /home/user/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer

View File

@@ -1,21 +0,0 @@
# 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/sleep.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/sleep.conf' to display the full config.
#
# See systemd-sleep.conf(5) for details.
[Sleep]
AllowSuspend=yes
SuspendEstimationSec=20min