From c4d0e3de7ad04114797abb14368e4a6f8da04a60 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 8 May 2026 23:55:30 +0200 Subject: Updates from alpine --- .config/alpine-packages | 6 +++--- .config/dmenu/config.h | 2 +- .config/dwm/config.h | 12 ++++-------- .config/motd | 2 ++ .config/st/config.h | 2 +- 5 files changed, 11 insertions(+), 13 deletions(-) create mode 100644 .config/motd (limited to '.config') 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 # Core tools (non-X) coreutils-fmt curl imagemagick ffmpeg tmux ghostscript ncurses shellcheck kbd # For console keyboard configuration -syncthing fzf sfeed yt-dlp mblaze msmtp oath-toolkit +syncthing fzf sfeed yt-dlp mblaze msmtp isync oath-toolkit # Development tools build-base git gdb valgrind clang20 python3 rust cargo hare @@ -27,12 +27,12 @@ libx11-dev libxft-dev libxinerama-dev # Xorg xorg-server xinit eudev mesa-dri-gallium xf86-video-intel xf86-input-libinput xf86-input-synaptics -setxkbmap xsel xbanish xsetroot xwallpaper xev slock +setxkbmap xsel xbanish xsetroot xwallpaper xev slock brightnessctl # X applications firefox libreoffice telegram-desktop vlc imv-x11 zathura-djvu zathura-pdf-mupdf zathura-ps -arandr iwgtk +arandr #iwgtk # Fonts, but like a gazillion of them 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 @@ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { - "monospace:size=12" + "monospace:size=14" }; static const char *prompt = NULL; /* -p option; prompt to the left of input field */ 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 */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "monospace:size=18" }; -static const char dmenufont[] = "monospace:size=18"; +static const char *fonts[] = { "monospace:size=14" }; +static const char dmenufont[] = "monospace:size=14"; /* Dark scheme: */ /* @@ -72,15 +72,12 @@ static const Layout layouts[] = { /* commands */ static const char *termcmd[] = { "st", NULL }; static char dmenumon[2] = "0"; /* used in dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL }; -/* Colors in dmenu config.h built from source static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; -*/ /* Necessary library for some multimedia key names */ #include @@ -179,7 +176,6 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_Return, spawn, SHCMD("terminal") }, { MODKEY|ShiftMask, XK_backslash, spawn, SHCMD("popup-terminal") }, { MODKEY|ShiftMask, XK_f, spawn, SHCMD("firefox") }, - { MODKEY|ShiftMask, XK_g, spawn, SHCMD("xedit") }, { MODKEY|ShiftMask, XK_j, spawn, SHCMD("terminal bc -q $HOME/box/bc.library") }, { MODKEY, XK_y, spawn, SHCMD("clip") }, { MODKEY, XK_d, spawn, SHCMD("popup-cal12") }, @@ -195,8 +191,8 @@ static Key keys[] = { /* Multimedia */ { 0, XK_Print, spawn, SHCMD("dmenu-screenshot") }, - { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") }, - { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") }, + { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl set 5%+") }, + { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnessctl set 5%-") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +5 && xroot-update") }, { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -5 && xroot-update") }, { 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 @@ +Welcome to Alpine! + 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 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "Liberation Mono:pixelsize=32:antialias=true:autohint=true"; +static char *font = "Liberation Mono:pixelsize=18:antialias=true:autohint=true"; static int borderpx = 2; /* -- cgit v1.3