Browse Source

Merge pull request #225 from JaKooLit/development

V2.2.9 released
pull/233/head^2 v2.2.9
Ja.KooLit 2 years ago committed by GitHub
parent
commit
41c3de1b08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      README.md
  2. 22
      config/hypr/UserConfigs/WindowRules.conf
  3. 2
      config/hypr/UserScripts/RofiBeats.sh
  4. 2
      config/hypr/UserScripts/WallpaperSelect.sh
  5. 2
      config/hypr/UserScripts/ZshChangeTheme.sh
  6. 30
      config/hypr/hyprlock.conf
  7. 2
      config/hypr/scripts/ClipManager.sh
  8. 2
      config/hypr/scripts/RofiEmoji.sh
  9. 2
      config/hypr/scripts/ScreenShot.sh
  10. 1
      config/hypr/scripts/Sounds.sh
  11. 2
      config/hypr/scripts/Volume.sh
  12. 2
      config/hypr/scripts/WaybarLayout.sh
  13. 2
      config/hypr/scripts/WaybarStyles.sh
  14. 0
      config/hypr/v2.2.9
  15. 2
      config/waybar/style/[Dark] Half-Moon.css

7
README.md

@ -121,3 +121,10 @@ chmod +x upgrade.sh
<a href='https://ko-fi.com/jakoolit' target='_blank'><img height='35' style='border:0px;height:46px;' src='https://az743702.vo.msecnd.net/cdn/kofi3.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /> <a href='https://ko-fi.com/jakoolit' target='_blank'><img height='35' style='border:0px;height:46px;' src='https://az743702.vo.msecnd.net/cdn/kofi3.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' />
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/JaKooLit) [!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/JaKooLit)
## 🥰🥰 💖💖 👍👍👍
[![Stargazers over time](https://starchart.cc/JaKooLit/Hyprland-Dots.svg?variant=adaptive)](https://starchart.cc/JaKooLit/Hyprland-Dots)

22
config/hypr/UserConfigs/WindowRules.conf

@ -13,6 +13,7 @@ windowrule = float, gnome-system-monitor
windowrule = float, yad windowrule = float, yad
windowrule = float, ^(wihotspot-gui)$ # wifi hotspot windowrule = float, ^(wihotspot-gui)$ # wifi hotspot
windowrule = float, ^(evince)$ # document viewer windowrule = float, ^(evince)$ # document viewer
windowrule = float, ^(file-roller)$ # archive manager
#windowrule = noblur,gamescope #windowrule = noblur,gamescope
#windowrule = fullscreen,gamescope #windowrule = fullscreen,gamescope
@ -21,10 +22,10 @@ windowrule = float, ^(evince)$ # document viewer
windowrule = center,^(pavucontrol) windowrule = center,^(pavucontrol)
# windowrule v2 # windowrule v2
windowrulev2 = workspace 1, class:^(thunderbird)$ windowrulev2 = workspace 1, class:^([Tt]hunderbird)$
windowrulev2 = workspace 2, class:^(firefox)$ windowrulev2 = workspace 2, class:^([Ff]irefox)$
windowrulev2 = workspace 2, class:^(org.mozilla.firefox)$ windowrulev2 = workspace 2, class:^(org.mozilla.firefox)$
windowrulev2 = workspace 2, class:^(Firefox-esr)$ windowrulev2 = workspace 2, class:^([Ff]irefox-esr)$
windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$ windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$
windowrulev2 = workspace 3, class:^([Tt]hunar)$ windowrulev2 = workspace 3, class:^([Tt]hunar)$
windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$ windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$
@ -39,12 +40,14 @@ windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$
windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser)$ windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser)$
windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser-dev)$ windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser-dev)$
windowrulev2 = opacity 0.9 0.7, class:^(firefox)$ windowrulev2 = opacity 0.9 0.7, class:^([Ff]irefox)$
windowrulev2 = opacity 0.9 0.7, class:^(org.mozilla.firefox)$ windowrulev2 = opacity 0.9 0.7, class:^(org.mozilla.firefox)$
windowrulev2 = opacity 0.9 0.7, class:^(Firefox-esr)$ windowrulev2 = opacity 0.9 0.7, class:^([Ff]irefox-esr)$
windowrulev2 = opacity 0.9 0.8, class:^([Tt]hunar)$ windowrulev2 = opacity 0.9 0.8, class:^([Tt]hunar)$
windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$
windowrulev2 = opacity 0.9 0.7, class:^(gedit)$ windowrulev2 = opacity 0.9 0.7, class:^(gedit)$
windowrulev2 = opacity 0.9 0.8, class:^(deluge)$
windowrulev2 = opacity 0.9 0.8, class:^(Alacritty)$
windowrulev2 = opacity 0.9 0.8, class:^(kitty)$ windowrulev2 = opacity 0.9 0.8, class:^(kitty)$
windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$ windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$
windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$ windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$
@ -53,14 +56,19 @@ windowrulev2 = opacity 0.9 0.7, class:^(yad)$
windowrulev2 = opacity 0.9 0.7, class:^(com.obsproject.Studio)$ windowrulev2 = opacity 0.9 0.7, class:^(com.obsproject.Studio)$
windowrulev2 = opacity 0.9 0.7, class:^([Aa]udacious)$ windowrulev2 = opacity 0.9 0.7, class:^([Aa]udacious)$
windowrulev2 = opacity 0.9 0.8, class:^(google-chrome)$ windowrulev2 = opacity 0.9 0.8, class:^(google-chrome)$
windowrulev2 = opacity 0.9 0.8, class:^(google-chrome-beta)$
windowrulev2 = opacity 0.9 0.8, class:^(google-chrome-dev)$
windowrulev2 = opacity 0.9 0.8, class:^(google-chrome-unstable)$
windowrulev2 = opacity 0.94 0.86, class:^(chrome-.+-Default)$ # Chrome PWAs windowrulev2 = opacity 0.94 0.86, class:^(chrome-.+-Default)$ # Chrome PWAs
windowrulev2 = opacity 0.9 0.8, class:^(org.gnome.Nautilus)$ windowrulev2 = opacity 0.9 0.8, class:^(org.gnome.Nautilus)$
windowrulev2 = opacity 0.9 0.8, class:^(code-url-handler)$ windowrulev2 = opacity 0.9 0.8, class:^(code-url-handler)$
windowrulev2 = opacity 0.9 0.8, class:^(VSCode)$ windowrulev2 = opacity 0.9 0.8, class:^(VSCode)$
windowrulev2 = opacity 0.9 0.8, class:^(jetbrains-studio)$ # Android Studio
windowrulev2 = opacity 0.94 0.86, class:^(discord)$ windowrulev2 = opacity 0.94 0.86, class:^(discord)$
windowrulev2 = opacity 0.9 0.8, class:^(org.telegram.desktop)$
windowrulev2 = opacity 0.94 0.86, class:^(gnome-disks)$ windowrulev2 = opacity 0.94 0.86, class:^(gnome-disks)$
windowrulev2 = opacity 0.9 0.8, class:^(org.gnome.baobab)$ windowrulev2 = opacity 0.9 0.8, class:^(org.gnome.baobab)$
windowrulev2 = opacity 0.9 0.8, class:^(seahorse)$ # gnome-keyring gui
#layerrule = unset,class:^([Rr]ofi)$ #layerrule = unset,class:^([Rr]ofi)$
#layerrule = blur,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$
@ -81,4 +89,4 @@ windowrulev2=float, title:^(Picture-in-Picture)$
windowrulev2=size 25% 25%,title:^(Picture-in-Picture)$ windowrulev2=size 25% 25%,title:^(Picture-in-Picture)$
#windowrulev2=size 25% 25%,title:^(Firefox)$ #windowrulev2=size 25% 25%,title:^(Firefox)$
windowrulev2=move 72% 7%,title:^(Picture-in-Picture)$ windowrulev2=move 72% 7%,title:^(Picture-in-Picture)$
#windowrulev2=move 72% 7%,title:^(Firefox)$ #windowrulev2=move 72% 7%,title:^(Firefox)$

