init
This commit is contained in:
8
rofi/scripts/clipboard/clipboard
Executable file
8
rofi/scripts/clipboard/clipboard
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! command -v cliphist >/dev/null 2>&1; then
|
||||
notify-send "Program not found" "Make sure you have installed cliphist"
|
||||
exit 1
|
||||
else
|
||||
cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||
fi
|
||||
3
rofi/scripts/emoji/emoji
Executable file
3
rofi/scripts/emoji/emoji
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
rofi -modi emoji -show emoji -emoji-mode copy -theme ~/.config/rofi/scripts/emoji/style.rasi -emoji-format '{emoji} <span weight="bold">{name}</span> [<span size="small">({group})</span>]'
|
||||
10
rofi/scripts/emoji/style.rasi
Normal file
10
rofi/scripts/emoji/style.rasi
Normal file
@@ -0,0 +1,10 @@
|
||||
// Config
|
||||
configuration {
|
||||
modi: "emoji";
|
||||
show: "emoji";
|
||||
emoji-mode: "copy";
|
||||
display-emoji: "Emojis";
|
||||
show-icons: true;
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/style.rasi"
|
||||
135
rofi/scripts/game-launcher/style.rasi
Normal file
135
rofi/scripts/game-launcher/style.rasi
Normal file
@@ -0,0 +1,135 @@
|
||||
// Config
|
||||
configuration {
|
||||
modi: "games";
|
||||
show-icons: true;
|
||||
drun-display-format: "{name}";
|
||||
font: "JetBrainsMono Nerd Font 9";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/theme/catppuccin-macchiato.rasi"
|
||||
|
||||
// Main
|
||||
window {
|
||||
enabled: true;
|
||||
fullscreen: false;
|
||||
width: 90%;
|
||||
transparency: "real";
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
children: [ "inputbar-box", "listview" ];
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
inputbar-box {
|
||||
children: [ dummy, inputbar, dummy ];
|
||||
orientation: horizontal;
|
||||
expand: false;
|
||||
margin: 20px 0px 0px 0px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
dummy {
|
||||
expand: true;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 15px;
|
||||
margin: 0px;
|
||||
background-color: transparent;
|
||||
children: [ "textbox-prompt-colon", "entry" ];
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
padding: 13px 12px 13px 16px;
|
||||
border: 0px;
|
||||
border-radius: 7px;
|
||||
border-color: @border-tb;
|
||||
background-color: @background-tb;
|
||||
text-color: @foreground;
|
||||
str: " ";
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: true;
|
||||
padding: 12px 16px;
|
||||
border: 0px;
|
||||
border-radius: 7px;
|
||||
border-color: @border-tb;
|
||||
background-color: @background-tb;
|
||||
text-color: @foreground;
|
||||
cursor: text;
|
||||
placeholder: "Search...";
|
||||
placeholder-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
// Lists
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 10;
|
||||
lines: 1;
|
||||
spacing: 30px;
|
||||
padding: 20px 40px 40px 40px;
|
||||
cycle: true;
|
||||
dynamic: false;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
// Elements
|
||||
element {
|
||||
enabled: true;
|
||||
orientation: vertical;
|
||||
spacing: 0px;
|
||||
padding: 5px;
|
||||
border-radius: 15px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: @accent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 25%;
|
||||
spacing: 0px;
|
||||
padding: 10px;
|
||||
cursor: inherit;
|
||||
border-radius: 20px;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
spacing: 0px;
|
||||
padding: 10px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
14
rofi/scripts/keybindings/keybindings
Executable file
14
rofi/scripts/keybindings/keybindings
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! command -v keyb >/dev/null 2>&1; then
|
||||
notify-send "Program not found" "Make sure you have installed keyb"
|
||||
exit 1
|
||||
else
|
||||
CONFIG=$(fd --base-directory "$HOME/.config/keyb/bindings" --type f . | sed 's/\.yml$//' | rofi -dmenu)
|
||||
|
||||
if [ -z "$CONFIG" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
hyprctl dispatch exec "[float;size 45% 80%;center 1] kitty keyb -k '$HOME/.config/keyb/bindings/$CONFIG.yml'"
|
||||
fi
|
||||
80
rofi/scripts/powermenu/powermenu
Executable file
80
rofi/scripts/powermenu/powermenu
Executable file
@@ -0,0 +1,80 @@
|
||||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
uptime="$(uptime -p | sed -e 's/up //g')"
|
||||
shutdown=''
|
||||
reboot=''
|
||||
lock=''
|
||||
suspend=''
|
||||
logout=''
|
||||
yes=''
|
||||
no=''
|
||||
|
||||
rofi_cmd() {
|
||||
rofi -dmenu \
|
||||
-p "Uptime: $uptime" \
|
||||
-mesg "Uptime: $uptime" \
|
||||
-theme ~/.config/rofi/scripts/powermenu/style.rasi
|
||||
}
|
||||
|
||||
confirm_cmd() {
|
||||
rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
|
||||
-theme-str 'mainbox {children: [ "message", "listview" ];}' \
|
||||
-theme-str 'listview {columns: 2; lines: 1;}' \
|
||||
-theme-str 'element-text {horizontal-align: 0.5;}' \
|
||||
-theme-str 'textbox {horizontal-align: 0.5;}' \
|
||||
-dmenu \
|
||||
-p 'Confirmation' \
|
||||
-mesg 'Are you sure?' \
|
||||
-theme ~/.config/rofi/scripts/powermenu/style.rasi
|
||||
}
|
||||
|
||||
confirm_exit() {
|
||||
echo -e "$yes\n$no" | confirm_cmd
|
||||
}
|
||||
|
||||
run_rofi() {
|
||||
echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd
|
||||
}
|
||||
|
||||
# Execute Command
|
||||
run_cmd() {
|
||||
selected="$(confirm_exit)"
|
||||
if [[ "$selected" == "$yes" ]]; then
|
||||
if [[ $1 == '--shutdown' ]]; then
|
||||
systemctl poweroff
|
||||
elif [[ $1 == '--reboot' ]]; then
|
||||
systemctl reboot
|
||||
elif [[ $1 == '--suspend' ]]; then
|
||||
mpc -q pause
|
||||
hyprlock
|
||||
systemctl suspend
|
||||
elif [[ $1 == '--logout' ]]; then
|
||||
hyprctl dispatch exit
|
||||
elif [[ $1 == '--lock' ]]; then
|
||||
hyprlock
|
||||
fi
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
# Actions
|
||||
chosen="$(run_rofi)"
|
||||
case ${chosen} in
|
||||
$shutdown)
|
||||
run_cmd --shutdown
|
||||
;;
|
||||
$reboot)
|
||||
run_cmd --reboot
|
||||
;;
|
||||
$lock)
|
||||
run_cmd --lock
|
||||
;;
|
||||
$suspend)
|
||||
run_cmd --suspend
|
||||
;;
|
||||
$logout)
|
||||
run_cmd --logout
|
||||
;;
|
||||
esac
|
||||
168
rofi/scripts/powermenu/style.rasi
Normal file
168
rofi/scripts/powermenu/style.rasi
Normal file
@@ -0,0 +1,168 @@
|
||||
// Config
|
||||
configuration {
|
||||
show-icons: false;
|
||||
me-select-entry: "";
|
||||
me-accept-entry: [ MousePrimary, MouseSecondary, MouseDPrimary ];
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/theme/catppuccin-macchiato.rasi"
|
||||
|
||||
// Main Window
|
||||
window {
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 450px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 2px solid;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
// Main Box
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 15px;
|
||||
margin: 0px;
|
||||
padding: 30px;
|
||||
border: 0px solid;
|
||||
border-radius: 5px;
|
||||
border-color: @selected;
|
||||
background-color: transparent;
|
||||
children: [ "message", "listview" ];
|
||||
}
|
||||
|
||||
// Inputbar
|
||||
inputbar {
|
||||
enabled: false;
|
||||
spacing: 15px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px;
|
||||
border-radius: 5px;
|
||||
border-color: @selected;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
children: [ "textbox-prompt-colon", "prompt" ];
|
||||
}
|
||||
|
||||
dummy {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
font: "Symbols Nerd Font 12";
|
||||
enabled: false;
|
||||
expand: false;
|
||||
str: "";
|
||||
padding: 0 14px;
|
||||
border-radius: 10px;
|
||||
border-color: @urgent;
|
||||
border: 2px solid;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: false;
|
||||
padding: 12px;
|
||||
border-radius: 10px;
|
||||
border-color: @active;
|
||||
border: 2px solid;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
// Message
|
||||
message {
|
||||
enabled: false;
|
||||
margin: 0px;
|
||||
padding: 12px;
|
||||
border: 0px solid;
|
||||
border-radius: 10px;
|
||||
border-color: @selected;
|
||||
background-color: @background-tb;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
textbox {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
placeholder-color: @foreground;
|
||||
blink: true;
|
||||
markup: true;
|
||||
}
|
||||
|
||||
error-message {
|
||||
padding: 12px;
|
||||
border: 0px solid;
|
||||
border-radius: 10px;
|
||||
border-color: @selected;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
// Listview
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 5;
|
||||
lines: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
spacing: 15px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @selected;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: "default";
|
||||
}
|
||||
|
||||
// Elements
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 10px;
|
||||
border: 0px solid;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
element-text {
|
||||
font: "Symbols Nerd Font 24";
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
cursor: inherit;
|
||||
vertical-align: 0; // NOTE: Change this back to 0.5 once https://github.com/davatorium/rofi/issues/2076 is resolved
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: var(foreground);
|
||||
border-color: var(selected);
|
||||
border: 0px solid;
|
||||
text-color: var(background);
|
||||
}
|
||||
34
rofi/scripts/screenshot/screenshot
Executable file
34
rofi/scripts/screenshot/screenshot
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$1" = "--freeze" ]; then
|
||||
extra_args="--freeze"
|
||||
fi
|
||||
|
||||
# variables
|
||||
theme="$HOME/.config/rofi/scripts/screenshot/style.rasi"
|
||||
hyprshot="$HOME/.config/hypr/scripts/hyprshot"
|
||||
save_dir="$HOME/pictures/screenshots/pc"
|
||||
filename="captura-$(date +%Y-%m-%d-%s).png"
|
||||
command="$hyprshot -o $save_dir -f $filename $extra_args"
|
||||
|
||||
# options to be displayed
|
||||
region=""
|
||||
output=""
|
||||
window=""
|
||||
folder=""
|
||||
|
||||
selected="$(echo -e "$region\n$output\n$window\n$folder" | rofi -dmenu -theme "${theme}")"
|
||||
case $selected in
|
||||
$region)
|
||||
$command -m region
|
||||
;;
|
||||
$output)
|
||||
$command -m output
|
||||
;;
|
||||
$window)
|
||||
$command -m window
|
||||
;;
|
||||
$folder)
|
||||
~/.config/rofi/scripts/screenshot/screenshot_selection
|
||||
;;
|
||||
esac
|
||||
28
rofi/scripts/screenshot/screenshot_selection
Executable file
28
rofi/scripts/screenshot/screenshot_selection
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
screenshots_dir=$HOME/pictures/screenshots/pc
|
||||
theme="$HOME/.config/rofi/scripts/wallpaper/style.rasi"
|
||||
|
||||
build_theme() {
|
||||
rows=$1
|
||||
cols=$2
|
||||
icon_size=$3
|
||||
|
||||
echo "element{orientation:vertical;}element-text{horizontal-align:0.5;}element-icon{size:$icon_size.0000em;}listview{lines:$rows;columns:$cols;}"
|
||||
}
|
||||
|
||||
rofi_cmd="rofi -dmenu -i -show-icons -theme-str $(build_theme 5 4 10) -theme ${theme}"
|
||||
|
||||
choice=$(
|
||||
ls -t --escape "$screenshots_dir" -p | grep -v / |
|
||||
while read A; do echo -en "$A\x00icon\x1f$screenshots_dir/$A\n"; done |
|
||||
$rofi_cmd
|
||||
)
|
||||
|
||||
screenshot="$screenshots_dir/$choice"
|
||||
|
||||
if command -v satty &>/dev/null; then
|
||||
satty -f "$screenshot"
|
||||
else
|
||||
xdg-open "$screenshot"
|
||||
fi
|
||||
168
rofi/scripts/screenshot/style.rasi
Normal file
168
rofi/scripts/screenshot/style.rasi
Normal file
@@ -0,0 +1,168 @@
|
||||
// Config
|
||||
configuration {
|
||||
show-icons: false;
|
||||
me-select-entry: "";
|
||||
me-accept-entry: [ MousePrimary, MouseSecondary, MouseDPrimary ];
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/theme/catppuccin-macchiato.rasi"
|
||||
|
||||
// Main Window
|
||||
window {
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 450px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 2px solid;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
// Main Box
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 15px;
|
||||
margin: 0px;
|
||||
padding: 30px;
|
||||
border: 0px solid;
|
||||
border-radius: 5px;
|
||||
border-color: @selected;
|
||||
background-color: transparent;
|
||||
children: [ "message", "listview" ];
|
||||
}
|
||||
|
||||
// Inputbar
|
||||
inputbar {
|
||||
enabled: false;
|
||||
spacing: 15px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px;
|
||||
border-radius: 5px;
|
||||
border-color: @selected;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
children: [ "textbox-prompt-colon", "prompt" ];
|
||||
}
|
||||
|
||||
dummy {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
font: "Symbols Nerd Font 12";
|
||||
enabled: false;
|
||||
expand: false;
|
||||
str: "";
|
||||
padding: 0 14px;
|
||||
border-radius: 10px;
|
||||
border-color: @urgent;
|
||||
border: 2px solid;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: false;
|
||||
padding: 12px;
|
||||
border-radius: 10px;
|
||||
border-color: @active;
|
||||
border: 2px solid;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
// Message
|
||||
message {
|
||||
enabled: false;
|
||||
margin: 0px;
|
||||
padding: 12px;
|
||||
border: 0px solid;
|
||||
border-radius: 10px;
|
||||
border-color: @selected;
|
||||
background-color: @background-tb;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
textbox {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
placeholder-color: @foreground;
|
||||
blink: true;
|
||||
markup: true;
|
||||
}
|
||||
|
||||
error-message {
|
||||
padding: 12px;
|
||||
border: 0px solid;
|
||||
border-radius: 10px;
|
||||
border-color: @selected;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
// Listview
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 4;
|
||||
lines: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
spacing: 15px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @selected;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: "default";
|
||||
}
|
||||
|
||||
// Elements
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 10px;
|
||||
border: 0px solid;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
element-text {
|
||||
font: "Symbols Nerd Font 24";
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
cursor: inherit;
|
||||
vertical-align: 0; // NOTE: Change this back to 0.5 once https://github.com/davatorium/rofi/issues/2076 is resolved
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: var(foreground);
|
||||
border-color: var(selected);
|
||||
border: 0px solid;
|
||||
text-color: var(background);
|
||||
}
|
||||
7
rofi/scripts/wallpaper/style.rasi
Normal file
7
rofi/scripts/wallpaper/style.rasi
Normal file
@@ -0,0 +1,7 @@
|
||||
@theme "~/.config/rofi/style.rasi"
|
||||
|
||||
// Window
|
||||
window {
|
||||
width: 900px;
|
||||
height: 700px;
|
||||
}
|
||||
31
rofi/scripts/wallpaper/wallpaper
Executable file
31
rofi/scripts/wallpaper/wallpaper
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
|
||||
wallpapers_dir="$HOME/.config/hypr/theme/walls/"
|
||||
|
||||
build_theme() {
|
||||
rows=$1
|
||||
cols=$2
|
||||
icon_size=$3
|
||||
|
||||
echo "element{orientation:vertical;}element-text{horizontal-align:0.5;}element-icon{size:$icon_size.0000em;}listview{lines:$rows;columns:$cols;}"
|
||||
}
|
||||
|
||||
theme="$HOME/.config/rofi/scripts/wallpaper/style.rasi"
|
||||
|
||||
rofi_cmd="rofi -dmenu -i -show-icons -theme-str $(build_theme 4 3 12) -theme ${theme}"
|
||||
|
||||
choice=$(
|
||||
ls --escape "$wallpapers_dir" |
|
||||
while read A; do echo -en "$A\x00icon\x1f$wallpapers_dir/$A\n"; done |
|
||||
$rofi_cmd
|
||||
)
|
||||
|
||||
wallpaper="$wallpapers_dir/$choice"
|
||||
|
||||
swww img "$wallpaper" \
|
||||
--transition-bezier 0.5,1.19,.8,.4 \
|
||||
--transition-type wipe \
|
||||
--transition-duration 2 \
|
||||
--transition-fps 75 && notify-send "Wallpaper Changed" -i "$wallpaper" --app-name=Wallpaper
|
||||
|
||||
exit 1
|
||||
Reference in New Issue
Block a user