summaryrefslogtreecommitdiff
path: root/home/.config
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-10-20 18:18:38 +0200
committerBotond Hende <nettingman@gmail.com>2024-10-20 18:18:38 +0200
commitfd90169c5f36f35d622ba354b577a3dd7e861365 (patch)
treee992d3f78ef7f04d70b49e6cf45523d9efe41e2a /home/.config
parentd3c2ee1dfcd7594860176cf69d65036aff509f3c (diff)
wofi config
Diffstat (limited to 'home/.config')
-rw-r--r--home/.config/sway/config2
-rw-r--r--home/.config/wofi/config21
-rw-r--r--home/.config/wofi/style.css53
3 files changed, 75 insertions, 1 deletions
diff --git a/home/.config/sway/config b/home/.config/sway/config
index 25246d5..ee2133a 100644
--- a/home/.config/sway/config
+++ b/home/.config/sway/config
@@ -18,7 +18,7 @@ set $term alacritty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
-set $menu wofi --show run
+set $menu wofi
### Output configuration
#
diff --git a/home/.config/wofi/config b/home/.config/wofi/config
new file mode 100644
index 0000000..47074b7
--- /dev/null
+++ b/home/.config/wofi/config
@@ -0,0 +1,21 @@
+# mode
+show=drun
+allow_images=true
+parse_search=true
+
+# display
+prompt=applications
+dynamic_lines=true
+layer=overlay
+gtk_dark=true
+display_generic=true
+
+# matching
+exec-search=true
+insensitive=true
+matching=multi-contains
+
+# keys
+key_expand=Tab
+key_forward=End
+key_backward=Home
diff --git a/home/.config/wofi/style.css b/home/.config/wofi/style.css
new file mode 100644
index 0000000..3990393
--- /dev/null
+++ b/home/.config/wofi/style.css
@@ -0,0 +1,53 @@
+@define-color hl #7cb342;
+@define-color hlfg #000000;
+@define-color fg #ffffff;
+@define-color bg #212121;
+@define-color trim #616161;
+
+window {
+ margin: 5px;
+ border: none;
+ background-color: transparent;
+ color: @fg;
+}
+
+#input {
+ margin: 5px;
+ border: 2px solid @trim;
+ background-color: @bg;
+ color: @fg;
+}
+
+#inner-box {
+ margin: 0px;
+ border: none;
+ background-color: transparent;
+}
+
+#outer-box {
+ margin: 0px;
+ border: none;
+ background-color: transparent;
+}
+
+#scroll {
+ margin: 5px;
+ border: none;
+ background-color: @bg;
+}
+
+#entry {
+ margin: none;
+ border: none;
+ background-color: @bg;
+ color: @fg;
+}
+
+#entry:selected {
+ background-color: @hl;
+ color: @hlfg;
+}
+
+#text {
+ color: inherit;
+}