summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-03-02 21:46:16 -0500
committerAmin Bandali <bandali@kelar.org>2024-03-02 21:46:16 -0500
commitffd0084f8612a11de7263b1dc627a3ed8f97d923 (patch)
treedc11bd46980d4be6bf5c53bbd9a4832a77a6058e
parent90861c908a7ffc2ab2e35fcf488250b324125ed9 (diff)
downloadconfigs-ffd0084f8612a11de7263b1dc627a3ed8f97d923.tar.gz
configs-ffd0084f8612a11de7263b1dc627a3ed8f97d923.tar.xz
configs-ffd0084f8612a11de7263b1dc627a3ed8f97d923.zip
Various updates from nostalgia
Diffstat (limited to '')
-rw-r--r--.bashrc2
-rw-r--r--.config/sway/config20
-rw-r--r--.emacs.d/lisp/bandali-gnus.el12
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