Compare commits
5 commits
2e6097530f
...
454d91ca70
Author | SHA1 | Date | |
---|---|---|---|
|
454d91ca70 | ||
|
dbf88502ad | ||
|
3e6968c168 | ||
|
1f61360b2d | ||
|
e2a1c5132c |
11 changed files with 139 additions and 4 deletions
21
bin/wallpaperctl
Executable file
21
bin/wallpaperctl
Executable file
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $# -lt 1 ]] || [[ ! $1 = @(daemon|change) ]]; then
|
||||||
|
echo "Usage:
|
||||||
|
$0 daemon|change"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
export SWWW_TRANSITION=wipe
|
||||||
|
export SWWW_TRANSITION_ANGLE=$RANDOM
|
||||||
|
export SWWW_TRANSITION_FPS=60
|
||||||
|
|
||||||
|
wallpapers_dir=~/Images/Wallpapers/enabled
|
||||||
|
|
||||||
|
if [[ "$1" = "daemon" ]]; then
|
||||||
|
exec swww-daemon
|
||||||
|
elif [[ "$1" = "change" ]]; then
|
||||||
|
img=$(find "$wallpapers_dir" -type f,l -exec realpath {} \; | shuf -n 1)
|
||||||
|
echo "$img"
|
||||||
|
exec swww img "$img"
|
||||||
|
fi
|
|
@ -17,7 +17,7 @@ bind = $mainMod, N, exec, $explorer
|
||||||
|
|
||||||
bind = $mainMod, M, exec, prismlauncher
|
bind = $mainMod, M, exec, prismlauncher
|
||||||
bind = $mainMod, O, exec, obsidian
|
bind = $mainMod, O, exec, obsidian
|
||||||
bind = $mainMod, R, exec, wofi --show drun
|
bind = $mainMod, R, exec, anyrun
|
||||||
bind = $mainMod, L, exec, swaylock-hyprland
|
bind = $mainMod, L, exec, swaylock-hyprland
|
||||||
bind = $mainMod, U, exec, ~/.local/bin/uwu-launcher
|
bind = $mainMod, U, exec, ~/.local/bin/uwu-launcher
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
plugin = /usr/lib/libhy3.so
|
|
||||||
|
|
||||||
plugin {
|
plugin {
|
||||||
hy3 {
|
hy3 {
|
||||||
tabs {
|
tabs {
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
exec-once = artix-pipewire-launcher restart
|
exec-once = artix-pipewire-launcher restart
|
||||||
exec-once = mako
|
exec-once = mako
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpm reload -n
|
||||||
|
exec-once = wallpaperctl daemon
|
||||||
exec-once = swayosd-server
|
exec-once = swayosd-server
|
||||||
exec-once = udiskie
|
exec-once = udiskie
|
||||||
exec-once = eww-bard
|
exec-once = eww-bard
|
||||||
|
|
1
misc/anyrun/.gitignore
vendored
Normal file
1
misc/anyrun/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
plugins/
|
5
misc/anyrun/applications.ron
Normal file
5
misc/anyrun/applications.ron
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Config(
|
||||||
|
desktop_actions: false,
|
||||||
|
max_entries: 5,
|
||||||
|
terminal: Some("alacritty"),
|
||||||
|
)
|
19
misc/anyrun/config.ron
Normal file
19
misc/anyrun/config.ron
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
Config(
|
||||||
|
x: Fraction(0.5),
|
||||||
|
y: Fraction(0.2),
|
||||||
|
width: Absolute(800),
|
||||||
|
height: Fraction(0),
|
||||||
|
hide_icons: false,
|
||||||
|
hide_plugin_info: true,
|
||||||
|
ignore_exclusive_zones: false,
|
||||||
|
layer: Top,
|
||||||
|
close_on_click: true,
|
||||||
|
show_results_immediately: false,
|
||||||
|
plugins: [
|
||||||
|
"libapplications.so",
|
||||||
|
"libsymbols.so",
|
||||||
|
"libwebsearch.so",
|
||||||
|
"librink.so",
|
||||||
|
"libshell.so",
|
||||||
|
]
|
||||||
|
)
|
73
misc/anyrun/style.css
Normal file
73
misc/anyrun/style.css
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
#window {
|
||||||
|
background-color: transparent;
|
||||||
|
color: #a4acc5;
|
||||||
|
}
|
||||||
|
|
||||||
|
box#main {
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: #282936;
|
||||||
|
border: 4px solid #282936;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry#entry {
|
||||||
|
min-height: 40px;
|
||||||
|
border-radius: 20px;
|
||||||
|
background: transparent;
|
||||||
|
box-shadow: none;
|
||||||
|
border: none;
|
||||||
|
color: whitesmoke;
|
||||||
|
}
|
||||||
|
|
||||||
|
list#main {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plugin {
|
||||||
|
background: transparent;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#match {
|
||||||
|
padding: 2.5px;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: #a4acc5;
|
||||||
|
}
|
||||||
|
|
||||||
|
#match:selected {
|
||||||
|
background: #383946;
|
||||||
|
border-right: 4px solid #7e9cd8;
|
||||||
|
border-left: 4px solid #7e9cd8;
|
||||||
|
color: #7e9cd8;
|
||||||
|
}
|
||||||
|
|
||||||
|
#match:selected label#info {
|
||||||
|
color: #b0b0b0;
|
||||||
|
animation: fade 0.1s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fade {
|
||||||
|
0% {
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
color: #b0b0b0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#match label#info {
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#match:hover {
|
||||||
|
background: #383946;
|
||||||
|
}
|
||||||
|
|
||||||
|
label#match-desc {
|
||||||
|
font-size: 10px;
|
||||||
|
color: #b0b0b0;
|
||||||
|
}
|
||||||
|
|
||||||
|
label#plugin {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
8
misc/anyrun/symbols.ron
Normal file
8
misc/anyrun/symbols.ron
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
Config(
|
||||||
|
prefix: "",
|
||||||
|
symbols: {
|
||||||
|
"tableflip": "(╯°□°)╯︵ ┻━┻",
|
||||||
|
"shrug": "¯\\_(ツ)_/¯",
|
||||||
|
},
|
||||||
|
max_entries: 3,
|
||||||
|
)
|
7
misc/anyrun/websearch.ron
Normal file
7
misc/anyrun/websearch.ron
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Config(
|
||||||
|
prefix: "?",
|
||||||
|
engines: [DuckDuckGo, Google, Custom(
|
||||||
|
name: "SearX",
|
||||||
|
url: "searx.be/?q={}",
|
||||||
|
)]
|
||||||
|
)
|
2
sync
2
sync
|
@ -57,6 +57,7 @@ synced_files = [
|
||||||
("misc/runst/", "~/.config/runst/"),
|
("misc/runst/", "~/.config/runst/"),
|
||||||
("misc/mako/", "~/.config/mako/"),
|
("misc/mako/", "~/.config/mako/"),
|
||||||
("misc/swayosd/", "~/.config/swayosd/"),
|
("misc/swayosd/", "~/.config/swayosd/"),
|
||||||
|
("misc/anyrun/", "~/.config/anyrun/"),
|
||||||
("misc/x11-toggle-gpu/", "~/.local/share/x11-toggle-gpu/"),
|
("misc/x11-toggle-gpu/", "~/.local/share/x11-toggle-gpu/"),
|
||||||
("bin/swaylock-hyprland", "~/.local/bin/swaylock-hyprland"),
|
("bin/swaylock-hyprland", "~/.local/bin/swaylock-hyprland"),
|
||||||
("bin/Hyprland", "~/.local/bin/Hyprland"),
|
("bin/Hyprland", "~/.local/bin/Hyprland"),
|
||||||
|
@ -68,6 +69,7 @@ synced_files = [
|
||||||
("bin/x11-toggle-primary-gpu", "~/.local/bin/x11-toggle-primary-gpu"),
|
("bin/x11-toggle-primary-gpu", "~/.local/bin/x11-toggle-primary-gpu"),
|
||||||
("bin/uwu-launcher", "~/.local/bin/uwu-launcher"),
|
("bin/uwu-launcher", "~/.local/bin/uwu-launcher"),
|
||||||
("bin/eww-bard", "~/.local/bin/eww-bard"),
|
("bin/eww-bard", "~/.local/bin/eww-bard"),
|
||||||
|
("bin/wallpaperctl", "~/.local/bin/wallpaperctl"),
|
||||||
# Submodules
|
# Submodules
|
||||||
("Ahurac-dotfiles/bin/ssh-fwd", "~/.local/bin/ssh-fwd"),
|
("Ahurac-dotfiles/bin/ssh-fwd", "~/.local/bin/ssh-fwd"),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue