make wofi actually look nice

This commit is contained in:
Elizabeth Hunt 2024-01-24 19:17:25 -07:00
parent c2037fad9f
commit e209bb0027
Signed by: simponic
GPG Key ID: 52B3774857EB24B1
6 changed files with 77 additions and 1 deletions

View File

@ -14,7 +14,7 @@ set $browser xdg-open "https://static.simponic.xyz/dvd-logo/"
# 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=drun --lines=5 --prompt=""
set $menu wofi --show=drun --lines=2 --prompt=">"
set $wallpapers_path $HOME/Wallpapers
### Output configuration

51
.config/wofi/style.css Normal file
View File

@ -0,0 +1,51 @@
window {
margin: 0px;
border: 1px solid #bd93f9;
background-color: #282a36;
}
#input {
margin: 5px;
border: none;
color: #f8f8f2;
background-color: #44475a;
}
#inner-box {
margin: 5px;
border: none;
background-color: #282a36;
}
#outer-box {
margin: 5px;
border: none;
background-color: #282a36;
}
#scroll {
margin: 0px;
border: none;
}
#text {
margin: 5px;
border: none;
color: #f8f8f2;
}
#entry.activatable #text {
color: #282a36;
}
#entry > * {
color: #f8f8f2;
}
#entry:selected {
background-color: #44475a;
}
#entry:selected #text {
font-weight: bold;
}

4
.gitignore vendored
View File

@ -27,6 +27,10 @@
!.config/picom
!.config/picom/*
!.config
!.config/wofi
!.config/wofi/*
!.config/alacritty
!.config/alacritty/*

View File

@ -16,3 +16,5 @@ export QT_QPA_PLATFORMTHEME=qt5ct
export QT_QPA_PLATFORM=wayland
#export GDK_BACKEND=wayland
export MOZ_ENABLE_WAYLAND=1
export DARK_MODE=True

13
scripts/pashare Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
case "$1" in
start)
$0 stop
pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=alsa_output.pci-0000_03_00.1.hdmi-stereo-extra1 record=true port=8000
;;
stop)
pactl unload-module `pactl list | grep tcp -B1 | grep M | sed 's/[^0-9]//g'`
;;
*)
echo "Usage: $0 start|stop" >&2
;;
esac

6
scripts/start-subnet-router.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
NETDEV=$(ip route show 0/0 | cut -f5 -d' ')
sudo ethtool -K $NETDEV rx-udp-gro-forwarding on rx-gro-list off
sudo tailscale up --advertise-routes=10.0.0.0/24,10.0.1.0/24