rice wofi now
This commit is contained in:
@@ -75,7 +75,7 @@ misc {
|
|||||||
initial_workspace_tracking = 0
|
initial_workspace_tracking = 0
|
||||||
new_window_takes_over_fullscreen = 1
|
new_window_takes_over_fullscreen = 1
|
||||||
disable_splash_rendering = false
|
disable_splash_rendering = false
|
||||||
font_family = Monaspace Neon
|
font_family = Geist
|
||||||
}
|
}
|
||||||
|
|
||||||
# Layer Rules
|
# Layer Rules
|
||||||
@@ -85,6 +85,11 @@ layerrule = animation popin 70%, wofi
|
|||||||
layerrule = animation slide right, notifications
|
layerrule = animation slide right, notifications
|
||||||
layerrule = dimaround, wofi
|
layerrule = dimaround, wofi
|
||||||
|
|
||||||
|
layerrule = order -999, wl_shimeji
|
||||||
|
layerrule = order -10, wofi
|
||||||
|
layerrule = order -20, waybar
|
||||||
|
|
||||||
|
|
||||||
# Window Rules
|
# Window Rules
|
||||||
windowrulev2 = float,class:^(blueman-manager-wrapped)$
|
windowrulev2 = float,class:^(blueman-manager-wrapped)$
|
||||||
windowrulev2 = size 900 500,class:^(blueman-manager-wrapped)$
|
windowrulev2 = size 900 500,class:^(blueman-manager-wrapped)$
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ bind = $mainMod SHIFT, GRAVE, movetoworkspace, special:music
|
|||||||
bind = $mainMod SHIFT, B, exec, bash ~/config/scripts/hot-reload.sh
|
bind = $mainMod SHIFT, B, exec, bash ~/config/scripts/hot-reload.sh
|
||||||
|
|
||||||
# Wallpaper
|
# Wallpaper
|
||||||
# bind = $mainMod SHIFT, RETURN, exec, bash ~/config/scripts/select-wallpaper.sh
|
bind = $mainMod SHIFT, RETURN, exec, bash ~/config/scripts/select-wallpaper.sh
|
||||||
|
|
||||||
# Screenshot keybinds
|
# Screenshot keybinds
|
||||||
bind = $mainMod, PRINT, exec, bash ~/config/scripts/screenshot-selection.sh
|
bind = $mainMod, PRINT, exec, bash ~/config/scripts/screenshot-selection.sh
|
||||||
|
|||||||
7
config/wofi/config
Normal file
7
config/wofi/config
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[wofi]
|
||||||
|
prompt=Search
|
||||||
|
allow_images=true
|
||||||
|
allow_markup=true
|
||||||
|
term=ghostty
|
||||||
|
dynamic_lines=true
|
||||||
|
normal_window=false
|
||||||
53
config/wofi/style.css
Normal file
53
config/wofi/style.css
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
window {
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
border: 1px solid #89b4fa;
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry {
|
||||||
|
background: transparent;
|
||||||
|
color: #c3d0ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 6px 12px;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry label {
|
||||||
|
padding-left: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry expander arrow {
|
||||||
|
padding: -16px;
|
||||||
|
margin: -16px;
|
||||||
|
background: transparent;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
border: 1px solid #89b4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
margin: 8px;
|
||||||
|
background: #1e1e2e;
|
||||||
|
color: #c3d0ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 6px 12px;
|
||||||
|
border: 1px solid #89b4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll {
|
||||||
|
background: transparent;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll box {
|
||||||
|
margin-left: 8px;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll slider {
|
||||||
|
background: #89b4fa;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
@@ -241,6 +241,12 @@
|
|||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.file.".config/wofi" = {
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink "/home/ocbwoy3/config/config/wofi";
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# xdg.configHome = "/home/ocbwoy3/config/config";
|
# xdg.configHome = "/home/ocbwoy3/config/config";
|
||||||
|
|
||||||
services.mpris-proxy.enable = true;
|
services.mpris-proxy.enable = true;
|
||||||
|
|||||||
10
scripts/load-wallpaper.sh
Normal file
10
scripts/load-wallpaper.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
WALLPAPER=$(cat $HOME/.cache/.wallpaper)
|
||||||
|
|
||||||
|
rm -r ~/.cache/wal
|
||||||
|
|
||||||
|
# wal -stn -a 90 -i $HOME/wallpaper/$WALLPAPER
|
||||||
|
|
||||||
|
swww img $WALLPAPER --transition-fps 120 --transition-duration 2 -t wipe &
|
||||||
|
bash ~/dotfiles/scripts/hot-reload.sh
|
||||||
24
scripts/select-wallpaper.sh
Normal file
24
scripts/select-wallpaper.sh
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
WALLPAPER=$(ls $HOME/Pictures/Wallpapers/ | wofi --show dmenu)
|
||||||
|
|
||||||
|
if [ ${#WALLPAPER} -gt 0 ] ; then
|
||||||
|
|
||||||
|
rm -f $HOME/.cache/.wallpaper
|
||||||
|
|
||||||
|
echo "$HOME/Pictures/Wallpapers/$WALLPAPER" >> $HOME/.cache/.wallpaper
|
||||||
|
|
||||||
|
rm -rf $HOME/.cache/wal
|
||||||
|
|
||||||
|
# notify-send -t 2000 -u low -h int:value:50 "OCbwoy3's Dotfiles" "Calculating color scheme"
|
||||||
|
|
||||||
|
# wal -stn -a 90 -i $HOME/wallpaper/$WALLPAPER
|
||||||
|
|
||||||
|
notify-send -t 2000 -u low "OCbwoy3's Dotfiles" "Setting wallpaper"
|
||||||
|
|
||||||
|
swww img $HOME/Pictures/Wallpapers/$WALLPAPER --transition-fps 300 --transition-duration 2 &
|
||||||
|
# bash ~/dotfiles/scripts/hot-reload.sh
|
||||||
|
|
||||||
|
else
|
||||||
|
printf "not changing wallpaper\n"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user