Font icons

This commit is contained in:
Daniel Flanagan 2022-12-06 14:00:19 -06:00
parent 6fd7bf7673
commit 89b0f4df4f
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
8 changed files with 50 additions and 42 deletions

View file

@ -64,8 +64,8 @@
"ui.cursor.primary" = { fg = "white", modifiers = ["reversed"] } "ui.cursor.primary" = { fg = "white", modifiers = ["reversed"] }
"ui.cursor.match" = { fg = "gray", bg = "white", modifiers = ["reversed"] } "ui.cursor.match" = { fg = "gray", bg = "white", modifiers = ["reversed"] }
"ui.selection" = { bg = "cyan", fg = "bg" } "ui.selection" = { bg = "black", fg = "white" }
"ui.selection.primary" = { bg = "cyan", fg = "bg" } "ui.selection.primary" = { bg = "black", fg = "white" }
"ui.linenr" = { fg = "gray" } "ui.linenr" = { fg = "gray" }
"ui.linenr.selected" = { fg = "white" } "ui.linenr.selected" = { fg = "white" }

View file

@ -11,10 +11,10 @@ selection_background #4d4d4d
cursor #9d9eca cursor #9d9eca
# a nearly imperceptible purple # a nearly imperceptible purple
foreground #b2b8c4 #foreground #b2b8c4
# alternate, deeper shades of purple # alternate, deeper shades of purple
#foreground #8a8dae #foreground #8a8dae
#foreground #9b9ebf foreground #9b9ebf
url_color #75c8c8 url_color #75c8c8
selection_foreground #101010 selection_foreground #101010

View file

@ -1,7 +1,7 @@
font_family IosevkaLyteTerm Nerd Font font_family IosevkaLyteTerm Nerd Font Complete
bold_font IosevkaLyteTerm Heavy Nerd Font bold_font IosevkaLyteTerm Heavy Nerd Font Complete
italic_font IosevkaLyteTerm Italic Nerd Font italic_font IosevkaLyteTerm Italic Nerd Font Complete
bold_italic_font IosevkaLyteTerm Heavy Italic Nerd Font bold_italic_font IosevkaLyteTerm Heavy Italic Nerd Font Complete
font_size 12.5 font_size 12.5
# use `kitty + list-fonts --psnames` to get the font's PostScript name # use `kitty + list-fonts --psnames` to get the font's PostScript name

View file

@ -2,7 +2,7 @@ max-visible=5
default-timeout=30000 default-timeout=30000
background-color=#111111 background-color=#111111
border-color=#666666 border-color=#666666
font=IosevkaLyteTerm Nerd Font 11 font=IosevkaLyteTerm Nerd Font Complete 11
progress-color=source #33333388 progress-color=source #33333388
# format="<b>%s</b> # format="<b>%s</b>
default-timeout=15000 default-timeout=15000

View file

@ -15,7 +15,7 @@
}; };
clock-format = "%H:%M:%S"; clock-format = "%H:%M:%S";
extraConfig = '' extraConfig = ''
font-name=IosevkaLyteTerm font-name=IosevkaLyteTerm Nerd Font Complete
''; '';
}; };
# background = ""; # background = "";

View file

