commit b3fff60ec1170e9f1324a47709c5623be085850e
parent a677d0b4439d9886d1f1cbb6b8d85744c2006088
Author: Wim Dupont <wim@wimdupont.com>
Date: Sat, 8 Mar 2025 20:02:48 +0100
config update
Diffstat:
3 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -117,12 +117,13 @@ alias bt='bluetoothctl'
alias e='cex'
alias wifi='nmcli radio wifi'
alias todo='vim ~/authored/.todo.adoc'
-alias signal-cli='sh ~/Downloads/signal-cli/signal-cli.sh'
+alias signal-cli='sh ~/downloads/signal-cli/signal-cli.sh'
alias lg='lazygit'
alias rss='export SFEED_URL_FILE="$HOME/.sfeed/urls" && [ -f "$SFEED_URL_FILE" ] || touch "$SFEED_URL_FILE" && sfeed_curses ~/.sfeed/feeds/*'
alias rssu='sfeed_update ~/.sfeed/sfeedrc'
alias rsse='vim ~/.sfeed/sfeedrc'
alias lockcheck='faillock --user $USER'
alias lockfree='faillock --user $USER --reset'
+alias cr='cargo run'
PS1='[\u@\h \W]\$ '
diff --git a/diffs/dwm-config.diff b/diffs/dwm-config.diff
@@ -1,5 +1,5 @@
diff --git a/config.def.h b/config.def.h
-index cfc6891..bd4d7f5 100644
+index cfc6891..713c5d0 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,14 +1,14 @@
@@ -79,10 +79,10 @@ index cfc6891..bd4d7f5 100644
+ { MODKEY|ShiftMask, XK_p, spawn, SHCMD("otp") },
+ { MODKEY1|ControlMask, XK_p, spawn, SHCMD("pwu -t -c") },
+ { MODKEY1|ControlMask|ShiftMask,XK_p, spawn, SHCMD("otp -t") },
-+ { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) +5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | cut -d '/' -f2)") },
-+ { MODKEY1|ControlMask, XK_v, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) +5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | cut -d '/' -f2)") },
-+ { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) -5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | cut -d '/' -f2)") },
-+ { MODKEY1|ControlMask|ShiftMask,XK_v, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) -5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | cut -d '/' -f2)") },
++ { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) +5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | head -n 1 | cut -d '/' -f2 | tr -d ' ')") },
++ { MODKEY1|ControlMask, XK_v, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) +5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | head -n 1 | cut -d '/' -f2 | tr -d ' ')") },
++ { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) -5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | head -n 1 | cut -d '/' -f2 | tr -d ' ')") },
++ { MODKEY1|ControlMask|ShiftMask,XK_v, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) -5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | head -n 1 | cut -d '/' -f2 | tr -d ' ')") },
+ { MODKEY, XK_m, spawn, SHCMD("pactl set-sink-mute $(pactl get-default-sink) toggle && dunstify -h string:x-dunst-stack-tag:mute $(pactl get-sink-mute $(pactl get-default-sink))") },
+ { 0, XF86XK_AudioMute, spawn, SHCMD("pactl set-sink-mute $(pactl get-default-sink) toggle && dunstify -h string:x-dunst-stack-tag:mute $(pactl get-sink-mute $(pactl get-default-sink))") },
+ { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("light -A 2.5 && dunstify -h string:x-dunst-stack-tag:brightness Brightness:$(light)") },
diff --git a/vimrc b/vimrc
@@ -27,6 +27,7 @@ set ic
let t:is_transparent = 1
let t:is_book = 0
let g:netrw_winsize = 20
+let g:netrw_banner = 0
function! Toggle_transparent()
:colors default