From ffd0084f8612a11de7263b1dc627a3ed8f97d923 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 2 Mar 2024 21:46:16 -0500 Subject: Various updates from nostalgia --- .bashrc | 2 +- .config/sway/config | 20 ++++++++++++++++---- .emacs.d/lisp/bandali-gnus.el | 12 +----------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.bashrc b/.bashrc index 5fb69fb..298bddd 100644 --- a/.bashrc +++ b/.bashrc @@ -131,7 +131,7 @@ alias cp="cp -iv" alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc' alias getmail='getmail --getmaildir "$XDG_CONFIG_HOME"/getmail --rcfile getmailrc' alias m="mbsync csclub; mbsync kelar; mbsync shemshak; mbsync gnub; getmail" -alias e="$EDITOR" +# alias e="$EDITOR" alias se="SUDO_EDITOR=\"emacsclient\" sudo -e" alias alert='notify-send --urgency=low \ diff --git a/.config/sway/config b/.config/sway/config index 165509e..9cf7b36 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -17,8 +17,8 @@ set $term foot set $menu dmenu_path | wmenu -f '$font' | xargs swaymsg exec -- exec swayidle -w \ - timeout 300 'swaylock -f -c 000000' \ - timeout 310 'swaymsg "output * power off"' \ + timeout 600 'swaylock -f -c 000000' \ + timeout 610 'swaymsg "output * power off"' \ resume 'swaymsg "output * power on"' \ before-sleep 'swaylock -f -c 000000' @@ -61,7 +61,7 @@ bindsym XF86MonBrightnessUp exec light -A 5 bindsym XF86MonBrightnessDown exec light -U 5 bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% -bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK -5% +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym $mod+XF86AudioRaiseVolume exec pactl set-source-volume @DEFAULT_SOURCE@ +5% bindsym $mod+XF86AudioLowerVolume exec pactl set-source-volume @DEFAULT_SOURCE@ -5% @@ -154,10 +154,15 @@ bar { } } +seat seat0 hide_cursor 5000 + +default_border pixel 4 +hide_edge_borders smart + for_window [window_role="pop-up"] floating enable for_window [app_id="mpv"] floating enable -for_window [app_id="mumble"] floating enable +for_window [app_id="mumble"] floating enable, inhibit_idle for_window [app_id="nm-connection-editor"] floating enable for_window [app_id="virt-manager"] floating enable for_window [class="Vncviewer"] floating enable @@ -165,6 +170,13 @@ for_window [class="TigerVNC Viewer"] floating enable for_window [app_id="thunar"] floating enable for_window [app_id="pavucontrol"] floating enable +for_window [app_id="firefox" title="^Picture-in-Picture$"] \ + floating enable, move position 68 ppt 67 ppt, sticky enable +for_window [app_id="firefox" title="Choose User Profile"] \ + floating enable +for_window [app_id="firefox" title="Sharing Indicator"] \ + floating enable, kill + include ~/.config/sway/`hostname` exec dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK diff --git a/.emacs.d/lisp/bandali-gnus.el b/.emacs.d/lisp/bandali-gnus.el index 0c22e4b..21dd807 100644 --- a/.emacs.d/lisp/bandali-gnus.el +++ b/.emacs.d/lisp/bandali-gnus.el @@ -60,14 +60,7 @@ (nnimap-address "127.0.0.1") (nnimap-server-port 143) (nnimap-authenticator plain) - (nnimap-user "bandali@kelar.local") - (nnimap-inbox "INBOX") - (nnimap-split-methods 'nnimap-split-fancy) - (nnimap-split-fancy - (| - ("subject" "nagios-fsf:.*" "nagios-fsf") - ;; otherwise, leave mail in INBOX - "INBOX"))) + (nnimap-user "bandali@kelar.local")) (nnimap "shemshak" (nnimap-stream plain) @@ -122,9 +115,6 @@ (from ".*@\\(.+\\)?bitfolk\\.com>.*" "bitfolk") ;; haskell (list ".*<\\(.*\\)\\.haskell\\.org>.*" "l.\\1") - ;; *.lists.sr.ht, omitting one dot if present - ;; add more \\.?\\([^.]*\\) if needed - (list ".*<~\\(.*\\)/\\([^.]*\\)\\.?\\([^.]*\\)\\.lists\\.sr\\.ht>.*" "l.~\\1.\\2\\3") ;; webmasters (from "webmasters\\(-comment\\)?@gnu\\.org" "webmasters") ;; other -- cgit v1.2.3-60-g2f50