From bec224e0f463d049159899671109e95b89af42f1 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Wed, 26 Jun 2024 06:25:36 -0500 Subject: [PATCH] update --- .config/sway/config | 2 +- .config/waybar/config | 2 +- .zshrc | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 92b0d80..eb901bb 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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 diff --git a/.config/waybar/config b/.config/waybar/config index e78f367..9832f6d 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -13,7 +13,7 @@ "format": "{title}" }, "network": { - "interface": "wlan0", + "interface": "wlp0s20f3", "format-wifi": "󰖩 {essid}", "format-disconnected": "󰖪", "interval": 1 diff --git a/.zshrc b/.zshrc index 1391bd7..48b8547 100644 --- a/.zshrc +++ b/.zshrc @@ -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)"