From 1e7d3d774b261cc06dee459d388e65e644676cc4 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sun, 7 May 2023 14:38:55 -0400 Subject: [PATCH] Nerd Fonts v3.0 Icons & Fonts Fix --- .config/alacritty/alacritty.yml | 4 +- .config/awesome | 2 +- .config/dwm-flexipatch | 2 +- .config/kitty/kitty.conf | 8 +- .config/rofi/themes/dracula.rasi | 2 +- .config/starship.toml | 22 ++-- .scripts/backup.sh | 8 +- .scripts/brightness.sh | 8 +- .scripts/control-center.sh | 16 +-- .scripts/cpu-gpu.sh | 42 +++---- .scripts/deadd.sh | 10 +- .scripts/dunst.sh | 12 +- .scripts/gaming.sh | 6 +- .scripts/naughty.sh | 4 +- .scripts/pactl.sh | 6 +- .scripts/picom.sh | 8 +- .scripts/playerctl.sh | 12 +- .scripts/session.sh | 11 +- .scripts/startup.sh | 6 +- .xmonad | 2 +- README.org | 185 ++++++++++++++++--------------- 21 files changed, 191 insertions(+), 185 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 011bec4..ae31291 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -95,7 +95,7 @@ font: # - (macOS) Menlo # - (Linux/BSD) monospace # - (Windows) Consolas - family: Fira Code Nerd Font + family: FiraCode Nerd Font # The `style` can be specified to pick a specific face. style: Regular @@ -106,7 +106,7 @@ font: # # If the bold family is not specified, it will fall back to the # value specified for the normal font. - family: Fira Code Nerd Font + family: FiraCode Nerd Font # The `style` can be specified to pick a specific face. style: Bold diff --git a/.config/awesome b/.config/awesome index efd42ea..c1745d6 160000 --- a/.config/awesome +++ b/.config/awesome @@ -1 +1 @@ -Subproject commit efd42ea3e5802db22aae85e909069af62cf850f2 +Subproject commit c1745d66224cc203d5bb5311c06356a1a15e6b9c diff --git a/.config/dwm-flexipatch b/.config/dwm-flexipatch index f797d8d..11e7bd9 160000 --- a/.config/dwm-flexipatch +++ b/.config/dwm-flexipatch @@ -1 +1 @@ -Subproject commit f797d8d865ec34b83892d2ad6d9eb7280d2d2870 +Subproject commit 11e7bd9e902ec848412a2c1214da42abfdacdfff diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 7f033d6..aebef55 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -4,10 +4,10 @@ #: individual font faces and even specify special fonts for particular #: characters. -font_family Fira Code Regular Nerd Font Complete -bold_font Fira Code Bold Nerd Font Complete -italic_font Fira Code Regular Nerd Font Complete -bold_italic_font Fira Code Bold Nerd Font Complete +font_family FiraCode Nerd Font +bold_font FiraCode Nerd Font Bold +italic_font FiraCode Nerd Font +bold_italic_font FiraCode Nerd Font Bold #: You can specify different fonts for the bold/italic/bold-italic #: variants. To get a full list of supported fonts use the `kitty diff --git a/.config/rofi/themes/dracula.rasi b/.config/rofi/themes/dracula.rasi index 46994ac..8cae8d9 100644 --- a/.config/rofi/themes/dracula.rasi +++ b/.config/rofi/themes/dracula.rasi @@ -1,7 +1,7 @@ /*Dracula theme based on the Purple official rofi theme*/ * { - font: "Jetbrains Mono 12"; + font: "JetBrainsMono Nerd Font 12"; foreground: #f8f8f2; background-color: #282a36; active-background: #6272a4; diff --git a/.config/starship.toml b/.config/starship.toml index 4635a8d..9d53a99 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -28,8 +28,8 @@ add_newline = false [character] format = "$symbol" -success_symbol = "[ ﬌ ❯❯❯](bold green) " -error_symbol = "[ ﬌ ❯❯❯](bold red) " +success_symbol = "[ 󱞪 ❯❯❯](bold green) " +error_symbol = "[ 󱞪 ❯❯❯](bold red) " # You can also replace your username with a neat symbol like  to save some space [username] @@ -53,16 +53,16 @@ read_only = "" ".config" = "  " "config" = "  " "Config" = "  " -"Calibre_Library" = "  " -"Calibre Library" = "  " +"Calibre_Library" = "  " +"Calibre Library" = "  " "Desktop" = "  " -"Documents" = "  " -"Finances" = " ﴝ " +"Documents" = " 󰈙 " +"Finances" = "  " "Downloads" = "  " "Games" = "  " -"PolyMC" = "  " +"PrismLauncher" = " 󰍳 " "Steam" = "  " -"ISOs" = " 﫭 " +"ISOs" = " 󰗮 " "Music" = "  " "Spotify" = "  " "Pictures" = "  " @@ -72,8 +72,8 @@ read_only = "" "Videos" = "  " "dropbox" = "  " "google-drive" = "  " -"onedrive" = "  " -"Attachments" = "  " +"onedrive" = "  " +"Attachments" = " 󰁦 " # Keep in mind that the order matters. For example: # "Important Documents" = "  " # will not be replaced, because "Documents" was already substituted before. @@ -88,7 +88,7 @@ format = '[[ $symbol ($version) ](bg:#BD93F9)]($style)' [cmd_duration] min_time = 0 style = "bg:#FF5555" -format = '[[ 祥 $duration ](bg:#FF5555)]($style)' +format = '[[ 󱎫 $duration ](bg:#FF5555)]($style)' show_notifications = true min_time_to_notify = 5_000 diff --git a/.scripts/backup.sh b/.scripts/backup.sh index 7439521..43d20aa 100755 --- a/.scripts/backup.sh +++ b/.scripts/backup.sh @@ -5,10 +5,10 @@ help_menu() { rofi_menu() { declare -a options=( - " - backup-to-hdd" - " - backup-to-casaos" - " Back - back" - " Quit - quit" + "󰋊 - backup-to-hdd" + "󰒍 - backup-to-casaos" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/brightness.sh b/.scripts/brightness.sh index ea555ef..84c8f3b 100755 --- a/.scripts/brightness.sh +++ b/.scripts/brightness.sh @@ -11,10 +11,10 @@ help_menu() { rofi_menu() { declare -a options=( - " Raise Brightness - raise" - " Lower Brightness - lower" - " Back - back" - " Quit - quit" + "󰃠 Raise Brightness - raise" + "󰃞 Lower Brightness - lower" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/control-center.sh b/.scripts/control-center.sh index 059546d..99c395d 100755 --- a/.scripts/control-center.sh +++ b/.scripts/control-center.sh @@ -11,18 +11,18 @@ help_menu() { rofi_menu() { declare -a options=( - " Compositor - picom" - " Display - brightness" - " Notifications - deadd" + "󱕅 Compositor - picom" + "󰍹 Display - brightness" + "󰂚 Notifications - deadd" " Media - playerctl" - "墳Volume - pactl" - " Backup - backup" + "󰕾 Volume - pactl" + "󰁯 Backup - backup" " Startup Processes - startup" " Hardware - cpu-gpu" - " Gaming - gaming" + " Gaming - gaming" " Power Menu - session" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/cpu-gpu.sh b/.scripts/cpu-gpu.sh index cc03dae..4ec0d4f 100755 --- a/.scripts/cpu-gpu.sh +++ b/.scripts/cpu-gpu.sh @@ -14,8 +14,8 @@ rofi_menu() { " CPU Performance Profile - rofi-cpu-profile" " GPU Switching - rofi-graphics" " NVIDIA GPU Performance Profile - rofi-gpu-profile" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -30,12 +30,12 @@ rofi_menu() { rofi_cpu_profile_menu() { declare -a options=( - "Query Current Profile - cpu-profile-query" - "Switch to Battery Mode - cpu-profile-battery" - "Switch to Balanced Mode - cpu-profile-balanced" - "Switch to Performance Mode - cpu-profile-performance" - " Back - back" - " Quit - quit" + " Query Current Profile - cpu-profile-query" + "󰂃 Switch to Battery Mode - cpu-profile-battery" + "󰗑 Switch to Balanced Mode - cpu-profile-balanced" + "󰓅 Switch to Performance Mode - cpu-profile-performance" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -50,13 +50,13 @@ rofi_cpu_profile_menu() { rofi_graphics_menu() { declare -a options=( - "Query Current Graphics - graphics-query" + " Query Current Graphics - graphics-query" "Switch to Compute Mode - graphics-compute" "Switch to Hybrid Mode - graphics-hybrid" "Switch to Integrated Mode - graphics-integrated" "Switch to Nvidia Mode - graphics-nvidia" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -71,12 +71,12 @@ rofi_graphics_menu() { rofi_gpu_profile_menu() { declare -a options=( - "Query Current Profile - gpu-profile-query" - "Switch to Adaptive Mode - gpu-profile-adaptive" - "Switch to Performance Mode - gpu-profile-performance" - "Switch to Auto Mode - gpu-profile-auto" - " Back - back" - " Quit - quit" + " Query Current Profile - gpu-profile-query" + "󱤎 Switch to Adaptive Mode - gpu-profile-adaptive" + "󰓅 Switch to Performance Mode - gpu-profile-performance" + "󱣲 Switch to Auto Mode - gpu-profile-auto" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -108,22 +108,22 @@ main() { --graphics-compute) notify-send "System76-Power Graphics" "Switching to Compute Graphics..." pkexec system76-power graphics compute - notify-send -u critical -t 0 "System76-Power Graphics" "Please restart computer to switch graphics" + notify-send -u critical -t 0 "System76-Power Graphics" "Please reboot computer to switch graphics" ;; --graphics-hybrid) notify-send "System76-Power Graphics" "Switching to Hybrid Graphics..." pkexec system76-power graphics hybrid - notify-send -u critical -t 0 "System76-Power Graphics" "Please restart computer to switch graphics" + notify-send -u critical -t 0 "System76-Power Graphics" "Please reboot computer to switch graphics" ;; --graphics-integrated) notify-send "System76-Power Graphics" "Switching to Integrated Graphics..." pkexec system76-power graphics integrated - notify-send -u critical -t 0 "System76-Power Graphics" "Please restart computer to switch graphics" + notify-send -u critical -t 0 "System76-Power Graphics" "Please reboot computer to switch graphics" ;; --graphics-nvidia) notify-send "System76-Power Graphics" "Switching to Nvidia Graphics..." pkexec system76-power graphics nvidia - notify-send -u critical -t 0 "System76-Power Graphics" "Please restart computer to switch graphics" + notify-send -u critical -t 0 "System76-Power Graphics" "Please reboot computer to switch graphics" ;; --rofi-cpu-profile) rofi_cpu_profile_menu diff --git a/.scripts/deadd.sh b/.scripts/deadd.sh index d1556cd..7dbd07c 100755 --- a/.scripts/deadd.sh +++ b/.scripts/deadd.sh @@ -22,13 +22,13 @@ is_running() { rofi_menu() { declare -a options=( "⏼ Toggle - toggle" - " Turn On - on" - " Turn Off - off" - " Toggle Notification Center - toggle-center" + "󰂞 Turn On - on" + "󰂛 Turn Off - off" + "󱨩 Toggle Notification Center - toggle-center" " Pause Popup Notifications - pause" " Unpause Popup Notifications - unpause" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/dunst.sh b/.scripts/dunst.sh index 450d324..0a2a815 100755 --- a/.scripts/dunst.sh +++ b/.scripts/dunst.sh @@ -23,14 +23,14 @@ is_running() { rofi_menu() { declare -a options=( "⏼ Toggle - toggle" - " Turn On - on" - " Turn Off - off" - " Open Actions - context" + "󰂞 Turn On - on" + "󰂛 Turn Off - off" + "󱨩 Open Actions - context" " Close Notification - close" " View History - history" - " Toggle Do Not Disturb - dnd" - " Back - back" - " Quit - quit" + "󰂠 Toggle Do Not Disturb - dnd" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/gaming.sh b/.scripts/gaming.sh index 1b97c69..809bae2 100755 --- a/.scripts/gaming.sh +++ b/.scripts/gaming.sh @@ -11,11 +11,11 @@ help_menu() { rofi_menu() { declare -a options=( - "調 DualSense to Xbox 360 Mapping - dualsense-to-xbox-360" + "󰊴 DualSense to Xbox 360 Mapping - dualsense-to-xbox-360" " Game Launch Settings - game-launch" " Game Exit Settings - game-exit" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/naughty.sh b/.scripts/naughty.sh index 2bd4f34..6fe32f8 100755 --- a/.scripts/naughty.sh +++ b/.scripts/naughty.sh @@ -13,8 +13,8 @@ rofi_menu() { "⏼ Toggle - toggle" " Pause Popup Notifications - pause" " Unpause Popup Notifications - unpause" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/pactl.sh b/.scripts/pactl.sh index f813a9f..c19a68f 100755 --- a/.scripts/pactl.sh +++ b/.scripts/pactl.sh @@ -14,9 +14,9 @@ rofi_menu() { " Raise Volume - raise" " Lower Volume - lower" " Mute - mute" - "﴾ Mixer - mixer" - " Back - back" - " Quit - quit" + "󰺢 Mixer - mixer" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/picom.sh b/.scripts/picom.sh index 75c9ebf..d5ac969 100755 --- a/.scripts/picom.sh +++ b/.scripts/picom.sh @@ -18,10 +18,10 @@ is_running() { rofi_menu() { declare -a options=( "⏼ Toggle - toggle" - " Turn On - on" - " Turn Off - off" - " Back - back" - " Quit - quit" + "󱄄 Turn On - on" + "󰶐 Turn Off - off" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/playerctl.sh b/.scripts/playerctl.sh index 43bd105..0fb446a 100755 --- a/.scripts/playerctl.sh +++ b/.scripts/playerctl.sh @@ -11,12 +11,12 @@ help_menu() { rofi_menu() { declare -a options=( - "懶 Play / Pause - play-pause" - "怜 Next - next" - "玲 Previous - prev" - "﴾ Change Source - change" - " Back - back" - " Quit - quit" + "󰐎 Play / Pause - play-pause" + "󰒭 Next - next" + "󰒮 Previous - prev" + "󰡀 Change Source - change" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.scripts/session.sh b/.scripts/session.sh index d024c16..e277945 100755 --- a/.scripts/session.sh +++ b/.scripts/session.sh @@ -11,15 +11,15 @@ help_menu() { rofi_menu() { declare -a options=( - "勒 Restart dwm - restart" + " Restart dwm - restart" " Logout - logout" " Lock - lock" "⏾ Sleep - sleep" " Reboot - reboot" " Shutdown - shutdown" - "鈴 Hibernate - hibernate" - " Back - back" - " Quit - quit" + "󰒲 Hibernate - hibernate" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -68,6 +68,9 @@ main() { --restart) notify-send "Session Control" "Restarting dwm" dwm-msg run_command quit 1 + pkill polybar + sleep 5 + /home/sravan/.config/dwm-flexipatch/polybar/launch.sh ;; --rofi) rofi_menu diff --git a/.scripts/startup.sh b/.scripts/startup.sh index 2ad355a..6116011 100755 --- a/.scripts/startup.sh +++ b/.scripts/startup.sh @@ -66,11 +66,11 @@ help_menu() { rofi_menu() { declare -a options=( " Launch Startup Processes - startup" - "羽 Launch Delayed Processes - delay" + "󰔟 Launch Delayed Processes - delay" " Kill Startup Processes - kill-startup" " Kill Delayed Processes - kill-delay" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) diff --git a/.xmonad b/.xmonad index 817aa5d..7b6cc33 160000 --- a/.xmonad +++ b/.xmonad @@ -1 +1 @@ -Subproject commit 817aa5d241d89612b8fda0e93efce202d3116594 +Subproject commit 7b6cc33623d208555f62ee255ca8850627f4e714 diff --git a/README.org b/README.org index 317e7bc..ed9ebae 100644 --- a/README.org +++ b/README.org @@ -869,14 +869,14 @@ is_running() { rofi_menu() { declare -a options=( "⏼ Toggle - toggle" - " Turn On - on" - " Turn Off - off" - " Open Actions - context" + "󰂞 Turn On - on" + "󰂛 Turn Off - off" + "󱨩 Open Actions - context" " Close Notification - close" " View History - history" - " Toggle Do Not Disturb - dnd" - " Back - back" - " Quit - quit" + "󰂠 Toggle Do Not Disturb - dnd" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -1405,13 +1405,13 @@ is_running() { rofi_menu() { declare -a options=( "⏼ Toggle - toggle" - " Turn On - on" - " Turn Off - off" - " Toggle Notification Center - toggle-center" + "󰂞 Turn On - on" + "󰂛 Turn Off - off" + "󱨩 Toggle Notification Center - toggle-center" " Pause Popup Notifications - pause" " Unpause Popup Notifications - unpause" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -1502,8 +1502,8 @@ rofi_menu() { "⏼ Toggle - toggle" " Pause Popup Notifications - pause" " Unpause Popup Notifications - unpause" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -2078,7 +2078,7 @@ element selected.active { /*Dracula theme based on the Purple official rofi theme*/ ,* { - font: "Jetbrains Mono 12"; + font: "JetBrainsMono Nerd Font 12"; foreground: #f8f8f2; background-color: #282a36; active-background: #6272a4; @@ -3038,10 +3038,10 @@ is_running() { rofi_menu() { declare -a options=( "⏼ Toggle - toggle" - " Turn On - on" - " Turn Off - off" - " Back - back" - " Quit - quit" + "󱄄 Turn On - on" + "󰶐 Turn Off - off" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -3273,8 +3273,8 @@ add_newline = false [character] format = "$symbol" -success_symbol = "[ ﬌ ❯❯❯](bold green) " -error_symbol = "[ ﬌ ❯❯❯](bold red) " +success_symbol = "[ 󱞪 ❯❯❯](bold green) " +error_symbol = "[ 󱞪 ❯❯❯](bold red) " # You can also replace your username with a neat symbol like  to save some space [username] @@ -3298,16 +3298,16 @@ read_only = "" ".config" = "  " "config" = "  " "Config" = "  " -"Calibre_Library" = "  " -"Calibre Library" = "  " +"Calibre_Library" = "  " +"Calibre Library" = "  " "Desktop" = "  " -"Documents" = "  " -"Finances" = " ﴝ " +"Documents" = " 󰈙 " +"Finances" = "  " "Downloads" = "  " "Games" = "  " -"PolyMC" = "  " +"PrismLauncher" = " 󰍳 " "Steam" = "  " -"ISOs" = " 﫭 " +"ISOs" = " 󰗮 " "Music" = "  " "Spotify" = "  " "Pictures" = "  " @@ -3317,8 +3317,8 @@ read_only = "" "Videos" = "  " "dropbox" = "  " "google-drive" = "  " -"onedrive" = "  " -"Attachments" = "  " +"onedrive" = "  " +"Attachments" = " 󰁦 " # Keep in mind that the order matters. For example: # "Important Documents" = "  " # will not be replaced, because "Documents" was already substituted before. @@ -3333,7 +3333,7 @@ format = '[[ $symbol ($version) ](bg:#BD93F9)]($style)' [cmd_duration] min_time = 0 style = "bg:#FF5555" -format = '[[ 祥 $duration ](bg:#FF5555)]($style)' +format = '[[ 󱎫 $duration ](bg:#FF5555)]($style)' show_notifications = true min_time_to_notify = 5_000 @@ -4754,10 +4754,10 @@ fish_pager_color_secondary_description 6272a4 #: individual font faces and even specify special fonts for particular #: characters. -font_family Fira Code Regular Nerd Font Complete -bold_font Fira Code Bold Nerd Font Complete -italic_font Fira Code Regular Nerd Font Complete -bold_italic_font Fira Code Bold Nerd Font Complete +font_family FiraCode Nerd Font +bold_font FiraCode Nerd Font Bold +italic_font FiraCode Nerd Font +bold_italic_font FiraCode Nerd Font Bold #: You can specify different fonts for the bold/italic/bold-italic #: variants. To get a full list of supported fonts use the `kitty @@ -6327,7 +6327,7 @@ font: # - (macOS) Menlo # - (Linux/BSD) monospace # - (Windows) Consolas - family: Fira Code Nerd Font + family: FiraCode Nerd Font # The `style` can be specified to pick a specific face. style: Regular @@ -6338,7 +6338,7 @@ font: # # If the bold family is not specified, it will fall back to the # value specified for the normal font. - family: Fira Code Nerd Font + family: FiraCode Nerd Font # The `style` can be specified to pick a specific face. style: Bold @@ -7680,10 +7680,10 @@ help_menu() { rofi_menu() { declare -a options=( - " - backup-to-hdd" - " - backup-to-casaos" - " Back - back" - " Quit - quit" + "󰋊 - backup-to-hdd" + "󰒍 - backup-to-casaos" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8363,11 +8363,11 @@ help_menu() { rofi_menu() { declare -a options=( " Launch Startup Processes - startup" - "羽 Launch Delayed Processes - delay" + "󰔟 Launch Delayed Processes - delay" " Kill Startup Processes - kill-startup" " Kill Delayed Processes - kill-delay" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8460,12 +8460,12 @@ help_menu() { rofi_menu() { declare -a options=( - "懶 Play / Pause - play-pause" - "怜 Next - next" - "玲 Previous - prev" - "﴾ Change Source - change" - " Back - back" - " Quit - quit" + "󰐎 Play / Pause - play-pause" + "󰒭 Next - next" + "󰒮 Previous - prev" + "󰡀 Change Source - change" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8527,9 +8527,9 @@ rofi_menu() { " Raise Volume - raise" " Lower Volume - lower" " Mute - mute" - "﴾ Mixer - mixer" - " Back - back" - " Quit - quit" + "󰺢 Mixer - mixer" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8588,10 +8588,10 @@ help_menu() { rofi_menu() { declare -a options=( - " Raise Brightness - raise" - " Lower Brightness - lower" - " Back - back" - " Quit - quit" + "󰃠 Raise Brightness - raise" + "󰃞 Lower Brightness - lower" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8662,8 +8662,8 @@ rofi_menu() { " CPU Performance Profile - rofi-cpu-profile" " GPU Switching - rofi-graphics" " NVIDIA GPU Performance Profile - rofi-gpu-profile" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8678,12 +8678,12 @@ rofi_menu() { rofi_cpu_profile_menu() { declare -a options=( - "Query Current Profile - cpu-profile-query" - "Switch to Battery Mode - cpu-profile-battery" - "Switch to Balanced Mode - cpu-profile-balanced" - "Switch to Performance Mode - cpu-profile-performance" - " Back - back" - " Quit - quit" + " Query Current Profile - cpu-profile-query" + "󰂃 Switch to Battery Mode - cpu-profile-battery" + "󰗑 Switch to Balanced Mode - cpu-profile-balanced" + "󰓅 Switch to Performance Mode - cpu-profile-performance" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8698,13 +8698,13 @@ rofi_cpu_profile_menu() { rofi_graphics_menu() { declare -a options=( - "Query Current Graphics - graphics-query" + " Query Current Graphics - graphics-query" "Switch to Compute Mode - graphics-compute" "Switch to Hybrid Mode - graphics-hybrid" "Switch to Integrated Mode - graphics-integrated" "Switch to Nvidia Mode - graphics-nvidia" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8719,12 +8719,12 @@ rofi_graphics_menu() { rofi_gpu_profile_menu() { declare -a options=( - "Query Current Profile - gpu-profile-query" - "Switch to Adaptive Mode - gpu-profile-adaptive" - "Switch to Performance Mode - gpu-profile-performance" - "Switch to Auto Mode - gpu-profile-auto" - " Back - back" - " Quit - quit" + " Query Current Profile - gpu-profile-query" + "󱤎 Switch to Adaptive Mode - gpu-profile-adaptive" + "󰓅 Switch to Performance Mode - gpu-profile-performance" + "󱣲 Switch to Auto Mode - gpu-profile-auto" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8756,22 +8756,22 @@ main() { --graphics-compute) notify-send "System76-Power Graphics" "Switching to Compute Graphics..." pkexec system76-power graphics compute - notify-send -u critical -t 0 "System76-Power Graphics" "Please restart computer to switch graphics" + notify-send -u critical -t 0 "System76-Power Graphics" "Please reboot computer to switch graphics" ;; --graphics-hybrid) notify-send "System76-Power Graphics" "Switching to Hybrid Graphics..." pkexec system76-power graphics hybrid - notify-send -u critical -t 0 "System76-Power Graphics" "Please restart computer to switch graphics" + notify-send -u critical -t 0 "System76-Power Graphics" "Please reboot computer to switch graphics" ;; --graphics-integrated) notify-send "System76-Power Graphics" "Switching to Integrated Graphics..." pkexec system76-power graphics integrated - notify-send -u critical -t 0 "System76-Power Graphics" "Please restart computer to switch graphics" + notify-send -u critical -t 0 "System76-Power Graphics" "Please reboot computer to switch graphics" ;; --graphics-nvidia) notify-send "System76-Power Graphics" "Switching to Nvidia Graphics..." pkexec system76-power graphics nvidia - notify-send -u critical -t 0 "System76-Power Graphics" "Please restart computer to switch graphics" + notify-send -u critical -t 0 "System76-Power Graphics" "Please reboot computer to switch graphics" ;; --rofi-cpu-profile) rofi_cpu_profile_menu @@ -8836,11 +8836,11 @@ help_menu() { rofi_menu() { declare -a options=( - "調 DualSense to Xbox 360 Mapping - dualsense-to-xbox-360" + "󰊴 DualSense to Xbox 360 Mapping - dualsense-to-xbox-360" " Game Launch Settings - game-launch" " Game Exit Settings - game-exit" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8896,15 +8896,15 @@ help_menu() { rofi_menu() { declare -a options=( - "勒 Restart dwm - restart" + " Restart dwm - restart" " Logout - logout" " Lock - lock" "⏾ Sleep - sleep" " Reboot - reboot" " Shutdown - shutdown" - "鈴 Hibernate - hibernate" - " Back - back" - " Quit - quit" + "󰒲 Hibernate - hibernate" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i) @@ -8953,6 +8953,9 @@ main() { --restart) notify-send "Session Control" "Restarting dwm" dwm-msg run_command quit 1 + pkill polybar + sleep 5 + /home/sravan/.config/dwm-flexipatch/polybar/launch.sh ;; --rofi) rofi_menu @@ -8979,18 +8982,18 @@ help_menu() { rofi_menu() { declare -a options=( - " Compositor - picom" - " Display - brightness" - " Notifications - deadd" + "󱕅 Compositor - picom" + "󰍹 Display - brightness" + "󰂚 Notifications - deadd" " Media - playerctl" - "墳Volume - pactl" - " Backup - backup" + "󰕾 Volume - pactl" + "󰁯 Backup - backup" " Startup Processes - startup" " Hardware - cpu-gpu" - " Gaming - gaming" + " Gaming - gaming" " Power Menu - session" - " Back - back" - " Quit - quit" + "󰌍 Back - back" + "󰗼 Quit - quit" ) choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -i)