From 1fafd18793d3753e9e2acae2cdf3c9f8fe02f1ae Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 25 Jun 2026 17:34:25 +0200 Subject: Remove broken wifi management function and install iwgtk instead --- .config/alpine-packages | 2 +- .config/dwm/config.h | 3 ++- .profile | 8 -------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.config/alpine-packages b/.config/alpine-packages index 43b0a48..fd6d0e5 100755 --- a/.config/alpine-packages +++ b/.config/alpine-packages @@ -43,7 +43,7 @@ adwaita-icon-theme firefox libreoffice telegram-desktop vlc-qt imv-x11 zathura-djvu zathura-pdf-mupdf zathura-ps -arandr blueman +arandr blueman iwgtk pdfarranger # Fonts diff --git a/.config/dwm/config.h b/.config/dwm/config.h index 6799b26..7a842d6 100644 --- a/.config/dwm/config.h +++ b/.config/dwm/config.h @@ -42,6 +42,7 @@ static const Rule rules[] = { { "TelegramDesktop", NULL, NULL, 1 << 3, 0, -1 }, { NULL, NULL, "stfloat", 0, 1, -1 }, { NULL, NULL, "Picture-in-Picture", TAGMASK, 1, -1 }, + { "iwgtk", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ @@ -187,7 +188,7 @@ static Key keys[] = { { MODKEY, XK_e, spawn, SHCMD("dmenu-bookmarks") }, /* System settings */ - { MODKEY|ShiftMask, XK_w, spawn, SHCMD("popup-terminal iwctl") }, + { MODKEY|ShiftMask, XK_w, spawn, SHCMD("iwgtk") }, { MODKEY|ShiftMask, XK_v, spawn, SHCMD("popup-terminal pulsemixer") }, { MODKEY|ShiftMask, XK_b, spawn, SHCMD("blueman-manager") }, { MODKEY|ShiftMask, XK_p, spawn, SHCMD("popup-terminal top") }, diff --git a/.profile b/.profile index 6a51b62..405befe 100644 --- a/.profile +++ b/.profile @@ -37,16 +37,8 @@ alias svi='vi "+so $HOME/.virc-spaces"' # Network management alias w='iwctl station wlan0 get-networks' -alias c='iwctl station wlan0 connect' alias e='doas ip link set eth1 up && doas udhcpc -i eth1 -n' alias d='iwctl station wlan0 disconnect' -wm() { - iwctl station wlan0 scan - iwctl station wlan0 get-networks | \ - uncolor | tail -n -4 | head -n -1 | \ - grep -e '^ ' | sed 's/^ //' | sed 's/ .*//' | \ - fzf | xargs iwctl station wlan0 connect -} # Email management (mblaze) MAIL=$HOME/mail -- cgit v1.3