removing swayidle stuff

This commit is contained in:
opal
2023-11-07 20:12:31 -08:00
parent 0b0fa975d5
commit ab0a20e75f
2 changed files with 18 additions and 9 deletions

View File

@@ -207,7 +207,8 @@
(use-package vterm
:commands vterm
:config
(setq vterm-shell "bash"))
(setq vterm-shell "bash")
(setq vterm-tramp-shells '("ssh" "/bin/bash")))
(setq rmh-elfeed-org-files (list "~/sync/elfeed/feeds.org"))
(add-hook! 'elfeed-search-mode-hook 'elfeed-update)

View File

@@ -1,3 +1,8 @@
exec_always {
gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Darker'
gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'
}
# Directional Keys
set $left h
set $down j
@@ -190,18 +195,22 @@ client.focused "#6400b0" "#7607e6" "#ffffff" "#6400b0"
set $opacity 0.90
for_window [class="Emacs"] opacity $opacity
# inhibit sway idle for any fulle screen programs.
#for_window [class="^.*"] inhibit_idle fullscreen
#for_window [app_id="^.*"] inhibit_idle fullscreen
# Gaps
smart_gaps on
gaps inner 5
gaps outer 2
# Idle configuration
exec swayidle -w \
timeout 1200 'swaylock -f' \
timeout 3200 'swaymsg "output * dpms off"' \
timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f'
# exec swayidle -w \
# timeout 1 'swaylock -f' \
# timeout 1 'swaymsg "output * dpms off"' \
# timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -f'
### Input configuration
#
@@ -236,7 +245,7 @@ bindswitch --reload --locked lid:off output $laptop enable
# Monitors
# You can get the names of your outputs by running: swaymsg -t get_outputs
output HDMI-A-1 scale 2.0
output * bg /home/opal/.config/wallpapers/mountains.jpg fill
output * bg /home/opal/.config/wallpapers/dante-bite.jpg fill
bindsym $mod+Shift+m output "HDMI-A-1" enable
bindsym $mod+Shift+n output "HDMI-A-1" disable
@@ -250,7 +259,6 @@ set $ws3 number 3
set $ws4 number 4
set $ws5 number 5
set $ws6 number 6
set $ws7 "mu"
# Switch to workspace
bindsym $mod+1 workspace $ws1