@ -167,9 +167,9 @@ for_window [title=".*"] floating enable
for_window [app_id=$tilers] floating disable for_window [app_id=$tilers] floating disable
bindsym $mod+shift+alt+f for_window [class=$tilers] floating toggle bindsym $mod+shift+alt+f for_window [class=$tilers] floating toggle
client.focused #66d9ef #66d9ef #66d9ef #66d9ef #66d9ef client.focused #6c88a6 #6c88a6 #6c88a6 #6c88a6 #6c88a6
client.focused_inactive #111111 #111111 #ffffff #111111 #111111 client.focused_inactive #100814 #100814 #9b9ebf #100814 #100814
client.unfocused #111111 #111111 #ffffff #111111 #111111 client.unfocused #100814 #100814 #9b9ebf #100814 #100814
bar { bar {
swaybar_command waybar swaybar_command waybar

View file

@ -3,10 +3,12 @@
"position": "bottom", "position": "bottom",
"output": ["eDP-1", "DP-3"], "output": ["eDP-1", "DP-3"],
"height": 32, "height": 32,
"modules-left": ["clock"], "modules-left": ["clock", "sway/title"],
"modules-center": ["sway/workspaces"], "modules-center": ["sway/workspaces"],
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"bluetooth",
"wireplumber",
"pulseaudio", "pulseaudio",
// "network", // "network",
"cpu", "cpu",
@ -16,6 +18,16 @@
"battery", "battery",
"tray" "tray"
], ],
"bluetooth": {
"format": "<span foreground=\"#666666\"></span>",
"format-connected": "<span foreground=\"#666666\"></span>",
"format-connected-battery": "<span foreground=\"#666666\"></span>",
// "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device
"tooltip-format": "{controller_alias}@{controller_address} ({num_connections} connected)",
"tooltip-format-connected": "{controller_alias}@{controller_address} ({num_connections} connected)\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}@{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}@{device_address} ( {device_battery_percentage}%)"
},
"sway/workspaces": { "sway/workspaces": {
"disable-scroll": false, "disable-scroll": false,
"persistent_workspaces": { "persistent_workspaces": {
@ -36,8 +48,8 @@
"idle_inhibitor": { "idle_inhibitor": {
"format": "<span foreground=\"#666666\">{icon}</span>", "format": "<span foreground=\"#666666\">{icon}</span>",
"format-icons": { "format-icons": {
"activated": "", "activated": "",
"deactivated": "" "deactivated": ""
} }
}, },
"tray": { "tray": {
@ -49,12 +61,12 @@
"format": "{:%a %b %d %H:%M:%S}" "format": "{:%a %b %d %H:%M:%S}"
}, },
"cpu": { "cpu": {
"format": "{usage} <span foreground=\"#666666\"></span>", "format": "{usage} <span foreground=\"#666666\"></span>",
"tooltip": true, "tooltip": true,
"interval": 3 "interval": 3
}, },
"memory": { "memory": {
"format": "{} <span foreground=\"#666666\"></span>" "format": "{} <span foreground=\"#666666\"></span>"
}, },
"temperature": { "temperature": {
// "thermal-zone": 2, // "thermal-zone": 2,
@ -76,12 +88,12 @@
"critical": 15 "critical": 15
}, },
"format": "{capacity}% {icon}", "format": "{capacity}% {icon}",
"format-charging": "{capacity}% ", "format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ", "format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}", "format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module "format-good": "", // An empty format will hide the module
// "format-full": "", "format-full": "",
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },
"network": { "network": {
"format-wifi": "{essid} ({signalStrength}%) ", "format-wifi": "{essid} ({signalStrength}%) ",
@ -92,18 +104,18 @@
}, },
"pulseaudio": { "pulseaudio": {
// "scroll-step": 1, // %, can be a float // "scroll-step": 1, // %, can be a float
"format": "{volume} <span weight='900' face=\"Font Awesome 5 Free\" foreground=\"#666666\">{icon}</span> {format_source}", "format": "{volume} <span foreground=\"#666666\">{icon}</span> {format_source}",
//"format": "{volume}% {icon} {format_source}", //"format": "{volume}% {icon} {format_source}",
//"format-bluetooth": "{volume}% {icon} {format_source}", //"format-bluetooth": "{volume}% {icon} {format_source}",
//"format-bluetooth-muted": " {icon} {format_source}", //"format-bluetooth-muted": " {icon} {format_source}",
//"format-muted": " {format_source}", //"format-muted": " {format_source}",
"format-muted": "<span foreground=\"#666666\"></span> {format_source}", "format-muted": "<span foreground=\"#666666\"></span> {format_source}",
"format-source": "<span foreground=\"#f92672\"> </span>", "format-source": "<span foreground=\"#bf7998\"></span>",
"format-source-muted": "<span foreground=\"#66d9ef\"> </span>", "format-source-muted": "<span foreground=\"#6c88a6\"></span>",
"format-icons": { "format-icons": {
"headphones": "", "headphones": "",
"handsfree": "", "handsfree": "",
"headset": "", "headset": "",
"phone": "", "phone": "",
"portable": "", "portable": "",
"car": "", "car": "",

View file

@ -1,14 +1,14 @@
* { * {
border: none; border: none;
border-radius: 0; border-radius: 0;
font-family: "IosevkaLyteTerm Nerd Font", sans-serif; font-family: "IosevkaLyteTerm", sans-serif;
font-size: 16px; font-size: 16px;
min-height: 0; min-height: 0;
} }
window#waybar { window#waybar {
background-color: #111111; background-color: #100814;
color: #ffffff; color: #9b9ebf;
transition: none; transition: none;
} }
@ -23,7 +23,6 @@ window#waybar.empty {
#workspaces button { #workspaces button {
padding: 0 0.75em; padding: 0 0.75em;
background-color: transparent; background-color: transparent;
color: #ffffff;
} }
#workspaces button:hover { #workspaces button:hover {
@ -34,12 +33,11 @@ window#waybar.empty {
} }
#workspaces button.visible { #workspaces button.visible {
background-color: #333333; background-color: #666666;
} }
#workspaces button.focused { #workspaces button.focused {
background-color: #66d9ef; background-color: #6c88a6;
color: #111111;
} }
#workspaces button.persistent { #workspaces button.persistent {
@ -47,11 +45,11 @@ window#waybar.empty {
} }
#workspaces button.urgent { #workspaces button.urgent {
background-color: #eb4d4b; background-color: #bf7998;
} }
#mode { #mode {
background-color: #64727D; background-color: transparent;
} }
#clock, #clock,
@ -68,7 +66,6 @@ window#waybar.empty {
#idle_inhibitor, #idle_inhibitor,
#mpd { #mpd {
padding: 0 0.75em; padding: 0 0.75em;
color: #ffffff;
} }
#clock { #clock {
@ -93,8 +90,7 @@ window#waybar.empty {
} }
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background-color: #f53c3c; background-color: #bf7998;
color: #ffffff;
animation-name: blink; animation-name: blink;
animation-duration: 0.5s; animation-duration: 0.5s;
animation-timing-function: linear; animation-timing-function: linear;
@ -103,7 +99,7 @@ window#waybar.empty {
} }
label:focus { label:focus {
background-color: #000000; /* background-color: #000000; */
} }
#cpu { #cpu {