aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-03-19 10:57:49 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2021-03-19 10:57:49 +0100
commit652b4c7048b871c6d177f916abca53585007b685 (patch)
treec254c2103b7525f509f98e323141391a730074fa
parent074f882d034ea08052fd1e29c7844e96ea33d6e1 (diff)
downloaddotfiles-652b4c7048b871c6d177f916abca53585007b685.tar.gz
dotfiles-652b4c7048b871c6d177f916abca53585007b685.zip
[sway/wofi] use and configure wofi to start as program launcher
-rw-r--r--config/sway/config3
-rw-r--r--config/wofi/style.css55
-rwxr-xr-xsetup.py2
3 files changed, 59 insertions, 1 deletions
diff --git a/config/sway/config b/config/sway/config
index 70bda02..a4264f2 100644
--- a/config/sway/config
+++ b/config/sway/config
@@ -18,7 +18,8 @@ set $right l
set $term $TERMINAL
# Your preferred application launcher
# Note: it's recommended that you pass the final command to sway
-set $menu dmenu_path | dmenu | xargs swaymsg exec
+#set $menu dmenu_path | dmenu | xargs swaymsg exec
+set $menu wofi --show run
### Output configuration
#
diff --git a/config/wofi/style.css b/config/wofi/style.css
new file mode 100644
index 0000000..4e81d1e
--- /dev/null
+++ b/config/wofi/style.css
@@ -0,0 +1,55 @@
+/* ::root{ */
+/* --accent: #5291e2; */
+/* --dark: #383C4A; */
+/* --light: #7C818C; */
+/* --ld: #404552; */
+/* --dl: #4B5162 */
+/* --white: white; */
+/* } */
+
+*{
+ font-family: monospace;
+}
+
+window {
+ background-color: #7C818C;
+}
+
+#input {
+ margin: 5px;
+ border-radius: 0px;
+ border: none;
+ border-bottom: 3px solid black;
+ background-color: #383C4A;
+ color: white;
+}
+
+#inner-box {
+ background-color: #383C4A;
+
+}
+
+#outer-box {
+ margin: 5px;
+ padding:20px;
+ background-color: #383C4A;
+}
+
+#scroll {
+}
+
+#text {
+padding: 5px;
+color: white;
+}
+
+#entry:nth-child(even){
+ background-color: #404552;
+}
+
+#entry:selected {
+ background-color: #5291e2;
+}
+
+#text:selected {
+}
diff --git a/setup.py b/setup.py
index 2c38ad5..7a057f4 100755
--- a/setup.py
+++ b/setup.py
@@ -92,6 +92,8 @@ targets = {
"sway":
[("config/sway", config_dir + "/sway"),
dotfile_loc_helper],
+ "wofi":
+ [("config/wofi", config_dir + "/wofi")],
"dir_colors":
[("dir_colors", home_dir + "/.dir_colors")],
"fish":