From 241e40ad8023922be73213a518c9624f737de066 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 1 Mar 2026 18:31:32 +0530 Subject: Change font --- README.md | 2 +- config/dunst/dunstrc | 2 +- config/qutebrowser/homepage/index.html | 2 +- config/qutebrowser/ui.py | 2 +- configuration.nix | 8 +++++++- extras/notes | 2 +- packages/dmenu/source | 2 +- packages/dwm/source | 2 +- packages/st/source | 2 +- packages/xmonad/source | 2 +- scripts/menuitems.sh | 26 ++++++++++++++++++++------ 11 files changed, 36 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 34e9f0a..1b59f0b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ * `zsh` - My shell * `sxiv` - Image viewer * `mpv` - Video player -* `daffm` - File manager +* `daffm` - Simple file manager ([github](https://github.com/phenax/daffm)) * `mpd` - Music daemon * `ncmpcpp` + `mpc` - Music client * `dwmblocks` - Status bar text ([My fork of dwmblocks](https://github.com/phenax/dwmblocks)) diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index 36a7a91..a8da50a 100644 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -1,5 +1,5 @@ [global] - font = JetBrainsMono Nerd Font, Font Awesome 5 Free Solid, Font Awesome 5 Free Regular, Font Awesome 5 Brands 11 + font = monospace, Font Awesome 5 Free Solid, Font Awesome 5 Free Regular, Font Awesome 5 Brands 11 # Allow a small subset of html markup: # bold diff --git a/config/qutebrowser/homepage/index.html b/config/qutebrowser/homepage/index.html index e703030..6cadc9e 100644 --- a/config/qutebrowser/homepage/index.html +++ b/config/qutebrowser/homepage/index.html @@ -15,7 +15,7 @@ padding: 0; background-color: var(--col-primary); color: #fff; - font-family: JetBrains Mono, sans-serif; + font-family: CozetteVector, monospace; } html, body, body * { box-sizing: border-box } diff --git a/config/qutebrowser/ui.py b/config/qutebrowser/ui.py index db59e76..6378c2d 100644 --- a/config/qutebrowser/ui.py +++ b/config/qutebrowser/ui.py @@ -15,7 +15,7 @@ def read_xresources(prefix): xresources = read_xresources('*') -c.fonts.default_family = 'JetBrainsMono Nerd Font' +c.fonts.default_family = 'monospace' c.fonts.default_size = '12px' c.colors.webpage.preferred_color_scheme = 'dark' diff --git a/configuration.nix b/configuration.nix index 7f94e62..5ce909c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -15,6 +15,7 @@ ./modules/sound ./modules/notifications ./modules/kakoune + ./modules/tmux # ./modules/ai ]; @@ -123,6 +124,9 @@ enable = true; autorun = false; displayManager.startx.enable = true; + # Keyboard config + autoRepeatDelay = 350; + autoRepeatInterval = 30; }; services.libinput = { enable = true; @@ -134,6 +138,8 @@ fonts.packages = with pkgs; [ # nerd-fonts._3270 nerd-fonts.jetbrains-mono + miracode + monocraft cozette noto-fonts-color-emoji inter @@ -163,7 +169,7 @@ auto-optimise-store = true; }; nix.gc = { - automatic = true; + automatic = false; dates = "weekly"; }; nix.extraOptions = '' diff --git a/extras/notes b/extras/notes index aa0771f..32b42f7 160000 --- a/extras/notes +++ b/extras/notes @@ -1 +1 @@ -Subproject commit aa0771f0a9f37c26500daa611b5c5d27649ae99d +Subproject commit 32b42f798889569ba33f9dd6c3b486942835aaa5 diff --git a/packages/dmenu/source b/packages/dmenu/source index 47dd5a8..e3dd213 160000 --- a/packages/dmenu/source +++ b/packages/dmenu/source @@ -1 +1 @@ -Subproject commit 47dd5a859cddf6116bc73a64684eea2170f44f43 +Subproject commit e3dd213aac533b1aced509a16e5d9ac4a4561df3 diff --git a/packages/dwm/source b/packages/dwm/source index aa8b22e..6664b3e 160000 --- a/packages/dwm/source +++ b/packages/dwm/source @@ -1 +1 @@ -Subproject commit aa8b22eac9bd9da0655870c7029dd41c15381d4c +Subproject commit 6664b3ed1af1eaefa9809dadf83af9f498cc72c2 diff --git a/packages/st/source b/packages/st/source index 1c8273f..e9fc15e 160000 --- a/packages/st/source +++ b/packages/st/source @@ -1 +1 @@ -Subproject commit 1c8273f519e6666dd949da0d6df778975630c77c +Subproject commit e9fc15eff149047447fad4e95c1cf7bc9aeac005 diff --git a/packages/xmonad/source b/packages/xmonad/source index 934a74b..0a53f07 160000 --- a/packages/xmonad/source +++ b/packages/xmonad/source @@ -1 +1 @@ -Subproject commit 934a74b4cfb92d425d757296a53b53f21f1a9bd0 +Subproject commit 0a53f07b09e2624785c49001802349e9e887b1bf diff --git a/scripts/menuitems.sh b/scripts/menuitems.sh index 7781e57..505b610 100755 --- a/scripts/menuitems.sh +++ b/scripts/menuitems.sh @@ -13,12 +13,24 @@ playerctl_icon() { esac } + +playerctl_prefix() { + local playstate="$(~/scripts/music/player.sh get_play_state)"; + case "$playstate" in + Paused) echo "" ;; + Playing) echo "PLAYING: " ;; + Stopped) echo "" ;; + *) ;; + esac +} + network_state() { local status=$((nmcli dev show wlp0s20f3 || echo "") | grep '^GENERAL.STATE:' | sed 's/^GENERAL.STATE:\s*//g'); - echo " ${status:0:16}"; + echo " ${status:0:16}"; } -volume_icon() { volume_component 4 | sed 's/on//; s/off/🔇/'; } +# volume_icon() { volume_component 4 | sed 's/on//; s/off/🔇/'; } +volume_icon() { volume_component 4 | sed 's/on/VOL/; s/off/MUTE/'; } mic_icon() { mic_component 4 | sed 's/on//; s/off/✖/'; } icon() { @@ -34,17 +46,19 @@ icon() { } date_module() { - echo "$(icon date) $(date +"%A, %e %b - %I:%M %p")"; + # echo "$(icon date) $(date +"%A, %e %b - %I:%M %p")"; + echo "$(date +"%A, %e %b - %I:%M %p")"; } battery_module() { local capacity=$(cat "/sys/class/power_supply/BAT0/capacity"); - echo "$(icon battery) $capacity%"; + # echo "$(icon battery) $capacity%"; + echo "BAT: $capacity%"; } music_module() { local label=$(~/scripts/music/player.sh get_label); - echo "$(icon music) $label"; + echo "$(playerctl_prefix)$label"; } brightness_module() { @@ -52,7 +66,7 @@ brightness_module() { } volume_module() { - echo "$(icon volume) $(volume_component 2)"; + echo "$(icon volume): $(volume_component 2)"; } keymode_module() { -- cgit v1.3.1