From 54b8863f0b5e1a8fff5d6756d833ea65830e1809 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Thu, 8 May 2025 17:37:01 -0500 Subject: [PATCH] Adding icons to rofi run launcher command --- .config/qtile/README.org | 2 +- .config/qtile/config.py | 2 +- .config/rofi/themes/dtos-center.rasi | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.config/qtile/README.org b/.config/qtile/README.org index 238b201..14fda8e 100644 --- a/.config/qtile/README.org +++ b/.config/qtile/README.org @@ -137,7 +137,7 @@ A list of available commands that can be bound to keys can be found at: https:// keys = [ # The essentials Key([mod], "Return", lazy.spawn(myTerm), desc="Terminal"), - Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun"), desc='Run Launcher'), + Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun -show-icons"), desc='Run Launcher'), Key([mod], "w", lazy.spawn(myBrowser), desc='Web browser'), Key([mod], "b", lazy.hide_show_bar(position='all'), desc="Toggles the bar to show/hide"), Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 7b0446f..e4d2ca6 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -61,7 +61,7 @@ def maximize_by_switching_layout(qtile): keys = [ # The essentials Key([mod], "Return", lazy.spawn(myTerm), desc="Terminal"), - Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun"), desc='Run Launcher'), + Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun -show-icons"), desc='Run Launcher'), Key([mod], "w", lazy.spawn(myBrowser), desc='Web browser'), Key([mod], "b", lazy.hide_show_bar(position='all'), desc="Toggles the bar to show/hide"), Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), diff --git a/.config/rofi/themes/dtos-center.rasi b/.config/rofi/themes/dtos-center.rasi index b7abdd6..12ac62f 100644 --- a/.config/rofi/themes/dtos-center.rasi +++ b/.config/rofi/themes/dtos-center.rasi @@ -9,7 +9,7 @@ background-color: #282c34; border-color: #51afef; text-color: #bbc2cf; - font: "Ubuntu Mono 11"; + font: "Ubuntu 10"; prompt-font: "Ubuntu Bold 10"; prompt-background: #51afef; prompt-foreground: #282c34; @@ -20,6 +20,9 @@ selected-normal-foreground: #ffffff; spacing: 3; } +configuration { + drun-icon-theme: "Tela circle blue dark"; +} #window { border: 2; padding: 5; @@ -42,7 +45,7 @@ } #element { border: 0; - padding: 1px ; + padding: 3px ; } #element.selected.normal { background-color: @selected-normal-background;