From b36021a87da7977feb64a54466d76913e8f3f0d6 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Wed, 22 Feb 2023 11:37:22 -0600 Subject: lots of intermingled changes - switch to cascadia as monospace font - switch to fontawesome for waybar icons - dircolors readability improvements - foot terminal on linux - waybar visual tweaks - deploy script improvements --- config/linux/foot/foot.ini | 3 ++- config/linux/kitty/kitty.conf | 48 ------------------------------------------- config/linux/sway/config | 4 ++-- config/linux/waybar/config | 36 +++++++++++++------------------- config/linux/waybar/style.css | 18 +++++++++++++++- config/linux/wofi/style.css | 2 +- 6 files changed, 36 insertions(+), 75 deletions(-) delete mode 100644 config/linux/kitty/kitty.conf (limited to 'config/linux') diff --git a/config/linux/foot/foot.ini b/config/linux/foot/foot.ini index 47ba8be..1055f45 100644 --- a/config/linux/foot/foot.ini +++ b/config/linux/foot/foot.ini @@ -4,7 +4,8 @@ # term=foot (or xterm-256color if built with -Dterminfo=disabled) # login-shell=no -font=JetBrainsMono Nerd Font:size=9 +font=Cascadia Mono PL Light:size=9 +font-bold=Cascadia Mono PL:size=9 # font-bold= # font-italic= # font-bold-italic= diff --git a/config/linux/kitty/kitty.conf b/config/linux/kitty/kitty.conf deleted file mode 100644 index 318ce8e..0000000 --- a/config/linux/kitty/kitty.conf +++ /dev/null @@ -1,48 +0,0 @@ -font_family JetBrainsMono Nerd Font Mono -disable_ligatures always -font_size 11.0 - -copy_on_select clipboard -shell_integration disabled -enable_audio_bell no - -# theme: Tempus Dawn -# author: Protesilaos Stavrou (https://protesilaos.com) -# description: Light theme with a soft, slightly desaturated palette (WCAG AA compliant) - -cursor #4a4b4e -cursor_text_color #eff0f2 -url_color #4b529a - -active_border_color #676364 -inactive_border_color #dee2e0 -bell_border_color #8b590a - -active_tab_foreground #206620 -active_tab_background #dee2e0 -inactive_tab_foreground #676364 -inactive_tab_background #eff0f2 - -foreground #4a4b4e -background #eff0f2 -selection_foreground #eff0f2 -selection_background #4a4b4e - -color0 #4a4b4e -color1 #a32a3a -color2 #206620 -color3 #745300 -color4 #4b529a -color5 #8d377e -color6 #086784 -color7 #dee2e0 -color8 #676364 -color9 #a64822 -color10 #187408 -color11 #8b590a -color12 #5c59b2 -color13 #8e45a8 -color14 #3f649c -color15 #eff0f2 - -include local.conf diff --git a/config/linux/sway/config b/config/linux/sway/config index ae737ea..7674e1d 100644 --- a/config/linux/sway/config +++ b/config/linux/sway/config @@ -8,14 +8,14 @@ set $down j set $up k set $right l # Your preferred terminal emulator -set $term kitty +set $term foot # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. #set $menu dmenu_path | dmenu | xargs swaymsg exec -- set $menu wofi --show=drun | xargs swaymsg exec -- -font JetBrainsMono Nerd Font Mono 9 +font Noto Sans 9 default_border pixel 1 smart_borders on diff --git a/config/linux/waybar/config b/config/linux/waybar/config index d8cefd2..17bade2 100644 --- a/config/linux/waybar/config +++ b/config/linux/waybar/config @@ -22,9 +22,9 @@ }, "temperature": { "critical-threshold": 80, - "format": "{icon} {temperatureC}°C", + "format": "{icon}", "format-icons": ["", "", "", "", ""], - "tooltip": false + "tooltip-format": "Temperature: {temperatureC}°C" }, "battery#bat1": { "bat": "BAT0", @@ -38,38 +38,30 @@ "1": 20, "0": 5 }, - "format": "{icon} {capacity}%", - "format-charging-5": " {capacity}%", - "format-charging-4": " {capacity}%", - "format-charging-3": " {capacity}%", - "format-charging-2": " {capacity}%", - "format-charging-1": " {capacity}%", - "format-charging-0": " {capacity}%", - "format-icons": ["", "", "", "", "", ""] + "format": "{icon}", + "format-charging": "", + "format-icons": ["", "", "", "", ""], + "tooltip-format": "Battery: {capacity}%\n{timeTo}" }, "network#wifi": { "interface": "wlp*", "format-ethernet": "", - "format-wifi": " {signalStrength}%", + "format-wifi": "", "format-linked": "", "format-disconnected": "", - "tooltip-format": "{essid}\n{ifname}: {ipaddr}/{cidr}", - "on-click": "nm-connection-editor" + "tooltip-format": "Signal: {signalStrength}%\n{essid}\n{ifname}: {ipaddr}/{cidr}", + "on-click": "gnome-control-center wifi" }, "pulseaudio": { "scroll-step": 1, - "format": "{icon} {volume}%", - "format-muted": "婢 {volume}%", - "format-bluetooth": "{icon} {volume}%", - "format-bluetooth-muted": "婢 {icon}", + "format": "{icon}", + "format-muted": "", "format-icons": { "headphone": "", - "phone": "", - "portable": "", - "car": "", - "default": ["奄", "奔", "墳"] + "default": ["", ""] }, - "on-click": "pavucontrol" + "tooltip-format": "Volume: {volume}%\n{desc}", + "on-click": "gnome-control-center sound" }, "idle_inhibitor": { "format": "{icon}", diff --git a/config/linux/waybar/style.css b/config/linux/waybar/style.css index ebcf4a6..e83e12b 100644 --- a/config/linux/waybar/style.css +++ b/config/linux/waybar/style.css @@ -1,7 +1,7 @@ * { border-radius: 0; border: 0; - font-family: Noto Sans, JetBrainsMono Nerd Font; + font-family: "Noto Sans", "Font Awesome 5 Free"; font-size: 11pt; text-shadow: none; } @@ -10,6 +10,22 @@ window#waybar { background: #eff0f2; color: #4a4b4e; border-bottom: 1px solid #dee2e0; + border-left: 5px solid black; + border-right: 5px solid black; +} + +.modules-left, .modules-center, .modules-right { + background: #eff0f2; + border-bottom: 1px solid #dee2e0; +} + +.modules-left { + border-radius: 5px 0 0 0; + padding-left: 5px; +} + +.modules-right { + border-radius: 0 5px 0 0; } tooltip { diff --git a/config/linux/wofi/style.css b/config/linux/wofi/style.css index abf8ae8..63d408d 100644 --- a/config/linux/wofi/style.css +++ b/config/linux/wofi/style.css @@ -1,7 +1,7 @@ window { background: #eff0f2; color: #4a4b4e; - font-family: Noto Sans, JetBrainsMono Nerd Font; + font-family: Noto Sans; font-size: 10pt; border: 1px solid #dee2e0; } -- cgit v1.2.3