diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf
index 08a960b..ed58feb 100644
--- a/hypr/.config/hypr/hyprland.conf
+++ b/hypr/.config/hypr/hyprland.conf
@@ -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
diff --git a/hypr/.config/hypr/scripts/swww-random.sh b/hypr/.config/hypr/scripts/swww-random.sh
new file mode 100755
index 0000000..b002b20
--- /dev/null
+++ b/hypr/.config/hypr/scripts/swww-random.sh
@@ -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}
diff --git a/hypr/.config/rofi/README.md b/hypr/.config/rofi/README.md
new file mode 100644
index 0000000..a1b09fa
--- /dev/null
+++ b/hypr/.config/rofi/README.md
@@ -0,0 +1 @@
+https://github.com/develcooking/hyprland-dotfiles/tree/main/.config/rofi
diff --git a/hypr/.config/rofi/clipboard.rasi b/hypr/.config/rofi/clipboard.rasi
index 9f3d08a..16599e8 100644
--- a/hypr/.config/rofi/clipboard.rasi
+++ b/hypr/.config/rofi/clipboard.rasi
@@ -1,153 +1,154 @@
/*****----- Configuration -----*****/
configuration {
modi: "dmenu";
- show-icons: true;
- display-dmenu: "Powermenu :";
+ show-icons: true;
+ display-dmenu: "Powermenu :";
window-format: "{w} · {c} · {t}";
}
/*****----- Global Properties -----*****/
-@import "colors.rasi"
+@import "colors.rasi"
* {
- border-colour: var(selected);
- background-colour: var(background-transparent);
- foreground-colour: var(foreground);
- alternate-background: var(selected);
- alternate-foreground: var(background);
+ 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 10";
+ font: "JetBrains Mono Nerd Font 24";
}
/*****----- Main Window -----*****/
window {
/* properties for window widget */
- transparency: "real";
- location: center;
+ /*transparency: "real";*/
+ transparency: "background";
+ location: center;
- fullscreen: true;
- width: 1366px;
- height: 768px;
- x-offset: 0px;
- y-offset: 0px;
+ fullscreen: true;
+ width: 1366px;
+ height: 768px;
+ x-offset: 0px;
+ y-offset: 0px;
/* properties for all widgets */
- enabled: true;
- margin: 0px;
- padding: 50px;
- location: center;
- border: 0px solid;
- border-radius: 0px;
- border-color: @border-colour;
- cursor: "default";
- background-color: @background-colour;
+ enabled: true;
+ margin: 0px;
+ padding: 50px;
+ location: center;
+ 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;
- border: 0px solid;
- border-radius: 0px 0px 0px 0px;
- border-color: @border-colour;
- background-color: transparent;
- children: [ "inputbar", "listview" ];
+ enabled: true;
+ spacing: 10px;
+ margin: 0px;
+ 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;
- location: center;
- margin: 0px;
- padding: 0px;
- border: 0px;
- border-radius: 0px;
- border-color: @border-colour;
- background-color: transparent;
- text-color: @foreground-colour;
- children: [ "prompt", "entry" ];
+ enabled: true;
+ spacing: 10px;
+ location: center;
+ 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;
+ enabled: true;
+ background-color: inherit;
+ text-color: inherit;
}
textbox-prompt-colon {
- enabled: true;
- expand: false;
- str: "::";
- background-color: inherit;
- text-color: inherit;
+ 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;
+ enabled: true;
+ background-color: inherit;
+ text-color: inherit;
+ cursor: text;
+ placeholder: "";
+ placeholder-color: inherit;
}
/*****----- Listview -----*****/
listview {
- enabled: true;
- columns: 1;
- lines: 128;
- cycle: false;
- dynamic: false;
- scrollbar: false;
- layout: vertical;
- reverse: false;
- height: 800px;
+ enabled: true;
+ columns: 1;
+ lines: 128;
+ cycle: false;
+ dynamic: false;
+ scrollbar: false;
+ layout: vertical;
+ reverse: false;
+ height: 800px;
- spacing: 5px;
- margin: 0px;
- padding: 0px;
- border: 0px solid;
- border-radius: 0px;
- border-color: @border-colour;
- background-color: transparent;
- text-color: @foreground-colour;
- cursor: "default";
+ spacing: 5px;
+ 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;
+ handle-width: 5px ;
+ handle-color: @handle-color;
+ border-radius: 0px;
+ background-color: @alternate-background;
}
/*****----- Elements -----*****/
element {
- enabled: true;
- spacing: 5px;
- margin: 0px;
- padding: 5px;
- border: 0px solid;
- border-radius: 8px;
- border-color: @border-colour;
- background-color: transparent;
- text-color: @foreground-colour;
- cursor: pointer;
+ enabled: true;
+ spacing: 5px;
+ 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);
+ background-color: var(alternate-background);
+ text-color: var(foreground-alt);
}
element-icon {
- background-color: transparent;
- text-color: inherit;
- size: 10px;
- cursor: inherit;
+ background-color: transparent;
+ text-color: inherit;
+ size: 10px;
+ cursor: inherit;
}
element-text {
- background-color: transparent;
- text-color: inherit;
- highlight: inherit;
- cursor: inherit;
- vertical-align: 0.5;
- horizontal-align: 0.0;
+ background-color: transparent;
+ text-color: inherit;
+ highlight: inherit;
+ cursor: inherit;
+ vertical-align: 0.5;
+ horizontal-align: 0.0;
}
diff --git a/hypr/.config/rofi/clipboard.sh b/hypr/.config/rofi/clipboard.sh
index 73e3849..59ff278 100755
--- a/hypr/.config/rofi/clipboard.sh
+++ b/hypr/.config/rofi/clipboard.sh
@@ -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
diff --git a/hypr/.config/rofi/launcher.rasi b/hypr/.config/rofi/launcher.rasi
index f723c98..47253dc 100644
--- a/hypr/.config/rofi/launcher.rasi
+++ b/hypr/.config/rofi/launcher.rasi
@@ -1,14 +1,14 @@
/*****----- Configuration -----*****/
configuration {
- modi: "drun";
- show-icons: true;
- display-drun: "Apps : ";
- drun-display-format: "{name} [({generic})]";
- window-format: "{w} · {c} · {t}";
+ modi: "drun";
+ show-icons: true;
+ display-drun: "Apps : ";
+ drun-display-format: "{name} [({generic})]";
+ window-format: "{w} · {c} · {t}";
}
/*****----- Global Properties -----*****/
-@import "colors.rasi"
+@import "colors.rasi"
* {
border-colour: var(selected);
diff --git a/hypr/.config/rofi/powermenu.rasi b/hypr/.config/rofi/powermenu.rasi
new file mode 100644
index 0000000..cb01cef
--- /dev/null
+++ b/hypr/.config/rofi/powermenu.rasi
@@ -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;
+}
diff --git a/hypr/.config/rofi/powermenu.sh b/hypr/.config/rofi/powermenu.sh
new file mode 100755
index 0000000..8a15ae4
--- /dev/null
+++ b/hypr/.config/rofi/powermenu.sh
@@ -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
diff --git a/hypr/.config/rofi/wallpaper-launcher.sh b/hypr/.config/rofi/wallpaper-launcher.sh
index 4b57f34..4cd3fdd 100755
--- a/hypr/.config/rofi/wallpaper-launcher.sh
+++ b/hypr/.config/rofi/wallpaper-launcher.sh
@@ -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