New wallpaper selection. No more random. also minor updates to swaync and a lot of fixing to wofi tehe oops.
This commit is contained in:
parent
e684c48f73
commit
2e98507ff4
@ -12,7 +12,7 @@ monitor = DP-1, 2560x1440@165, 0x0, 1
|
||||
###################
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
$terminal = kitty
|
||||
$fileManager = GTK_THEME=Adwaita:dark thunar
|
||||
$fileManager = thunar
|
||||
$menu = wofi --show drun
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
@ -21,7 +21,7 @@ exec-once = hypridle
|
||||
exec-once = waybar
|
||||
exec-once = swww-daemon
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = swaync
|
||||
exec-once = swaync && swaync-client -df
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
@ -1,7 +1,13 @@
|
||||
#!/bin/bash
|
||||
WALLPAPER_DIR="/home/eli/wallpapers/walls"
|
||||
SPECIFIC_IMAGE=$(find "$WALLPAPER_DIR" -type f \( -iname "*.jpg" -o -iname "*.png" -o -iname "*.jpeg" \) | shuf -n 1)
|
||||
swww img "$SPECIFIC_IMAGE" --transition-type outer --transition-pos "$(hyprctl cursorpos)" --transition-fps 60 --transition-duration 1
|
||||
wal -i "$SPECIFIC_IMAGE" -not-set --cols16
|
||||
SELECTED_WALLPAPER=$(find "$WALLPAPER_DIR" -type f -exec basename {} \; | wofi -c ~/.config/wofi/config1 --show dmenu --prompt "Select Wallpaper:")
|
||||
|
||||
FULL_PATH=$(find "$WALLPAPER_DIR" -type f -name "$SELECTED_WALLPAPER")
|
||||
|
||||
swww img "$FULL_PATH" --transition-type any --transition-fps 60 --transition-duration .5
|
||||
|
||||
|
||||
wal -i "$FULL_PATH" -n --cols16
|
||||
swaync-client --reload-css
|
||||
cat ~/.cache/wal/colors-kitty.conf > ~/.config/kitty/current-theme.conf
|
||||
pywalfox update
|
||||
|
||||
@ -301,7 +301,7 @@
|
||||
}
|
||||
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button.toggle:checked {
|
||||
background: alpha(@mycolor,.5);
|
||||
background: @mycolor;
|
||||
}
|
||||
|
||||
.widget-menubar > box > .menu-button-bar > button {
|
||||
|
||||
12
.config/wofi/config1
Normal file
12
.config/wofi/config1
Normal file
@ -0,0 +1,12 @@
|
||||
[config]
|
||||
allow_images=true
|
||||
show=drun
|
||||
width=1000
|
||||
height=500
|
||||
always_parse_args=true
|
||||
show_all=true
|
||||
term=kitty
|
||||
hide_scroll=true
|
||||
print_command=true
|
||||
insensitive=true
|
||||
columns=3
|
||||
@ -7,9 +7,12 @@
|
||||
|
||||
* {
|
||||
font-family: 'CodeNewRoman Nerd Font Mono', monospace;
|
||||
font-size: 17px;
|
||||
font-size: 18px;
|
||||
outline: none;
|
||||
border: none;
|
||||
text-shadow:none;
|
||||
background-color:transparent;
|
||||
|
||||
}
|
||||
|
||||
window {
|
||||
@ -17,8 +20,6 @@ window {
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
background-color: alpha(@background,.5);
|
||||
|
||||
|
||||
}
|
||||
/* Slide In */
|
||||
@keyframes slideIn {
|
||||
@ -35,34 +36,17 @@ window {
|
||||
margin: 2px;
|
||||
padding: 5px;
|
||||
border: none;
|
||||
background-color: @base;
|
||||
animation: slideIn 1.5s ease-in-out;
|
||||
|
||||
}
|
||||
|
||||
/* Fade In */
|
||||
|
||||
|
||||
|
||||
|
||||
/* Outer Box */
|
||||
#outer-box {
|
||||
border-radius: .5em;
|
||||
border: none
|
||||
background-color: @base;
|
||||
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Scroll */
|
||||
#scroll {
|
||||
margin: 0px;
|
||||
padding: 30px;
|
||||
border: none;
|
||||
background-color: @base;
|
||||
|
||||
}
|
||||
|
||||
/* Input */
|
||||
#input {
|
||||
all:unset;
|
||||
margin-left:20px;
|
||||
@ -72,20 +56,17 @@ window {
|
||||
border: none;
|
||||
outline: none;
|
||||
color: @text;
|
||||
background-color: @base;
|
||||
animation: slideIn 1s ease-in-out;
|
||||
box-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
|
||||
border-radius:10;
|
||||
}
|
||||
|
||||
#input image {
|
||||
border: none;
|
||||
color: @red;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#input * {
|
||||
border: none; border: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
#input:focus {
|
||||
@ -94,38 +75,29 @@ window {
|
||||
box-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
|
||||
border-radius:10;
|
||||
}
|
||||
|
||||
#text {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: @text;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Entry */
|
||||
#entry {
|
||||
background-color: @base;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#entry arrow {
|
||||
border: none;
|
||||
color: @lavender;
|
||||
}
|
||||
|
||||
/* Selected Entry */
|
||||
#entry:selected {
|
||||
box-shadow: 1px 1px 5px rgba(255,255,255, .03);
|
||||
border: none;
|
||||
border-radius:20;
|
||||
border-radius: 20px;
|
||||
background-color:transparent;
|
||||
}
|
||||
|
||||
#entry:selected #text {
|
||||
color: @mauve;
|
||||
}
|
||||
|
||||
#entry:drop(active) {
|
||||
background-color: @lavender !important;
|
||||
animation: fadeIn 1s ease-in-out;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user