diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-08 23:55:30 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-08 23:55:30 +0200 |
| commit | c4d0e3de7ad04114797abb14368e4a6f8da04a60 (patch) | |
| tree | 5ef72a5dfb5f6b1b15c1c3ac3e2e876bb9398ed2 /.config | |
| parent | 453436ee53cd9935473cf1944dd072281d69a99f (diff) | |
| download | config-c4d0e3de7ad04114797abb14368e4a6f8da04a60.tar.gz config-c4d0e3de7ad04114797abb14368e4a6f8da04a60.zip | |
Updates from alpine
Diffstat (limited to '.config')
| -rwxr-xr-x | .config/alpine-packages | 6 | ||||
| -rw-r--r-- | .config/dmenu/config.h | 2 | ||||
| -rw-r--r-- | .config/dwm/config.h | 12 | ||||
| -rw-r--r-- | .config/motd | 2 | ||||
| -rw-r--r-- | .config/st/config.h | 2 |
5 files changed, 11 insertions, 13 deletions
diff --git a/.config/alpine-packages b/.config/alpine-packages index 946a038..b939d00 100755 --- a/.config/alpine-packages +++ b/.config/alpine-packages | |||
| @@ -17,7 +17,7 @@ pulseaudio pulseaudio-bluez pulseaudio-alsa alsa-plugins-pulse pulseaudio-utils | |||
| 17 | # Core tools (non-X) | 17 | # Core tools (non-X) |
| 18 | coreutils-fmt curl imagemagick ffmpeg tmux ghostscript ncurses shellcheck | 18 | coreutils-fmt curl imagemagick ffmpeg tmux ghostscript ncurses shellcheck |
| 19 | kbd # For console keyboard configuration | 19 | kbd # For console keyboard configuration |
| 20 | syncthing fzf sfeed yt-dlp mblaze msmtp oath-toolkit | 20 | syncthing fzf sfeed yt-dlp mblaze msmtp isync oath-toolkit |
| 21 | 21 | ||
| 22 | # Development tools | 22 | # Development tools |
| 23 | build-base git gdb valgrind clang20 python3 rust cargo hare | 23 | build-base git gdb valgrind clang20 python3 rust cargo hare |
| @@ -27,12 +27,12 @@ libx11-dev libxft-dev libxinerama-dev | |||
| 27 | # Xorg | 27 | # Xorg |
| 28 | xorg-server | 28 | xorg-server |
| 29 | xinit eudev mesa-dri-gallium xf86-video-intel xf86-input-libinput xf86-input-synaptics | 29 | xinit eudev mesa-dri-gallium xf86-video-intel xf86-input-libinput xf86-input-synaptics |
| 30 | setxkbmap xsel xbanish xsetroot xwallpaper xev slock | 30 | setxkbmap xsel xbanish xsetroot xwallpaper xev slock brightnessctl |
| 31 | 31 | ||
| 32 | # X applications | 32 | # X applications |
| 33 | firefox libreoffice telegram-desktop vlc imv-x11 | 33 | firefox libreoffice telegram-desktop vlc imv-x11 |
| 34 | zathura-djvu zathura-pdf-mupdf zathura-ps | 34 | zathura-djvu zathura-pdf-mupdf zathura-ps |
| 35 | arandr iwgtk | 35 | arandr #iwgtk |
| 36 | 36 | ||
| 37 | # Fonts, but like a gazillion of them | 37 | # Fonts, but like a gazillion of them |
| 38 | font-terminus font-noto font-noto-extra font-arabic-misc | 38 | font-terminus font-noto font-noto-extra font-arabic-misc |
diff --git a/.config/dmenu/config.h b/.config/dmenu/config.h index fb69c65..889577e 100644 --- a/.config/dmenu/config.h +++ b/.config/dmenu/config.h | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ | 4 | static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ |
| 5 | /* -fn option overrides fonts[0]; default X11 font or font set */ | 5 | /* -fn option overrides fonts[0]; default X11 font or font set */ |
| 6 | static const char *fonts[] = { | 6 | static const char *fonts[] = { |
| 7 | "monospace:size=12" | 7 | "monospace:size=14" |
| 8 | }; | 8 | }; |
| 9 | static const char *prompt = NULL; /* -p option; prompt to the left of input field */ | 9 | static const char *prompt = NULL; /* -p option; prompt to the left of input field */ |
| 10 | static const char *colors[SchemeLast][2] = { | 10 | static const char *colors[SchemeLast][2] = { |
diff --git a/.config/dwm/config.h b/.config/dwm/config.h index 1a98237..91134c8 100644 --- a/.config/dwm/config.h +++ b/.config/dwm/config.h | |||
| @@ -5,8 +5,8 @@ static const unsigned int borderpx = 3; /* border pixel of windows */ | |||
| 5 | static const unsigned int snap = 32; /* snap pixel */ | 5 | static const unsigned int snap = 32; /* snap pixel */ |
| 6 | static const int showbar = 1; /* 0 means no bar */ | 6 | static const int showbar = 1; /* 0 means no bar */ |
| 7 | static const int topbar = 1; /* 0 means bottom bar */ | 7 | static const int topbar = 1; /* 0 means bottom bar */ |
| 8 | static const char *fonts[] = { "monospace:size=18" }; | 8 | static const char *fonts[] = { "monospace:size=14" }; |
| 9 | static const char dmenufont[] = "monospace:size=18"; | 9 | static const char dmenufont[] = "monospace:size=14"; |
| 10 | 10 | ||
| 11 | /* Dark scheme: */ | 11 | /* Dark scheme: */ |
| 12 | /* | 12 | /* |
| @@ -72,15 +72,12 @@ static const Layout layouts[] = { | |||
| 72 | /* commands */ | 72 | /* commands */ |
| 73 | static const char *termcmd[] = { "st", NULL }; | 73 | static const char *termcmd[] = { "st", NULL }; |
| 74 | static char dmenumon[2] = "0"; /* used in dmenucmd, manipulated in spawn() */ | 74 | static char dmenumon[2] = "0"; /* used in dmenucmd, manipulated in spawn() */ |
| 75 | static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL }; | ||
| 76 | /* Colors in dmenu config.h built from source | ||
| 77 | static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, | 75 | static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, |
| 78 | "-fn", dmenufont, | 76 | "-fn", dmenufont, |
| 79 | "-nb", col_gray1, | 77 | "-nb", col_gray1, |
| 80 | "-nf", col_gray3, | 78 | "-nf", col_gray3, |
| 81 | "-sb", col_cyan, | 79 | "-sb", col_cyan, |
| 82 | "-sf", col_gray4, NULL }; | 80 | "-sf", col_gray4, NULL }; |
| 83 | */ | ||
| 84 | 81 | ||
| 85 | /* Necessary library for some multimedia key names */ | 82 | /* Necessary library for some multimedia key names */ |
| 86 | #include <X11/XF86keysym.h> | 83 | #include <X11/XF86keysym.h> |
| @@ -179,7 +176,6 @@ static Key keys[] = { | |||
| 179 | { MODKEY|ShiftMask, XK_Return, spawn, SHCMD("terminal") }, | 176 | { MODKEY|ShiftMask, XK_Return, spawn, SHCMD("terminal") }, |
| 180 | { MODKEY|ShiftMask, XK_backslash, spawn, SHCMD("popup-terminal") }, | 177 | { MODKEY|ShiftMask, XK_backslash, spawn, SHCMD("popup-terminal") }, |
| 181 | { MODKEY|ShiftMask, XK_f, spawn, SHCMD("firefox") }, | 178 | { MODKEY|ShiftMask, XK_f, spawn, SHCMD("firefox") }, |
| 182 | { MODKEY|ShiftMask, XK_g, spawn, SHCMD("xedit") }, | ||
| 183 | { MODKEY|ShiftMask, XK_j, spawn, SHCMD("terminal bc -q $HOME/box/bc.library") }, | 179 | { MODKEY|ShiftMask, XK_j, spawn, SHCMD("terminal bc -q $HOME/box/bc.library") }, |
| 184 | { MODKEY, XK_y, spawn, SHCMD("clip") }, | 180 | { MODKEY, XK_y, spawn, SHCMD("clip") }, |
| 185 | { MODKEY, XK_d, spawn, SHCMD("popup-cal12") }, | 181 | { MODKEY, XK_d, spawn, SHCMD("popup-cal12") }, |
| @@ -195,8 +191,8 @@ static Key keys[] = { | |||
| 195 | 191 | ||
| 196 | /* Multimedia */ | 192 | /* Multimedia */ |
| 197 | { 0, XK_Print, spawn, SHCMD("dmenu-screenshot") }, | 193 | { 0, XK_Print, spawn, SHCMD("dmenu-screenshot") }, |
| 198 | { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") }, | 194 | { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl set 5%+") }, |
| 199 | { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") }, | 195 | { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnessctl set 5%-") }, |
| 200 | { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +5 && xroot-update") }, | 196 | { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +5 && xroot-update") }, |
| 201 | { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -5 && xroot-update") }, | 197 | { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -5 && xroot-update") }, |
| 202 | { 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute && xroot-update") }, | 198 | { 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute && xroot-update") }, |
diff --git a/.config/motd b/.config/motd new file mode 100644 index 0000000..68ee267 --- /dev/null +++ b/.config/motd | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | Welcome to Alpine! | ||
| 2 | |||
diff --git a/.config/st/config.h b/.config/st/config.h index b5e27c9..1535782 100644 --- a/.config/st/config.h +++ b/.config/st/config.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * | 5 | * |
| 6 | * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html | 6 | * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html |
| 7 | */ | 7 | */ |
| 8 | static char *font = "Liberation Mono:pixelsize=32:antialias=true:autohint=true"; | 8 | static char *font = "Liberation Mono:pixelsize=18:antialias=true:autohint=true"; |
| 9 | static int borderpx = 2; | 9 | static int borderpx = 2; |
| 10 | 10 | ||
| 11 | /* | 11 | /* |
