This commit is contained in:
2024-06-26 06:25:36 -05:00
parent 2b24bdd4a5
commit bec224e0f4
3 changed files with 6 additions and 2 deletions

View File

@@ -28,10 +28,10 @@ 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'
#timeout 1200 'systemctl suspend' \
### Input configuration
input "1267:12573:ELAN0412:00_04F3:311D_Touchpad" {
dwt enabled

View File

@@ -13,7 +13,7 @@
"format": "{title}"
},
"network": {
"interface": "wlan0",
"interface": "wlp0s20f3",
"format-wifi": "󰖩 {essid}",
"format-disconnected": "󰖪",
"interval": 1

4
.zshrc
View File

@@ -31,6 +31,10 @@ alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn'
eval "$(oh-my-posh init zsh --config ~/.config/ohmyposh/config.toml)"
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
exec tmux attach
fi
if [[ -f "/opt/homebrew/bin/brew" ]] then
# If you're using macOS, you'll want this enabled
eval "$(/opt/homebrew/bin/brew shellenv)"