summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-12-01 05:54:07 -0600
committerCraig Jennings <c@cjennings.net>2025-12-01 05:54:07 -0600
commit590aa0281b500e1ae7f9b202ece0a5bbaee72115 (patch)
treef8bcb6b88f6f49b90dc6e0aacb6ac7c39875cdba
parent87c9d79dbcd7176ee2d85197bdb0c654ae6a70e5 (diff)
feat(rofi): standardize rofi configuration with dunst-matched theme
- Add self-contained config.rasi and theme in ~/.config/rofi/ - Remove external ~/code/rofi-themes-collection/ dependency - Match rofi theme colors, font, and border-radius to dunst notifications - Simplify sxhkd keybindings (settings now in config.rasi) - Remove phantom rofi/scripts PATH entry from .profile 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
-rw-r--r--dotfiles/system/.config/rofi/config.rasi6
-rw-r--r--dotfiles/system/.config/rofi/themes/rounded-gray-dark.rasi106
-rw-r--r--dotfiles/system/.config/sxhkd/sxhkdrc4
-rw-r--r--dotfiles/system/.profile2
4 files changed, 115 insertions, 3 deletions
diff --git a/dotfiles/system/.config/rofi/config.rasi b/dotfiles/system/.config/rofi/config.rasi
new file mode 100644
index 0000000..3f50cc6
--- /dev/null
+++ b/dotfiles/system/.config/rofi/config.rasi
@@ -0,0 +1,6 @@
+configuration {
+ show-icons: true;
+ dpi: 1;
+}
+
+@theme "~/.config/rofi/themes/rounded-gray-dark.rasi"
diff --git a/dotfiles/system/.config/rofi/themes/rounded-gray-dark.rasi b/dotfiles/system/.config/rofi/themes/rounded-gray-dark.rasi
new file mode 100644
index 0000000..de5bbc3
--- /dev/null
+++ b/dotfiles/system/.config/rofi/themes/rounded-gray-dark.rasi
@@ -0,0 +1,106 @@
+/* ROFI THEME - Matched to dunst notifications */
+/* Based on: Newman Sanchez (https://github.com/newmanls) */
+
+* {
+ bg0: #383c4af0;
+ bg1: #2d303c;
+ bg2: #4a4e5c80;
+ bg3: #2d303c;
+ fg0: #cdd1dc;
+ fg1: #ffffff;
+ fg2: #969696;
+ fg3: #4a4e5c;
+
+ font: "FiraCode Nerd Font Mono 10";
+
+ background-color: transparent;
+ text-color: @fg0;
+
+ margin: 0px;
+ padding: 0px;
+ spacing: 0px;
+}
+
+window {
+ location: north;
+ y-offset: calc(50% - 176px);
+ width: 480;
+ border-radius: 10px;
+ border: 1px;
+ border-color: @bg1;
+
+ background-color: @bg0;
+}
+
+mainbox {
+ padding: 12px;
+}
+
+inputbar {
+ background-color: @bg1;
+ border-color: @bg3;
+
+ border: 1px;
+ border-radius: 6px;
+
+ padding: 12px 20px;
+ spacing: 8px;
+ children: [ prompt, entry ];
+}
+
+prompt {
+ text-color: @fg2;
+}
+
+entry {
+ placeholder: "Search";
+ placeholder-color: @fg3;
+}
+
+message {
+ margin: 12px 0 0;
+ border-radius: 6px;
+ border-color: @bg2;
+ background-color: @bg2;
+}
+
+textbox {
+ padding: 8px 24px;
+}
+
+listview {
+ background-color: transparent;
+
+ margin: 12px 0 0;
+ lines: 8;
+ columns: 1;
+
+ fixed-height: false;
+}
+
+element {
+ padding: 8px 16px;
+ spacing: 8px;
+ border-radius: 6px;
+}
+
+element normal active {
+ text-color: @bg3;
+}
+
+element alternate active {
+ text-color: @bg3;
+}
+
+element selected normal, element selected active {
+ background-color: @bg3;
+}
+
+element-icon {
+ size: 1em;
+ vertical-align: 0.5;
+}
+
+element-text {
+ text-color: inherit;
+}
diff --git a/dotfiles/system/.config/sxhkd/sxhkdrc b/dotfiles/system/.config/sxhkd/sxhkdrc
index 3e6f4d9..0a01188 100644
--- a/dotfiles/system/.config/sxhkd/sxhkdrc
+++ b/dotfiles/system/.config/sxhkd/sxhkdrc
@@ -4,9 +4,9 @@
super + space
- rofi -show drun -show-icons -dpi 1 -theme ~/code/rofi-themes-collection/themes/rounded-gray-dark.rasi
+ rofi -show drun
super + shift + s
- rofi -show ssh -dpi 1 -theme ~/code/rofi-themes-collection/themes/rounded-gray-dark.rasi
+ rofi -show ssh
#
diff --git a/dotfiles/system/.profile b/dotfiles/system/.profile
index 28348c0..a0a1274 100644
--- a/dotfiles/system/.profile
+++ b/dotfiles/system/.profile
@@ -24,7 +24,7 @@ export GPG_TTY="$(tty)"
# Path
[ -d "$HOME/.local/share/gem/ruby/3.4.0/bin" ]; PATH="$PATH:$HOME/.local/share/gem/ruby/3.4.0/bin"
[ -d "$HOME/.cargo/bin" ]; PATH="$PATH:$HOME/.cargo/bin"
-export PATH="$PATH:$HOME/.local/bin:/usr/sbin:$HOME/.config/rofi/scripts"
+export PATH="$PATH:$HOME/.local/bin:/usr/sbin"
# Editor
export ALTERNATE_EDITOR=""