Add help for common issues

This commit is contained in:
2024-06-22 18:50:13 +01:00
parent 16664a078e
commit 74bede7d84
11 changed files with 20 additions and 7 deletions

12
FIXES.md Normal file
View File

@@ -0,0 +1,12 @@
# Fix common issues
## WiFi
### Access point requires a password or encryption key - Can't connect.
Edit `/etc/NetworkManager/NetworkManager.conf`.
```diff
+ [device]
+ wifi.scan-rand-mac-address=no
```

Binary file not shown.

Binary file not shown.

View File

@@ -68,20 +68,20 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL };
static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", NULL };
static const char *slockcmd[] = { "slock", NULL };
static const char *screenshotcmd[] = { "scrot", "--select", "--line", "mode=edge", NULL };
static const char *webcmd[] = { "firefox", "--new-window", "/home/trude/.homepage/index.html" };
static const char *webcmd[] = { "firefox", "--new-window", "/home/trude/.homepage/index.html", NULL };
static const Key keys[] = {
/* Volume keys support */
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
{ 0, XF86XK_AudioMute, spawn, {.v = mutevol } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = slockcmd } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } },
{ MODKEY, XK_w, spawn, {.v = webcmd } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } },
{ MODKEY, XK_w, spawn, {.v = webcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@@ -91,7 +91,7 @@ static const Key keys[] = {
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY|ShiftMask, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY, XK_c, killclient, {0} },
{ MODKEY, XK_c, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },

Binary file not shown.

Binary file not shown.

View File

@@ -73,7 +73,8 @@ static const struct arg args[] = {
{ wifi_essid, "%s", "wlo1" },
{ wifi_perc, "(%s", "wlan0" },
{ wifi_perc, "%s%%) ", "wlo1" },
{ battery_perc, "󰂉 %s%% ", "BAT0" },
{ battery_perc, "󰂉 %s", "BAT0" },
{ battery_perc, "%s%% ", "cw2015-battery" },
{ run_command, " %s%% ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -c 11-" },
{ cpu_perc, " %s%% ", NULL },
{ ram_used, " %s", NULL },

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.