Only Tom Cruise knows why.
This commit is contained in:
parent
596a773dd2
commit
af79b6267b
9 changed files with 312 additions and 111 deletions
|
|
@ -235,7 +235,8 @@ bindd = $mainMod, S, Launch menu to modify/create script, exec, autoscriptmenu
|
|||
|
||||
bindd = $mainMod, period, Launch the Emoji Picker, exec, jome -d | wl-copy #Emojipicker + clipboard copy
|
||||
|
||||
bindd = $mainMod, V, Clipboard History, exec, cliphist list | tofi -c ~/.config/tofi/configV | cliphist decode | wl-copy
|
||||
# bindd = $mainMod, V, Clipboard History, exec, cliphist list | tofi -c ~/.config/tofi/configV | cliphist decode | wl-copy
|
||||
bindd = $mainMod, V, Clipboard History, exec, "$HOME/.config/rofi/clipboard.sh"
|
||||
bindd = $mainMod, R, Launch Remmina, exec, [floating] remmina
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
|
|
|
|||
10
hypr/.config/hypr/scripts/swww-random.sh
Executable file
10
hypr/.config/hypr/scripts/swww-random.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
DIR=~/Pictures/wallpapers/
|
||||
PICS=($(find ${DIR} -type f -iname "*.jpg" -o -iname "*.png" -o -iname "*.jpeg"))
|
||||
|
||||
RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]}]}
|
||||
swww img ${DIR}/${RANDOMPICS} --transition-fps 60 --transition-type any --transition-duration 3
|
||||
|
||||
|
||||
notify-send -i ${DIR}/${RANDOMPICS} "Wallpaper Changed" ${RANDOMPICS}
|
||||
1
hypr/.config/rofi/README.md
Normal file
1
hypr/.config/rofi/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
https://github.com/develcooking/hyprland-dotfiles/tree/main/.config/rofi
|
||||
|
|
@ -16,13 +16,14 @@ configuration {
|
|||
alternate-background: var(selected);
|
||||
alternate-foreground: var(background);
|
||||
|
||||
font: "JetBrains Mono Nerd Font 10";
|
||||
font: "JetBrains Mono Nerd Font 24";
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
/* properties for window widget */
|
||||
transparency: "real";
|
||||
/*transparency: "real";*/
|
||||
transparency: "background";
|
||||
location: center;
|
||||
|
||||
fullscreen: true;
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
theme="$HOME/.config/rofi/clipboard.rasi"
|
||||
|
||||
cliphist list | rofi -dmenu -i -p "Clipboard:" \
|
||||
-theme ${theme} \
|
||||
-theme "${theme}" \
|
||||
| cliphist decode | wl-copy
|
||||
|
|
|
|||
153
hypr/.config/rofi/powermenu.rasi
Normal file
153
hypr/.config/rofi/powermenu.rasi
Normal file
|
|
@ -0,0 +1,153 @@
|
|||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
modi: "dmenu";
|
||||
show-icons: true;
|
||||
display-dmenu: "Powermenu:";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
border-colour: var(selected);
|
||||
background-colour: var(background-transparent);
|
||||
foreground-colour: var(foreground);
|
||||
alternate-background: var(selected);
|
||||
alternate-foreground: var(background);
|
||||
|
||||
font: "JetBrains Mono Nerd Font 15";
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
/* properties for window widget */
|
||||
transparency: "real";
|
||||
location: center;
|
||||
|
||||
fullscreen: true;
|
||||
width: 1366px;
|
||||
height: 768px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
cursor: "default";
|
||||
background-color: @background-colour;
|
||||
}
|
||||
|
||||
/*****----- Main Box -----*****/
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 35%;
|
||||
border: 0px solid;
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
children: [ "inputbar", "listview" ];
|
||||
}
|
||||
|
||||
/*****----- Inputbar -----*****/
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
children: [ "prompt", "entry" ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
str: "::";
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
entry {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "";
|
||||
placeholder-color: inherit;
|
||||
}
|
||||
|
||||
/*****----- Listview -----*****/
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 12;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
cursor: "default";
|
||||
}
|
||||
scrollbar {
|
||||
handle-width: 5px ;
|
||||
handle-color: @handle-color;
|
||||
border-radius: 0px;
|
||||
background-color: @alternate-background;
|
||||
}
|
||||
|
||||
/*****----- Elements -----*****/
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 5px;
|
||||
border: 0px solid;
|
||||
border-radius: 8px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
text-color: @foreground-colour;
|
||||
cursor: pointer;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: var(alternate-background);
|
||||
text-color: var(foreground-alt);
|
||||
}
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
size: 24px;
|
||||
cursor: inherit;
|
||||
}
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: inherit;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
}
|
||||
35
hypr/.config/rofi/powermenu.sh
Executable file
35
hypr/.config/rofi/powermenu.sh
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/bash
|
||||
|
||||
theme="$HOME/.config/rofi/powermenu.rasi"
|
||||
|
||||
lock=" Lock"
|
||||
logout=" Logout"
|
||||
poweroff="⏻ Poweroff"
|
||||
reboot=" Reboot"
|
||||
sleep=" Suspend"
|
||||
|
||||
selected_option=$(echo "$poweroff
|
||||
$lock
|
||||
$reboot
|
||||
$sleep
|
||||
$logout" | rofi -dmenu -i -p "Powermenu:" \
|
||||
-theme ${theme})
|
||||
|
||||
if [ "$selected_option" == "$lock" ]
|
||||
then
|
||||
hyprlock
|
||||
elif [ "$selected_option" == "$logout" ]
|
||||
then
|
||||
loginctl terminate-user `whoami`
|
||||
elif [ "$selected_option" == "$poweroff" ]
|
||||
then
|
||||
systemctl poweroff
|
||||
elif [ "$selected_option" == "$reboot" ]
|
||||
then
|
||||
systemctl reboot
|
||||
elif [ "$selected_option" == "$sleep" ]
|
||||
then
|
||||
hyprlock & sleep 2 && systemctl suspend
|
||||
else
|
||||
echo "No match"
|
||||
fi
|
||||
|
|
@ -42,7 +42,7 @@ for imagen in "$wall_dir"/*.{jpg,jpeg,png,webp}; do
|
|||
if [ -f "$imagen" ]; then
|
||||
nombre_archivo=$(basename "$imagen")
|
||||
if [ ! -f "${cacheDir}/${nombre_archivo}" ] ; then
|
||||
imagick -strip "$imagen" -thumbnail 500x500^ -gravity center -extent 500x500 "${cacheDir}/${nombre_archivo}"
|
||||
magick convert -strip "$imagen" -thumbnail 500x500^ -gravity center -extent 500x500 "${cacheDir}/${nombre_archivo}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue