Browse Source

Merge pull request #45 from JaKooLit/v2.1.12

V2.1.12 preliminary v2.1.12 changes
pull/46/head^2
Ja.KooLit 2 years ago committed by GitHub
parent
commit
592ce20270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md
  2. 2
      config/hypr/configs/Keybinds.conf
  3. 11
      config/hypr/scripts/Wallpaper.sh
  4. 2
      config/hypr/scripts/WallpaperRandom.sh
  5. 0
      config/hypr/v2.1.12
  6. 26
      config/rofi/config-powermenu.rasi
  7. 26
      config/rofi/resolution/1080p/config-powermenu.rasi
  8. 26
      config/rofi/resolution/1440p/config-powermenu.rasi
  9. 2
      config/waybar/configs/Simple-L [TOP]
  10. 2
      config/waybar/modules
  11. 2
      config/waybar/style/Chroma Tally.css
  12. 4
      copy.sh

2
README.md

@ -76,7 +76,7 @@ chmod +x release.sh
### 🙋 QUESTIONS ?!?! ⁉ ### 🙋 QUESTIONS ?!?! ⁉
- FAQ! Yes you can use these dotfiles to other distro! Just ensure to install proper packages first! If it makes you feel better, I use same config on my Gentoo and NixOS :) - FAQ! Yes you can use these dotfiles to other distro! Just ensure to install proper packages first! If it makes you feel better, I use same config on my Gentoo and NixOS :)
- QUICK HINT! Click the HINT! Waybar module (note only available in default layout). Can be launched by Keybind SUPER H - QUICK HINT! Click the HINT! Waybar module (note only available in Waybar default and Simple-L [TOP] layout). Can be launched by Keybind SUPER H
- More question? click here [WIKI](https://github.com/JaKooLit/Hyprland-Dots/wiki/) - More question? click here [WIKI](https://github.com/JaKooLit/Hyprland-Dots/wiki/)
### 🙏 Special request ### 🙏 Special request

2
config/hypr/configs/Keybinds.conf

@ -38,7 +38,7 @@ bind = $mainMod, E, exec, $scriptsDir/QuickEdit.sh
bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar
bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh
bind = CTRL SHIFT, W, exec, $scriptsDir/Refresh.sh bind = CTRL SHIFT, W, exec, $scriptsDir/Refresh.sh
bind = CTRL ALT, W, exec, $scriptsDir/Wallpaper.sh swww bind = CTRL ALT, W, exec, $scriptsDir/Wallpaper.sh
bind = CTRL, W, exec, $scriptsDir/WaybarStyles.sh bind = CTRL, W, exec, $scriptsDir/WaybarStyles.sh
bind = $mainMod, W, exec, $scriptsDir/WallpaperSelect.sh bind = $mainMod, W, exec, $scriptsDir/WallpaperSelect.sh
bind = ALT, W, exec, $scriptsDir/WaybarLayout.sh bind = ALT, W, exec, $scriptsDir/WaybarLayout.sh

11
config/hypr/scripts/Wallpaper.sh

@ -6,11 +6,18 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts"
PICS=($(find ${DIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \))) PICS=($(find ${DIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \)))
RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]}
swww query || swww init
swww img ${RANDOMPICS} --transition-fps 30 --transition-type any --transition-duration 3
# Transition config
FPS=30
TYPE="any"
DURATION=3
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS
${SCRIPTSDIR}/PywalSwww.sh & ${SCRIPTSDIR}/PywalSwww.sh &
sleep 1 sleep 1
${SCRIPTSDIR}/Refresh.sh ${SCRIPTSDIR}/Refresh.sh

2
config/hypr/scripts/WallpaperRandom.sh

@ -29,7 +29,7 @@ while true; do
done \ done \
| sort -n | cut -d':' -f2- \ | sort -n | cut -d':' -f2- \
| while read -r img; do | while read -r img; do
swww img "$img" & $pywal_script & $pywal_refresh swww img "$img" && $pywal_script & $pywal_refresh
sleep $INTERVAL sleep $INTERVAL
done done

0
config/hypr/v2.1.11 → config/hypr/v2.1.12

26
config/rofi/config-powermenu.rasi

