From 148527b8e53c538c9710982147257dccabe07981 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 16 Jun 2023 23:08:27 +0300 Subject: [PATCH] fonts --- lnx/.Xresources | 12 ++--- lnx/.config/foot/foot.ini | 7 +-- lnx/.config/i3status-rust/config.toml | 76 ++++++--------------------- lnx/.config/sway/config | 9 ++-- 4 files changed, 25 insertions(+), 79 deletions(-) diff --git a/lnx/.Xresources b/lnx/.Xresources index 719fe92..a895298 100644 --- a/lnx/.Xresources +++ b/lnx/.Xresources @@ -5,11 +5,9 @@ Xft.lcdfilter: true Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintslight -Xft.dpi: 96 +Xft.dpi: 192 -#define TERMINUS -xos4-terminus-bold-*-*-*-18-*-*-*-*-*-iso10646-1 -#define TERMINUS_SMALL -xos4-terminus-*-*-*-*-12-*-*-*-*-*-iso10646-1 -#define FONT xft:Fantasque Sans Mono:12 +#define FONT xft:vcascadia:size=13 ! gruvbox #define COLORFG #ebdbb2 @@ -61,10 +59,8 @@ Xft.dpi: 96 ! }}} ! {{{ urxvt ! fonts -URxvt.font: TERMINUS -URxvt.boldFont: TERMINUS -URxvt.italicFont: TERMINUS -URxvt.boldItalicFont: TERMINUS +URxvt.font: FONT +URxvt.letterSpace: -1 ! misc URxvt.intensityStyles: false diff --git a/lnx/.config/foot/foot.ini b/lnx/.config/foot/foot.ini index 0a678a0..9174acd 100644 --- a/lnx/.config/foot/foot.ini +++ b/lnx/.config/foot/foot.ini @@ -1,6 +1,6 @@ # -*- conf -*- -font=Cascadia Code PL:size=14 +font=vcascadia:size=12 box-drawings-uses-font-glyphs=no # dpi-aware=yes @@ -16,11 +16,6 @@ notify=no [scrollback] lines=15000 -[cursor] -style=underline -color=111111 dcdccc -underline-thickness=3 - [mouse] hide-when-typing=no diff --git a/lnx/.config/i3status-rust/config.toml b/lnx/.config/i3status-rust/config.toml index 6be6ddb..8863b80 100644 --- a/lnx/.config/i3status-rust/config.toml +++ b/lnx/.config/i3status-rust/config.toml @@ -1,5 +1,5 @@ [theme] -name = "gruvbox-dark" +theme = "gruvbox-dark" [theme.overrides] separator = '|' idle_bg = "#2c2c2c" @@ -16,81 +16,39 @@ separator_bg = "#2c2c2c" separator_fg = "#3c3836" [icons] -name = "awesome" -[icons.overrides] -music = '' - -[[block]] -block = "music" -player = "spotify" -buttons = ["play", "next"] -hide_when_empty = true -dynamic_width = true -max_width = 80 - -[[block]] -block = "disk_space" -path = "/home/von" -warning = 10.0 -alert = 5.0 -format = "~ {available}" +icons = "awesome4" [[block]] block = "disk_space" path = "/" warning = 10.0 alert = 5.0 -format = "/ {available}" - -[[block]] -block = "memory" -display_type = "memory" -clickable = false -format_mem = "{mem_used_percents}" [[block]] block = "cpu" interval = 1 -[[block]] -block = "load" -interval = 1 -format = "{1m}" +#[[block]] +#block = "sound" +#on_click = "pavucontrol" +#step_width = 2 [[block]] -block = "sound" -on_click = "pavucontrol" -step_width = 2 - -[[block]] -block = "battery" -driver = "sysfs" -device = "/sys/class/power_supply/BAT0" -format = "{percentage}" -full_format = "{percentage}" - -[[block]] -block = "networkmanager" -on_click = "kitty --class nmtui -e nmtui-connect" -device_format = "{icon} {ap}" +block = "keyboard_layout" +driver = "sway" #[[block]] -#block = "keyboard_layout" -#driver = "sway" +#block = "custom" +#command = "printf \uf019" +#on_click = "screenshot-tool file" +#interval = 60 -[[block]] -block = "custom" -command = "printf '\uf019'" -on_click = "screenshot-tool file" -interval = 60 - -[[block]] -block = "custom" -command = "printf '\uf0ea'" -on_click = "screenshot-tool" -interval = 60 +#[[block]] +#block = "custom" +#command = "printf \uf0ea" +#on_click = "screenshot-tool" +#interval = 60 [[block]] block = "time" interval = 5 -format = "%a %d %R" diff --git a/lnx/.config/sway/config b/lnx/.config/sway/config index 4532124..fdb813e 100644 --- a/lnx/.config/sway/config +++ b/lnx/.config/sway/config @@ -14,8 +14,8 @@ set $down j set $up k set $right l -set $font Cascadia Code PL 13 -font pango:Cascadia Code PL 11 +set $font vcascadia 13 +font pango:vcascadia 11 #set $font Fantasque Sans Mono 15 #font pango:Fantasque Sans Mono 13 @@ -33,10 +33,7 @@ seat seat0 xcursor_theme Vanilla-DMZ output * bg $wallpaper fill ### Dynamic display configuration -exec kanshi -exec_always pkill kanshi; exec kanshi -#output eDP-1 position 0,0 scale 1 -#output DP-1 scale 1.5 +output Virtual-1 scale 2 # # Example configuration: #