2
config/hypr/UserScripts/RofiBeats.sh

@ -28,7 +28,7 @@ notification() {
# Main function # Main function
main() { main() {
choice=$(printf "%s\n" "${!menu_options[@]}" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi -i -p "") choice=$(printf "%s\n" "${!menu_options[@]}" | rofi -i -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi -p "")
if [ -z "$choice" ]; then if [ -z "$choice" ]; then
exit 1 exit 1

2
config/hypr/UserScripts/WallpaperSelect.sh

@ -25,7 +25,7 @@ RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}"
RANDOM_PIC_NAME="${#PICS[@]}. random" RANDOM_PIC_NAME="${#PICS[@]}. random"
# Rofi command # Rofi command
rofi_command="rofi -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi" rofi_command="rofi -i -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi"
menu() { menu() {
for i in "${!PICS[@]}"; do for i in "${!PICS[@]}"; do

2
config/hypr/UserScripts/ZshChangeTheme.sh

@ -5,7 +5,7 @@ file_extension=".zsh-theme"
themes_array=($(find "$themes_dir" -type f -name "*$file_extension" -exec basename {} \; | sed -e "s/$file_extension//")) themes_array=($(find "$themes_dir" -type f -name "*$file_extension" -exec basename {} \; | sed -e "s/$file_extension//"))
rofi_command="rofi -dmenu -config ~/.config/rofi/config-zsh-theme.rasi" rofi_command="rofi -i -dmenu -config ~/.config/rofi/config-zsh-theme.rasi"
menu() { menu() {
for theme in "${themes_array[@]}"; do for theme in "${themes_array[@]}"; do

30
config/hypr/hyprlock.conf

@ -4,18 +4,14 @@
source = $HOME/.cache/wal/colors-hyprland source = $HOME/.cache/wal/colors-hyprland
# wallpaper and picture variables # supports png, jpg, webp (no animations, though)
$wallpaper = $HOME/.config/rofi/.current_wallpaper
$picture = $HOME/.config/rofi/.current_wallpaper
general { general {
grace = 0.5 grace = 1
} }
background { background {
monitor = monitor =
path = screenshot # screenshot of your desktop path = screenshot # screenshot of your desktop
#path = $wallpaper # set the picture path above # path = $HOME/.config/rofi/.current_wallpaper # NOTE only png supported for now
color = $color7 color = $color7
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
@ -42,7 +38,7 @@ input-field {
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty. placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
hide_input = false hide_input = false
position = 0, 100 position = 0, 200
halign = center halign = center
valign = bottom valign = bottom
} }
@ -68,7 +64,7 @@ label {
font_size = 24 font_size = 24
font_family = JetBrains Mono Nerd Font 10 font_family = JetBrains Mono Nerd Font 10
position = 0, -225 position = 0, -250
halign = center halign = center
valign = top valign = top
} }
@ -79,10 +75,10 @@ label {
# text = cmd[update:1000] echo "<b><big> $(date +"%I:%M:%S %p") </big></b>" # AM/PM # text = cmd[update:1000] echo "<b><big> $(date +"%I:%M:%S %p") </big></b>" # AM/PM
text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H
color = $color7 color = $color7
font_size = 90 font_size = 94
font_family = JetBrains Mono Nerd Font 10 font_family = JetBrains Mono Nerd Font 10
position = 0, -150 position = 0, 0
halign = center halign = center
valign = center valign = center
} }
@ -91,10 +87,10 @@ label {
monitor = monitor =
text = $USER text = $USER
color = $color7 color = $color7
font_size = 24 font_size = 18
font_family = Inter Display Medium font_family = Inter Display Medium
position = 0, 200 position = 0, 100
halign = center halign = center
valign = bottom valign = bottom
} }
@ -123,14 +119,14 @@ label {
image { image {
monitor = monitor =
path = $picture # set the picture path above path = $HOME/.config/rofi/.current_wallpaper
size = 230 size = 230
rounding = -2 rounding = -1
border_size = 1 border_size = 4
border_color = $color12 border_color = $color12
rotate = 0 rotate = 0
reload_time = -1 reload_time = -1
position = 0, 200 position = 0, 300
halign = center halign = center
valign = center valign = bottom
} }

2
config/hypr/scripts/ClipManager.sh

@ -8,7 +8,7 @@
while true; do while true; do
result=$( result=$(
rofi -dmenu \ rofi -i -dmenu \
-kb-custom-1 "Control-Delete" \ -kb-custom-1 "Control-Delete" \
-kb-custom-2 "Alt-Delete" \ -kb-custom-2 "Alt-Delete" \
-config ~/.config/rofi/config-clipboard.rasi < <(cliphist list) -config ~/.config/rofi/config-clipboard.rasi < <(cliphist list)

2
config/hypr/scripts/RofiEmoji.sh

@ -3,7 +3,7 @@
# Rofi Emoticons. Not my own. Cant remember the source # Rofi Emoticons. Not my own. Cant remember the source
sed '1,/^# # DATA # #$/d' $0 | sed '1,/^# # DATA # #$/d' $0 |
rofi -dmenu -config ~/.config/rofi/config-long.rasi| rofi -i -dmenu -config ~/.config/rofi/config-long.rasi|
cut -d ' ' -f 1 | tr -d '\n' | wl-copy cut -d ' ' -f 1 | tr -d '\n' | wl-copy
exit exit

2
config/hypr/scripts/ScreenShot.sh

@ -3,7 +3,7 @@
# Screenshots scripts # Screenshots scripts
iDIR="$HOME/.config/swaync/icons" iDIR="$HOME/.config/swaync/icons"
sDIR="$HOME/.config/hypr/UserScripts" sDIR="$HOME/.config/hypr/scripts"
notify_cmd_shot="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png" notify_cmd_shot="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png"
time=$(date "+%d-%b_%H-%M-%S") time=$(date "+%d-%b_%H-%M-%S")

1
config/hypr/UserScripts/Sounds.sh → config/hypr/scripts/Sounds.sh

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# This script is used to play system sounds. # This script is used to play system sounds.
# Script is used by Volume.Sh and ScreenShots.sh
theme="freedesktop" # Set the theme for the system sounds. theme="freedesktop" # Set the theme for the system sounds.
mute=false # Set to true to mute the system sounds. mute=false # Set to true to mute the system sounds.

2
config/hypr/scripts/Volume.sh

@ -3,7 +3,7 @@
# Scripts for volume controls for audio and mic # Scripts for volume controls for audio and mic
iDIR="$HOME/.config/swaync/icons" iDIR="$HOME/.config/swaync/icons"
sDIR="$HOME/.config/hypr/UserScripts" sDIR="$HOME/.config/hypr/scripts"
# Get Volume # Get Volume
get_volume() { get_volume() {

2
config/hypr/scripts/WaybarLayout.sh

@ -38,7 +38,7 @@ restart_waybar_if_needed() {
# Main function # Main function
main() { main() {
choice=$(menu | rofi -dmenu -config "$rofi_config") choice=$(menu | rofi -i -dmenu -config "$rofi_config")
if [[ -z "$choice" ]]; then if [[ -z "$choice" ]]; then
echo "No option selected. Exiting." echo "No option selected. Exiting."

2
config/hypr/scripts/WaybarStyles.sh

@ -40,7 +40,7 @@ restart_waybar_if_needed() {
# Main function # Main function
main() { main() {
choice=$(menu | rofi -dmenu -config "$rofi_config") choice=$(menu | rofi -i -dmenu -config "$rofi_config")
if [[ -z "$choice" ]]; then if [[ -z "$choice" ]]; then
echo "No option selected. Exiting." echo "No option selected. Exiting."

0
config/hypr/v2.2.8 → config/hypr/v2.2.9

2
config/waybar/style/[Dark] Half-Moon.css

@ -6,7 +6,7 @@
* { * {
font-size: 97%; font-size: 97%;
font-family: JetBrainsMono Nerd Font, Font Awesome, sans-serif; font-family: "JetBrainsMono Nerd Font", "Font Awesome", sans-serif;
font-weight: bold; font-weight: bold;
} }

Loading…
Cancel
Save