personal/dotfiles

framework changes (843bcdeae38603cb4382cea2a6b6c49c6981c177)
Repositories | README.md | LICENSE

commit 843bcdeae38603cb4382cea2a6b6c49c6981c177
parent 3d56f5233eb7826f336c7a825d5dec7b2a8e5f61
Author: Friedel Schön <[email protected]>
Date:   Tue, 27 Aug 2024 11:31:22 +0200

framework changes

Diffstat:
Mconfigs/dwm.h2+-
Mconfigs/slstatus.h10+++++-----
Mconfigs/st.h2+-
Mdotfiles/xresources3++-
Mhome.nix3+++
Mpkgs/dmenu.nix4++--
6 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/configs/dwm.h b/configs/dwm.h @@ -32,7 +32,7 @@ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/ static const int showsystray = 1; /* 0 means no systray */ -static const char *fonts[] = {"Source Code Pro:size=9"}; +static const char *fonts[] = {"Monaco:size=10"}; static const char *colors_[][3] = { // light /* fg bg border */ [SchemeNorm] = {gray3, white, gray2}, diff --git a/configs/slstatus.h b/configs/slstatus.h @@ -70,13 +70,13 @@ static const char unknown_str[] = "n/a"; //│ st static const struct arg args[] = { /* function format argument */ - { netspeed_rx, always, "󰛀 %8sB/s", "wlp2s0" }, { - { netspeed_tx, always, " | 󰛃 %8sB/s", "wlp2s0" }, { + { netspeed_rx, always, "󰛀 %8sB/s", "wlp170s0" }, { + { netspeed_tx, always, " | 󰛃 %8sB/s", "wlp170s0" }, { { cat, always, " | 󰏗 %s", "/tmp/xbps-updates.txt" }, { { ram_perc, always, " | 󰍛 %3s%%", NULL }, { { cpu_perc, always, " |  %3s%%", NULL }, { - { battery_state,always," | %s ", "BAT0" }, - { battery_perc,always, "%s%%", "BAT0" }, - { battery_remaining, battery_discharge, " (%s)", "BAT0" }, + { battery_state,always," | %s ", "BAT1" }, + { battery_perc,always, "%s%%", "BAT1" }, + { battery_remaining, battery_discharge, " (%s)", "BAT1" }, { datetime, always, " | 󱑂 %s", "%d-%m-%y %H:%M:%S" },}; }; diff --git a/configs/st.h b/configs/st.h @@ -5,7 +5,7 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char font[] = "Monaco:pixelsize=13:antialias=true:autohint=true"; +static char font[] = "Monaco:size=9:antialias=true:autohint=true"; static int borderpx = 5; /* diff --git a/dotfiles/xresources b/dotfiles/xresources @@ -1 +1,2 @@ -Xcursor.theme: Adwaita +Xft.dpi: 141 +Xcursor.theme: Adwaita diff --git a/home.nix b/home.nix @@ -53,6 +53,8 @@ rec { extraOptions = "experimental-features = nix-command flakes impure-derivations"; }; + targets.genericLinux.enable = true; + # Let Home Manager install and manage itself. programs.home-manager.enable = true; @@ -70,6 +72,7 @@ rec { neofetch = "${pkgs.fastfetch}/bin/fastfetch"; ccat = "${pkgs.bat}/bin/bat --style=plain --paging=never --theme=OneHalfDark"; hm = "home-manager"; + publicip = "${pkgs.curl}/bin/curl https://zx2c4.com/ip"; }; history = { diff --git a/pkgs/dmenu.nix b/pkgs/dmenu.nix @@ -37,8 +37,8 @@ with pkgs; stdenv.mkDerivation rec { ]; configurePhase = '' - # ln -sf ${../assets/dmenu_path} dmenu_path - # ln -sf ${configHeader} config.h + ln -sf ${../assets/dmenu_path} dmenu_path + ln -sf ${configHeader} config.h ''; buildPhase = ''