Selaa lähdekoodia

updated wofi config

bananicorn 3 vuotta sitten
vanhempi
commit
decfc9a50f

+ 1 - 0
devuan_setup/.profile

@@ -6,6 +6,7 @@ export XKB_DEFAULT_LAYOUT=de
 export QT_QPA_PLATFORM=wayland
 export GDK_BACKEND=wayland
 export MOZ_ENABLE_WAYLAND=1
+export XDG_SESSION_TYPE=wayland
 
 udiskie &
 sway

+ 1 - 1
devuan_setup/config/sway/config

@@ -120,7 +120,7 @@ bindsym $Mod+r mode "resize"
 bindsym $Mod+Shift+c reload
 # restart sway inplace (preserves your layout/session, can be used to upgrade sway)
 bindsym $Mod+Shift+r restart
-bindsym $Mod+Space exec "wofi -S run"
+bindsym $Mod+Space exec "wofi"
 # exit sway
 bindsym $Mod+Shift+e exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your sway session.' -b 'Yes, exit sway' 'swaymsg exit'"
 

+ 3 - 0
devuan_setup/config/wofi/config

@@ -0,0 +1,3 @@
+location=top
+order=alphabetical
+mode=run

+ 15 - 3
devuan_setup/config/wofi/style.css

@@ -5,6 +5,8 @@ window {
 #input {
 	background: #222;
 	color: #FFF;
+	border-radius: 0;
+	border: 2px solid #33DD33;
 }
 
 #inner-box {
@@ -12,11 +14,21 @@ window {
 	color: #FFF;
 }
 
-#outer-box {
+#entry {
+	border-left: 2px solid #33DD33;
+	border-right: 2px solid #33DD33;
 }
 
-#scroll {
+#entry:last-child {
+	border-bottom: 2px solid #33DD33;
 }
 
-#text {
+#entry:selected {
+	background-color: #33DD33;
+	border: none;
+	outline: none;
+}
+
+#entry:selected #text {
+	color: #222;
 }

+ 1 - 0
devuan_setup/setup_system.sh

@@ -20,6 +20,7 @@ apt install -y alsa-utils
 apt install -y wofi
 mkdir -p .config/wofi
 ln -s ~/dotfiles/devuan_setup/config/wofi/style.css ~/.config/wofi/style.css
+ln -s ~/dotfiles/devuan_setup/config/wofi/config ~/.config/wofi/config
 
 #wifi and bluetooth
 apt install -y connman-gtk