From fd4b357537fc52956312823244a21f8a2b90ac75 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Wed, 16 Aug 2023 23:35:52 -0700 Subject: [PATCH] curve: fix fonts on rofi menus --- home/profiles/desktop/bin/powermenu | 12 +++++----- home/profiles/desktop/bin/screenshot | 10 ++++---- home/profiles/desktop/polybar/config | 32 +++++++++++++------------ home/profiles/desktop/rofi/appmenu.rasi | 2 +- 4 files changed, 29 insertions(+), 27 deletions(-) diff --git a/home/profiles/desktop/bin/powermenu b/home/profiles/desktop/bin/powermenu index 5846b2a2..8c4503a5 100755 --- a/home/profiles/desktop/bin/powermenu +++ b/home/profiles/desktop/bin/powermenu @@ -5,9 +5,9 @@ rofi_command="rofi -theme theme/powermenu.rasi" ### Options ### power_off="\tShutdown" reboot="\tReboot" -lock="\tLock" -suspend="鈴\tSleep" -log_out="\tLogout" +lock="\tLock" +suspend="󰤄\tSleep" +log_out="󰍃\tLogout" # Variable passed to rofi options="$power_off\n$reboot\n$lock\n$suspend\n$log_out" @@ -18,14 +18,14 @@ case "$(echo -e "$options" | $rofi_command -dmenu)" in " Reboot") systemctl reboot ;; - " Lock") + " Lock") dm-tool lock ;; - "鈴 Sleep") + "󰤄 Sleep") dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause systemctl suspend ;; - " Logout") + "󰍃 Logout") bspc quit ;; esac diff --git a/home/profiles/desktop/bin/screenshot b/home/profiles/desktop/bin/screenshot index 157d8e8d..614f30d9 100755 --- a/home/profiles/desktop/bin/screenshot +++ b/home/profiles/desktop/bin/screenshot @@ -3,11 +3,11 @@ timer=5 # Options -select="麗" -window="类" -screen="" -delay="" -cancel="" +select="󰩭 " +window=" " +screen=" " +delay="󱑃 " +cancel="󰜺 " # Variable passed to rofi options="$select\n$window\n$screen\n$delay\n$cancel" diff --git a/home/profiles/desktop/polybar/config b/home/profiles/desktop/polybar/config index 8cc4fb81..a9b2c61e 100644 --- a/home/profiles/desktop/polybar/config +++ b/home/profiles/desktop/polybar/config @@ -55,10 +55,11 @@ padding-left = 0 module-margin = 0 margin-bottom = 34 -font-0 = "Iosevka Nerd Font,Iosevka NF:pixelsize=12;4" -font-1 = "Iosevka Nerd Font,Iosevka NF:pixelsize=6;1" +font-0 = "Iosevka Nerd Font,Iosevka NF:pixelsize=10;1" ; Icon Size +font-1 = "Iosevka Nerd Font,Iosevka NF:pixelsize=12;4" ; Large Text font font-2 = "FiraCode Nerd Font:pixelsize=12;2" -font-3 = "Siji:pixelsize=8;2" +font-3 = "Siji:pixelsize=10;2" +font-4 = "Iosevka Nerd Font,Iosevka NF:pixelsize=8;1" ; Small Icon Size ; Add module mpd for artist - title info modules-left = bspwm sps volume @@ -113,11 +114,11 @@ type = internal/bspwm pin-workspaces = true enable-click = true -ws-icon-0 = 1;%{T1} %{T-} -ws-icon-1 = 2;%{T1} %{T-} -ws-icon-2 = 3;%{T1}󰵅 %{T-} -ws-icon-3 = 4;%{T1} %{T-} -ws-icon-4 = 5;%{T1} %{T-} +ws-icon-0 = 1;%{T2} %{T-} +ws-icon-1 = 2;%{T2} %{T-} +ws-icon-2 = 3;%{T2}󰺻 %{T-} +ws-icon-3 = 4;%{T2} %{T-} +ws-icon-4 = 5;%{T2} %{T-} ws-icon-default =  ; fuzzy-match = true @@ -154,14 +155,14 @@ interval = 1.0 ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string ; NOTE: if you want to use syntax tags here you need to use %%{...} -date = %{T1} %{T-}%{T2} %d/%a%{T-} +date = %{T2} %{T-}%{T1} %d/%a%{T-} ; Optional time format time = %{T2} %H:%M%{T-} ; if `date-alt` or `time-alt` is defined, clicking ; the module will toggle between formats -date-alt = %{T1} %{T-} %{T2} %a, %d %b %y%{T-} +date-alt = %{T2} %{T-} %{T1} %a, %d %b %y%{T-} time-alt = %{T2} %H:%M:%S%{T-} label = %date%%time% @@ -177,6 +178,7 @@ label-connected-font = 2 format-connected = label-connected-foreground = #82b414 + format-disconnected = label-disconnected = "󰖪" label-disconnected-foreground = #f92672 @@ -196,7 +198,7 @@ type = internal/cpu ; Default: 1 interval = 0.5 -label = %{T1} %{T-}%{T2} %percentage:2%%%{T-} +label = %{T2} %{T-}%{T1} %percentage:2%%%{T-} label-foreground = ${colors.cyan} @@ -226,7 +228,7 @@ format =