@ -10,16 +10,16 @@ configuration {
/* ---- Global Properties ---- */ /* ---- Global Properties ---- */
* { * {
font: "Fira Code Medium 12"; font: "Fira Code Medium 10";
} }
/* ---- Main Window ---- */ /* ---- Main Window ---- */
window { window {
location: center; location: east;
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
width: 900px; width: 240px;
height: 400px; /*height: 800px;*/
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
padding: 0px; padding: 0px;
@ -38,7 +38,7 @@ mainbox {
padding: 0px; padding: 0px;
border: 0px solid; border: 0px solid;
border-radius: 0px; border-radius: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", width); background-image: url("~/.config/rofi/.current_wallpaper", height);
border-color: @active-background; border-color: @active-background;
background-color: @background-color; background-color: @background-color;
children: [ "inputbar", "listview", "message" ]; children: [ "inputbar", "listview", "message" ];
@ -47,7 +47,7 @@ mainbox {
/* ---- Inputbar ---- */ /* ---- Inputbar ---- */
inputbar { inputbar {
enabled: true; enabled: true;
padding: 20px; padding: 10px;
background-color: transparent; background-color: transparent;
orientation: horizontal; orientation: horizontal;
children: ["prompt"]; children: ["prompt"];
@ -55,7 +55,7 @@ inputbar {
prompt { prompt {
enabled: true; enabled: true;
padding: 10px; /*padding: 10px;*/
border-radius: 15px; border-radius: 15px;
border-color: @foreground; border-color: @foreground;
background-color: @background-color; background-color: @background-color;
@ -67,8 +67,8 @@ prompt {
/* ---- Listview ---- */ /* ---- Listview ---- */
listview { listview {
enabled: true; enabled: true;
columns: 3; columns: 1;
lines: 2; lines: 6;
cycle: true; cycle: true;
dynamic: true; dynamic: true;
scrollbar: false; scrollbar: false;
@ -76,8 +76,8 @@ listview {
reverse: false; reverse: false;
fixed-height: false; fixed-height: false;
fixed-columns: true; fixed-columns: true;
spacing: 40px; spacing: 20px;
padding: 4% 40px; padding: 20px;
background-color: transparent; background-color: transparent;
cursor: "default"; cursor: "default";
border: 0px; border: 0px;
@ -87,14 +87,14 @@ listview {
/* ---- Elements ---- */ /* ---- Elements ---- */
element { element {
enabled: true; enabled: true;
padding: 20px; padding: 10px;
border-radius: 30px; border-radius: 30px;
background-color: transparent; background-color: transparent;
text-color: @foreground; text-color: @foreground;
cursor: pointer; cursor: pointer;
} }
element-text { element-text {
font: "Fira Code SemiBold 16"; font: "Fira Code SemiBold 14";
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: inherit; cursor: inherit;

26
config/rofi/resolution/1080p/config-powermenu.rasi

@ -10,16 +10,16 @@ configuration {
/* ---- Global Properties ---- */ /* ---- Global Properties ---- */
* { * {
font: "Fira Code Medium 12"; font: "Fira Code Medium 10";
} }
/* ---- Main Window ---- */ /* ---- Main Window ---- */
window { window {
location: center; location: east;
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
width: 900px; width: 240px;
height: 400px; /*height: 800px;*/
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
padding: 0px; padding: 0px;
@ -38,7 +38,7 @@ mainbox {
padding: 0px; padding: 0px;
border: 0px solid; border: 0px solid;
border-radius: 0px; border-radius: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", width); background-image: url("~/.config/rofi/.current_wallpaper", height);
border-color: @active-background; border-color: @active-background;
background-color: @background-color; background-color: @background-color;
children: [ "inputbar", "listview", "message" ]; children: [ "inputbar", "listview", "message" ];
@ -47,7 +47,7 @@ mainbox {
/* ---- Inputbar ---- */ /* ---- Inputbar ---- */
inputbar { inputbar {
enabled: true; enabled: true;
padding: 20px; padding: 10px;
background-color: transparent; background-color: transparent;
orientation: horizontal; orientation: horizontal;
children: ["prompt"]; children: ["prompt"];
@ -55,7 +55,7 @@ inputbar {
prompt { prompt {
enabled: true; enabled: true;
padding: 10px; /*padding: 10px;*/
border-radius: 15px; border-radius: 15px;
border-color: @foreground; border-color: @foreground;
background-color: @background-color; background-color: @background-color;
@ -67,8 +67,8 @@ prompt {
/* ---- Listview ---- */ /* ---- Listview ---- */
listview { listview {
enabled: true; enabled: true;
columns: 3; columns: 1;
lines: 2; lines: 6;
cycle: true; cycle: true;
dynamic: true; dynamic: true;
scrollbar: false; scrollbar: false;
@ -76,8 +76,8 @@ listview {
reverse: false; reverse: false;
fixed-height: false; fixed-height: false;
fixed-columns: true; fixed-columns: true;
spacing: 40px; spacing: 20px;
padding: 4% 40px; padding: 20px;
background-color: transparent; background-color: transparent;
cursor: "default"; cursor: "default";
border: 0px; border: 0px;
@ -87,14 +87,14 @@ listview {
/* ---- Elements ---- */ /* ---- Elements ---- */
element { element {
enabled: true; enabled: true;
padding: 20px; padding: 10px;
border-radius: 30px; border-radius: 30px;
background-color: transparent; background-color: transparent;
text-color: @foreground; text-color: @foreground;
cursor: pointer; cursor: pointer;
} }
element-text { element-text {
font: "Fira Code SemiBold 16"; font: "Fira Code SemiBold 14";
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: inherit; cursor: inherit;

26
config/rofi/resolution/1440p/config-powermenu.rasi

@ -10,16 +10,16 @@ configuration {
/* ---- Global Properties ---- */ /* ---- Global Properties ---- */
* { * {
font: "Fira Code Medium 12"; font: "Fira Code Medium 10";
} }
/* ---- Main Window ---- */ /* ---- Main Window ---- */
window { window {
location: center; location: east;
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
width: 900px; width: 240px;
height: 400px; /*height: 800px;*/
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
padding: 0px; padding: 0px;
@ -38,7 +38,7 @@ mainbox {
padding: 0px; padding: 0px;
border: 0px solid; border: 0px solid;
border-radius: 0px; border-radius: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", width); background-image: url("~/.config/rofi/.current_wallpaper", height);
border-color: @active-background; border-color: @active-background;
background-color: @background-color; background-color: @background-color;
children: [ "inputbar", "listview", "message" ]; children: [ "inputbar", "listview", "message" ];
@ -47,7 +47,7 @@ mainbox {
/* ---- Inputbar ---- */ /* ---- Inputbar ---- */
inputbar { inputbar {
enabled: true; enabled: true;
padding: 20px; padding: 10px;
background-color: transparent; background-color: transparent;
orientation: horizontal; orientation: horizontal;
children: ["prompt"]; children: ["prompt"];
@ -55,7 +55,7 @@ inputbar {
prompt { prompt {
enabled: true; enabled: true;
padding: 10px; /*padding: 10px;*/
border-radius: 15px; border-radius: 15px;
border-color: @foreground; border-color: @foreground;
background-color: @background-color; background-color: @background-color;
@ -67,8 +67,8 @@ prompt {
/* ---- Listview ---- */ /* ---- Listview ---- */
listview { listview {
enabled: true; enabled: true;
columns: 3; columns: 1;
lines: 2; lines: 6;
cycle: true; cycle: true;
dynamic: true; dynamic: true;
scrollbar: false; scrollbar: false;
@ -76,8 +76,8 @@ listview {
reverse: false; reverse: false;
fixed-height: false; fixed-height: false;
fixed-columns: true; fixed-columns: true;
spacing: 40px; spacing: 20px;
padding: 4% 40px; padding: 20px;
background-color: transparent; background-color: transparent;
cursor: "default"; cursor: "default";
border: 0px; border: 0px;
@ -87,14 +87,14 @@ listview {
/* ---- Elements ---- */ /* ---- Elements ---- */
element { element {
enabled: true; enabled: true;
padding: 20px; padding: 10px;
border-radius: 30px; border-radius: 30px;
background-color: transparent; background-color: transparent;
text-color: @foreground; text-color: @foreground;
cursor: pointer; cursor: pointer;
} }
element-text { element-text {
font: "Fira Code SemiBold 16"; font: "Fira Code SemiBold 14";
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: inherit; cursor: inherit;

2
config/waybar/configs/Simple-L [TOP]

@ -18,6 +18,8 @@
"modules-left": [ "modules-left": [
"custom/menu", "custom/menu",
"custom/separator#blank_2",
"custom/keybinds",
"custom/separator#blank_2", "custom/separator#blank_2",
"hyprland/workspaces#pacman", "hyprland/workspaces#pacman",
"custom/separator#blank_2", "custom/separator#blank_2",

2
config/waybar/modules

@ -473,7 +473,7 @@
}, },
"custom/menu": { "custom/menu": {
"format": "", "format": "",
"tooltip": false, "tooltip": false,
"on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser", "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser",
"on-click-middle": "~/.config/hypr/scripts/WallpaperSelect.sh", "on-click-middle": "~/.config/hypr/scripts/WallpaperSelect.sh",

2
config/waybar/style/Chroma Tally.css

@ -189,7 +189,7 @@ window#waybar {
} }
#custom-menu { #custom-menu {
color: @color2; color: yellow;
} }
#custom-power{ #custom-power{
color: #eba0ac; color: #eba0ac;

4
copy.sh

@ -175,8 +175,8 @@ cp -r wallpapers ~/Pictures/ && { echo "${OK}Copy completed!"; } || { echo "${ER
# Initial Symlinks to avoid errors # Initial Symlinks to avoid errors
# symlinks for waybar # symlinks for waybar
ln -sf "$HOME/.config/waybar/configs/Default [TOP]" "$HOME/.config/waybar/config" && \ ln -sf "$HOME/.config/waybar/configs/Simple-L [TOP]" "$HOME/.config/waybar/config" && \
ln -sf "$HOME/.config/waybar/style/Pywal.css" "$HOME/.config/waybar/style.css" && \ ln -sf "$HOME/.config/waybar/style/Chroma Tally.css" "$HOME/.config/waybar/style.css" && \
# Set some files as executable # Set some files as executable

Loading…
Cancel
Save