Adding icons to rofi run launcher command

This commit is contained in:
Derek Taylor
2025-05-08 17:37:01 -05:00
parent 8ccde8018a
commit 54b8863f0b
3 changed files with 7 additions and 4 deletions

View File

@@ -137,7 +137,7 @@ A list of available commands that can be bound to keys can be found at: https://
keys = [ keys = [
# The essentials # The essentials
Key([mod], "Return", lazy.spawn(myTerm), desc="Terminal"), 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], "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], "b", lazy.hide_show_bar(position='all'), desc="Toggles the bar to show/hide"),
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),

View File

@@ -61,7 +61,7 @@ def maximize_by_switching_layout(qtile):
keys = [ keys = [
# The essentials # The essentials
Key([mod], "Return", lazy.spawn(myTerm), desc="Terminal"), 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], "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], "b", lazy.hide_show_bar(position='all'), desc="Toggles the bar to show/hide"),
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),

View File

@@ -9,7 +9,7 @@
background-color: #282c34; background-color: #282c34;
border-color: #51afef; border-color: #51afef;
text-color: #bbc2cf; text-color: #bbc2cf;
font: "Ubuntu Mono 11"; font: "Ubuntu 10";
prompt-font: "Ubuntu Bold 10"; prompt-font: "Ubuntu Bold 10";
prompt-background: #51afef; prompt-background: #51afef;
prompt-foreground: #282c34; prompt-foreground: #282c34;
@@ -20,6 +20,9 @@
selected-normal-foreground: #ffffff; selected-normal-foreground: #ffffff;
spacing: 3; spacing: 3;
} }
configuration {
drun-icon-theme: "Tela circle blue dark";
}
#window { #window {
border: 2; border: 2;
padding: 5; padding: 5;
@@ -42,7 +45,7 @@
} }
#element { #element {
border: 0; border: 0;
padding: 1px ; padding: 3px ;
} }
#element.selected.normal { #element.selected.normal {
background-color: @selected-normal-background; background-color: @selected-normal-background;