summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbh <qn+git@epicurus.dev>2026-03-31 18:30:41 +0800
committerbh <qn+git@epicurus.dev>2026-03-31 18:30:41 +0800
commit60bae066b418b80d8e4fd9e144d65d1e9010d6f8 (patch)
tree87221600c42078061c26f6189ddb4b7bd317a2b1
parent5feaa115d7dda11d145c0f74c1ad6b6c6b786ffe (diff)
rofi: add new run mode
-rw-r--r--hypr/.config/hypr/hyprland.conf1
-rw-r--r--rofi/.config/rofi/rofirun.rasi49
-rwxr-xr-xscripts/Scripts/run2
3 files changed, 52 insertions, 0 deletions
diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf
index 59e5caa..a09cb70 100644
--- a/hypr/.config/hypr/hyprland.conf
+++ b/hypr/.config/hypr/hyprland.conf
@@ -194,6 +194,7 @@ bind = $mainMod, E, exec, emacs
# 📜 Scripts
bind = $mainMod, V, exec, ~/Scripts/clipboard
+bind = $mainMod, R, exec, ~/Scripts/run
bind = $mainMod, S, exec, ~/Scripts/screenshot
bind = $mainMod SHIFT, S, exec, ~/Scripts/screenshot snip
diff --git a/rofi/.config/rofi/rofirun.rasi b/rofi/.config/rofi/rofirun.rasi
new file mode 100644
index 0000000..82cc124
--- /dev/null
+++ b/rofi/.config/rofi/rofirun.rasi
@@ -0,0 +1,49 @@
+/*******************************************************
+ * RUN LAUNCHER - thin horizontal bar
+ *******************************************************/
+
+configuration {
+ font: "Noto Sans Nerd Font 10";
+ show-icons: false;
+ display-run: "";
+ disable-history: false;
+ kb-cancel: "Super+c";
+}
+
+@import "~/.config/rofi/config.rasi"
+
+window {
+ background-color: @background;
+ border: 1px;
+ border-color: #19e0e0;
+ padding: 8px 16px;
+ width: 40%;
+ anchor: center;
+ location: center;
+}
+mainbox {
+ border: 0;
+ padding: 0;
+ children: [ inputbar ];
+}
+inputbar {
+ spacing: 0;
+ text-color: @normal-foreground;
+ padding: 2px;
+ children: [ prompt,textbox-prompt-colon,entry ];
+}
+prompt {
+ spacing: 0;
+ text-color: @normal-foreground;
+}
+textbox-prompt-colon {
+ expand: false;
+ str: ">";
+ margin: 0px 0.5em 0em 0em;
+ text-color: #FFC600;
+ text-transform: bold;
+}
+entry {
+ spacing: 0;
+ text-color: @normal-foreground;
+}
diff --git a/scripts/Scripts/run b/scripts/Scripts/run
new file mode 100755
index 0000000..24858ac
--- /dev/null
+++ b/scripts/Scripts/run
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+rofi -show run -theme ~/.config/rofi/rofirun.rasi