From f019c0f15946484e656acbf78943f672b20f96d4 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 1 May 2024 13:12:26 +0900 Subject: Bump to v2.2.10. pywal-nvidia fix. thanks to @Dreded --- config/hypr/initial-boot.sh | 2 +- config/hypr/scripts/PywalSwww.sh | 2 +- config/hypr/v2.2.10 | 5 +++++ config/hypr/v2.2.9 | 5 ----- 4 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 config/hypr/v2.2.10 delete mode 100644 config/hypr/v2.2.9 (limited to 'config/hypr') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index b6c57f3e..71f7a563 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -19,7 +19,7 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then # Initialize pywal and wallpaper if [ -f "$wallpaper" ]; then - wal -i $wallpaper -s -t > /dev/null + wal -i $wallpaper -s -t -n -e > /dev/null swww query || swww-daemon && $swww $wallpaper $effect "$scriptsDir/PywalSwww.sh" > /dev/null 2>&1 & fi diff --git a/config/hypr/scripts/PywalSwww.sh b/config/hypr/scripts/PywalSwww.sh index fe067611..30a4d980 100755 --- a/config/hypr/scripts/PywalSwww.sh +++ b/config/hypr/scripts/PywalSwww.sh @@ -34,5 +34,5 @@ if [ "$ln_success" = true ]; then # wal -i "$wallpaper_path" echo 'about to execute wal' # execute pywal skipping tty and terminal changes - wal -i "$wallpaper_path" -s -t & + wal -i "$wallpaper_path" -s -t -n -e & fi diff --git a/config/hypr/v2.2.10 b/config/hypr/v2.2.10 new file mode 100644 index 00000000..31b3414d --- /dev/null +++ b/config/hypr/v2.2.10 @@ -0,0 +1,5 @@ +### https://github.com/JaKooLit ### +## https://github.com/JaKooLit/Hyprland-Dots +## This is to have a reference of which version would be + +## note that this will always be higher than the released versions \ No newline at end of file diff --git a/config/hypr/v2.2.9 b/config/hypr/v2.2.9 deleted file mode 100644 index 31b3414d..00000000 --- a/config/hypr/v2.2.9 +++ /dev/null @@ -1,5 +0,0 @@ -### https://github.com/JaKooLit ### -## https://github.com/JaKooLit/Hyprland-Dots -## This is to have a reference of which version would be - -## note that this will always be higher than the released versions \ No newline at end of file -- cgit v1.2.3 From 5b97602584a1caf41439f8cfc9e6a762eec51b4c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 1 May 2024 13:18:03 +0900 Subject: updated windowsrules v2 --- config/hypr/UserConfigs/WindowRules.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 720ddf02..489d39e1 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -14,7 +14,6 @@ windowrule = float, yad windowrule = float, ^(wihotspot-gui)$ # wifi hotspot windowrule = float, ^(evince)$ # document viewer windowrule = float, ^(file-roller)$ # archive manager - #windowrule = noblur,gamescope #windowrule = fullscreen,gamescope #windowrule = workspace 6 silent,^(gamescope)$ @@ -36,6 +35,10 @@ windowrulev2 = workspace 7 silent, class:^(discord)$ windowrulev2 = workspace 7 silent, class:^(WebCord)$ windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ +# windowrule v2 - float +windowrulev2 = float, class:([Tt]hunar), title:(File Operation Progress) +windowrulev2 = float, class:([Tt]hunar), title:(Confirm to replace files) + #opacity (transparent) #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser)$ -- cgit v1.2.3 From 8f2585948c93dc2ae99dbc17349d73367926fb30 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 1 May 2024 16:18:57 +0900 Subject: updated initial boot.sh setting of wallpaper was not working --- config/hypr/initial-boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 71f7a563..b6c57f3e 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -19,7 +19,7 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then # Initialize pywal and wallpaper if [ -f "$wallpaper" ]; then - wal -i $wallpaper -s -t -n -e > /dev/null + wal -i $wallpaper -s -t > /dev/null swww query || swww-daemon && $swww $wallpaper $effect "$scriptsDir/PywalSwww.sh" > /dev/null 2>&1 & fi -- cgit v1.2.3 From 1af3f2cd9bddf55df8051cd9f1a15c997e7ffd24 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Wed, 1 May 2024 23:51:05 +0900 Subject: added some float windowrules --- config/hypr/UserConfigs/WindowRules.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 489d39e1..04b957d2 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -38,6 +38,8 @@ windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ # windowrule v2 - float windowrulev2 = float, class:([Tt]hunar), title:(File Operation Progress) windowrulev2 = float, class:([Tt]hunar), title:(Confirm to replace files) +windowrulev2 = float, class:(xdg-desktop-portal-gtk) +windowrulev2 = float, class:(org.gnome.Calculator), title:(Calculator) #opacity (transparent) #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ -- cgit v1.2.3 From 371976a4cfbe70ea871e8d32051dcfa5a5569faf Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Thu, 2 May 2024 09:47:40 +0900 Subject: added Windowrules.Conf - to assign workspace rules, ie, assigning specific workspace into a certain monitors --- config/hypr/UserConfigs/WorkspaceRules.conf | 20 ++++++++++++++++++++ config/hypr/UserScripts/QuickEdit.sh | 10 +++++++--- config/hypr/hyprland.conf | 3 ++- config/rofi/config-compact.rasi | 2 +- config/rofi/resolution/1080p/config-compact.rasi | 2 +- config/rofi/resolution/1440p/config-compact.rasi | 4 ++-- 6 files changed, 33 insertions(+), 8 deletions(-) create mode 100644 config/hypr/UserConfigs/WorkspaceRules.conf (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WorkspaceRules.conf b/config/hypr/UserConfigs/WorkspaceRules.conf new file mode 100644 index 00000000..8e98244a --- /dev/null +++ b/config/hypr/UserConfigs/WorkspaceRules.conf @@ -0,0 +1,20 @@ +# /* ---- šŸ’« https://github.com/JaKooLit šŸ’« ---- */ # + +# You can set workspace rules to achieve workspace-specific behaviors. +# For instance, you can define a workspace where all windows are drawn without borders or gaps. + +# https://wiki.hyprland.org/Configuring/Workspace-Rules/ + +# Assigning workspace to a certain monitor +# workspace = 1, monitor:eDP-1 +# workspace = 2, monitor:DP-2 + + +# example rules (from wiki) +# workspace = 3, rounding:false, decorate:false +# workspace = name:coding, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false, decorate:false, monitor:DP-1 +# workspace = 8,bordersize:8 +# workspace = name:Hello, monitor:DP-1, default:true +# workspace = name:gaming, monitor:desc:Chimei Innolux Corporation 0x150C, default:true +# workspace = 5, on-created-empty:[float] firefox +# workspace = special:scratchpad, on-created-empty:foot \ No newline at end of file diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh index 658d7b03..af5c65d2 100755 --- a/config/hypr/UserScripts/QuickEdit.sh +++ b/config/hypr/UserScripts/QuickEdit.sh @@ -12,8 +12,9 @@ menu(){ printf "5. view Monitors\n" printf "6. view Laptop-Keybinds\n" printf "7. view User-Settings\n" - printf "8. view Default-Settings\n" - printf "9. view Default-Keybinds\n" + printf "8. view Workspace-Rules\n" + printf "9. view Default-Settings\n" + printf "10. view Default-Keybinds\n" } main() { @@ -41,9 +42,12 @@ main() { kitty -e nano "$UserConfigs/UserSettings.conf" ;; 8) + kitty -e nano "$UserConfigs/WorkspaceRules.conf" + ;; + 9) kitty -e nano "$configs/Settings.conf" ;; - 9) + 10) kitty -e nano "$configs/Keybinds.conf" ;; *) diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 343b887b..a8ae26f4 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -16,4 +16,5 @@ source= $UserConfigs/Laptops.conf source= $UserConfigs/LaptopDisplay.conf source= $UserConfigs/WindowRules.conf source= $UserConfigs/UserKeybinds.conf -source= $UserConfigs/UserSettings.conf \ No newline at end of file +source= $UserConfigs/UserSettings.conf +source= $UserConfigs/WorkspaceRules.conf \ No newline at end of file diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index 2d68a6d0..9cc7b03d 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -110,7 +110,7 @@ entry { listview { enabled: true; columns: 1; - lines: 7; + lines: 10; spacing: 4px; dynamic: true; cycle: true; diff --git a/config/rofi/resolution/1080p/config-compact.rasi b/config/rofi/resolution/1080p/config-compact.rasi index 2d68a6d0..9cc7b03d 100644 --- a/config/rofi/resolution/1080p/config-compact.rasi +++ b/config/rofi/resolution/1080p/config-compact.rasi @@ -110,7 +110,7 @@ entry { listview { enabled: true; columns: 1; - lines: 7; + lines: 10; spacing: 4px; dynamic: true; cycle: true; diff --git a/config/rofi/resolution/1440p/config-compact.rasi b/config/rofi/resolution/1440p/config-compact.rasi index 825fff62..01ad4562 100644 --- a/config/rofi/resolution/1440p/config-compact.rasi +++ b/config/rofi/resolution/1440p/config-compact.rasi @@ -39,7 +39,7 @@ window { enabled: true; border-radius: 15px; border-radius: 15px; - background-image: url("~/.config/rofi/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Mainbox ---- */ @@ -110,7 +110,7 @@ entry { listview { enabled: true; columns: 1; - lines: 7; + lines: 10; spacing: 4px; dynamic: true; cycle: true; -- cgit v1.2.3 From 5fea4dbed231e252ef976bd0775ead047451251b Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Thu, 2 May 2024 13:14:40 +0900 Subject: updated windowsrules.conf --- config/hypr/UserConfigs/WindowRules.conf | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 04b957d2..38d41222 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -48,6 +48,14 @@ windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser-dev)$ 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:^([Ff]irefox-esr)$ +windowrulev2 = opacity 0.9 0.7, class:^([Mm]icrosoft-edge-stable)$ +windowrulev2 = opacity 0.9 0.7, class:^([Mm]icrosoft-edge-beta)$ +windowrulev2 = opacity 0.9 0.7, class:^([Mm]icrosoft-edge-dev)$ +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.9 0.8, class:^([Tt]hunar)$ windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ windowrulev2 = opacity 0.9 0.7, class:^(gedit)$ @@ -60,11 +68,6 @@ windowrulev2 = opacity 0.9 0.7, class:^(VSCodium)$ 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:^([Aa]udacious)$ -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.9 0.8, class:^(org.gnome.Nautilus)$ windowrulev2 = opacity 0.9 0.8, class:^(code-url-handler)$ windowrulev2 = opacity 0.9 0.8, class:^(VSCode)$ @@ -75,6 +78,7 @@ 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:^(seahorse)$ # gnome-keyring gui + #layerrule = unset,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$ #layerrule = ignorezero, -- cgit v1.2.3 From ac3adfa67be136361b75c92c99dc5da849d43aa9 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Thu, 2 May 2024 13:44:20 +0530 Subject: add pyprland: with dropterm and magnify enabled --- config/hypr/UserConfigs/Startup_Apps.conf | 3 +++ config/hypr/UserConfigs/UserKeybinds.conf | 4 ++++ config/hypr/pyprland.toml | 12 ++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 config/hypr/pyprland.toml (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index 86e40ba9..2dce6055 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/UserConfigs/Startup_Apps.conf @@ -37,6 +37,9 @@ exec-once = $UserScripts/RainbowBorders.sh # Starting hypridle to start hyprlock exec-once = hypridle +# Start pyprland daemon +exec-once = pypr + # Here are list of features available but disabled by default # exec-once = swww query || swww-daemon --format xrgb && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 41b61456..92985ec2 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -18,6 +18,10 @@ bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,r bind = $mainMod, Return, exec, $term # Launch terminal bind = $mainMod, T, exec, $files +# pyprland +bind = $mainMod, A, exec, pypr toggle term # Dropdown terminal +bind = $mainMod, Z, exec, pypr zoom # Toggle Zoom + # User Added Keybinds bind = $mainMod SHIFT, O, exec, $UserScripts/ZshChangeTheme.sh # Change oh-my-zsh theme diff --git a/config/hypr/pyprland.toml b/config/hypr/pyprland.toml new file mode 100644 index 00000000..2ab74e86 --- /dev/null +++ b/config/hypr/pyprland.toml @@ -0,0 +1,12 @@ +[pyprland] + +plugins = [ + "scratchpads", + "magnify", +] + +[scratchpads.term] +animation = "fromTop" +command = "kitty --class kitty-dropterm" +class = "kitty-dropterm" +size = "75% 60%" -- cgit v1.2.3 From 2ec9b62dc338119dd84e2f55a0a4da8352e5f21d Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 2 May 2024 19:27:07 +0900 Subject: Change Keybind for drop down terminal Disabled Launch rofi using Super key Keyhints Updated --- config/hypr/UserConfigs/Startup_Apps.conf | 6 +++--- config/hypr/UserConfigs/UserKeybinds.conf | 4 ++-- config/hypr/scripts/KeyHints.sh | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index 2dce6055..8b5ed9f8 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/UserConfigs/Startup_Apps.conf @@ -32,13 +32,13 @@ exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store # Rainbow borders -exec-once = $UserScripts/RainbowBorders.sh +exec-once = $UserScripts/RainbowBorders.sh & # Starting hypridle to start hyprlock -exec-once = hypridle +exec-once = hypridle & # Start pyprland daemon -exec-once = pypr +exec-once = pypr & # Here are list of features available but disabled by default # exec-once = swww query || swww-daemon --format xrgb && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 92985ec2..7ffd702e 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -12,14 +12,14 @@ $scriptsDir = $HOME/.config/hypr/scripts $UserScripts = $HOME/.config/hypr/UserScripts # rofi App launcher -bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window +#bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Super Key to Launch rofi menu bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window bind = $mainMod, Return, exec, $term # Launch terminal bind = $mainMod, T, exec, $files # pyprland -bind = $mainMod, A, exec, pypr toggle term # Dropdown terminal +bind = $mainMod SHIFT, Return, exec, pypr toggle term # Dropdown terminal bind = $mainMod, Z, exec, pypr zoom # Toggle Zoom # User Added Keybinds diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index 796084b8..97d612b0 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -39,11 +39,13 @@ yad --width=$dynamic_width --height=$dynamic_height \ --timeout-indicator=bottom \ "ESC" "close this app" "" "ļ…¼=ļ…ŗ" "SUPER KEY (Windows Key)" "(SUPER KEY)" \ "ļ…¼ enter" "Terminal" "(kitty)" \ +"ļ…¼ SHIFT enter" "DropDown Terminal" "(kitty-pyprland)" \ "ļ…¼ or ļ…¼ D" "App Launcher" "(rofi)" \ "ļ…¼ T" "Open File Manager" "(Thunar)" \ "ļ…¼ S" "Google Search" "(rofi)" \ "ļ…¼ Q" "close active window" "(not kill)" \ "ļ…¼ Shift Q " "closes a specified window" "(window)" \ +"ļ…¼ Z" "Desktop Zoom" "(pyprland)" \ "ļ…¼ Alt V" "Clipboard Manager" "(cliphist)" \ "ļ…¼ W" "Choose wallpaper" "(Wallpaper Menu)" \ "CTRL ALT W" "Random wallpaper" "(via swww)" \ -- cgit v1.2.3 From 8468aa9a83c7c201dd312bc5cdeacee16793a321 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 2 May 2024 19:51:20 +0900 Subject: updated Keyhints --- config/hypr/scripts/KeyHints.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr') diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index 97d612b0..d45f2e7e 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -40,7 +40,7 @@ yad --width=$dynamic_width --height=$dynamic_height \ "ESC" "close this app" "" "ļ…¼=ļ…ŗ" "SUPER KEY (Windows Key)" "(SUPER KEY)" \ "ļ…¼ enter" "Terminal" "(kitty)" \ "ļ…¼ SHIFT enter" "DropDown Terminal" "(kitty-pyprland)" \ -"ļ…¼ or ļ…¼ D" "App Launcher" "(rofi)" \ +"ļ…¼ D" "App Launcher" "(rofi)" \ "ļ…¼ T" "Open File Manager" "(Thunar)" \ "ļ…¼ S" "Google Search" "(rofi)" \ "ļ…¼ Q" "close active window" "(not kill)" \ -- cgit v1.2.3 From 5cdd289b1903068b4e0d0687f02df6792eed43ba Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 3 May 2024 17:18:34 +0900 Subject: Updated GameMode.sh and DarkLight.sh in line with new swww initialization --- config/hypr/scripts/DarkLight.sh | 2 +- config/hypr/scripts/GameMode.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 50b01644..6c9f610f 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -17,7 +17,7 @@ light_rofi_pywal="$HOME/.cache/wal/colors-rofi-light.rasi" pkill swaybg # Initialize swww if needed -swww query || swww init +swww query || swww-daemon # Set swww options swww="swww img" diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index 74051403..37afe066 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -20,7 +20,7 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then notify-send -e -u low -i "$notif" "gamemode enabled. All animations off" exit else - swww init && swww img "$HOME/.config/rofi/.current_wallpaper" + swww-daemon && swww img "$HOME/.config/rofi/.current_wallpaper" & sleep 0.1 ${SCRIPTSDIR}/PywalSwww.sh sleep 0.5 -- cgit v1.2.3 From 0ff420ab25ed4f72e19034ac90cda6c885887d0b Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 3 May 2024 17:37:17 +0900 Subject: to resolve the conflict or PR #152 --- config/hypr/UserScripts/Weather.py | 232 ++++++++++++++++++------------------- 1 file changed, 116 insertions(+), 116 deletions(-) mode change 100755 => 100644 config/hypr/UserScripts/Weather.py (limited to 'config/hypr') diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py old mode 100755 new mode 100644 index 2b13a977..413682e1 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -1,122 +1,122 @@ #!/usr/bin/env python3 -# From https://raw.githubusercontent.com/rxyhn/dotfiles/main/home/rxyhn/modules/desktop/waybar/scripts/waybar-wttr.py -# ensure to insert city inside "" -city = "" +import subprocess +from pyquery import PyQuery # install using `pip install pyquery` import json -import requests -from datetime import datetime - -WEATHER_CODES = { - '113': 'īŒ', - '116': '󰖕', - '119': 'īŒ’', - '122': 'īŒ’', - '143': 'īŒ’', - '176': '', - '179': '', - '182': '', - '185': '', - '200': 'ā›ˆļø', - '227': 'šŸŒØļø', - '230': 'šŸŒØļø', - '248': 'ā˜ļø ', - '260': 'ā˜ļø', - '263': 'šŸŒ§ļø', - '266': 'šŸŒ§ļø', - '281': 'šŸŒ§ļø', - '284': 'šŸŒ§ļø', - '293': 'šŸŒ§ļø', - '296': 'šŸŒ§ļø', - '299': 'šŸŒ§ļø', - '302': 'šŸŒ§ļø', - '305': 'šŸŒ§ļø', - '308': 'šŸŒ§ļø', - '311': 'šŸŒ§ļø', - '314': 'šŸŒ§ļø', - '317': 'šŸŒ§ļø', - '320': 'šŸŒØļø', - '323': 'šŸŒØļø', - '326': 'šŸŒØļø', - '329': 'ā„ļø', - '332': 'ā„ļø', - '335': 'ā„ļø', - '338': 'ā„ļø', - '350': 'šŸŒ§ļø', - '353': 'šŸŒ§ļø', - '356': 'šŸŒ§ļø', - '359': 'šŸŒ§ļø', - '362': 'šŸŒ§ļø', - '365': 'šŸŒ§ļø', - '368': 'šŸŒ§ļø', - '371': 'ā„ļø', - '374': 'šŸŒØļø', - '377': 'šŸŒØļø', - '386': 'šŸŒØļø', - '389': 'šŸŒØļø', - '392': 'šŸŒ§ļø', - '395': 'ā„ļø' -} - -data = {} - - -weather = requests.get(f"https://wttr.in/{city}?format=j1").json() - - -def format_time(time): - return time.replace("00", "").zfill(2) - - -def format_temp(temp): - return (hour['FeelsLikeC']+"°").ljust(3) -def format_chances(hour): - chances = { - "chanceoffog": "Fog", - "chanceoffrost": "Frost", - "chanceofovercast": "Overcast", - "chanceofrain": "Rain", - "chanceofsnow": "Snow", - "chanceofsunshine": "Sunshine", - "chanceofthunder": "Thunder", - "chanceofwindy": "Wind" - } - - conditions = [] - for event in chances.keys(): - if int(hour[event]) > 0: - conditions.append(chances[event]+" "+hour[event]+"%") - return ", ".join(conditions) - -tempint = int(weather['current_condition'][0]['FeelsLikeC']) -extrachar = '' -if tempint > 0 and tempint < 10: - extrachar = '+' - - -data['text'] = ' '+WEATHER_CODES[weather['current_condition'][0]['weatherCode']] + \ - " "+extrachar+weather['current_condition'][0]['FeelsLikeC']+"°" - -data['tooltip'] = f"{weather['current_condition'][0]['weatherDesc'][0]['value']} {weather['current_condition'][0]['temp_C']}°\n" -data['tooltip'] += f"Feels like: {weather['current_condition'][0]['FeelsLikeC']}°\n" -data['tooltip'] += f"Wind: {weather['current_condition'][0]['windspeedKmph']}Km/h\n" -data['tooltip'] += f"Humidity: {weather['current_condition'][0]['humidity']}%\n" -for i, day in enumerate(weather['weather']): - data['tooltip'] += f"\n" - if i == 0: - data['tooltip'] += "Today, " - if i == 1: - data['tooltip'] += "Tomorrow, " - data['tooltip'] += f"{day['date']}\n" - data['tooltip'] += f"ā¬†ļø{day['maxtempC']}° ā¬‡ļø{day['mintempC']}° " - data['tooltip'] += f"šŸŒ…{day['astronomy'][0]['sunrise']} šŸŒ‡{day['astronomy'][0]['sunset']}\n" - for hour in day['hourly']: - if i == 0: - if int(format_time(hour['time'])) < datetime.now().hour-2: - continue - data['tooltip'] += f"{format_time(hour['time'])} {WEATHER_CODES[hour['weatherCode']]} {format_temp(hour['FeelsLikeC'])} {hour['weatherDesc'][0]['value']}, {format_chances(hour)}\n" - +# original code https://gist.github.com/Surendrajat/ff3876fd2166dd86fb71180f4e9342d7 +# weather icons +weather_icons = { + "sunnyDay": "", + "clearNight": "ļ›ƒ", + "cloudyFoggyDay": "ļƒ", + "cloudyFoggyNight": "", + "rainyDay": "", + "rainyNight": "ļ€", + "snowyIcyDay": "", + "snowyIcyNight": "", + "severe": "ī®", + "default": "īŒ‚", +} -print(json.dumps(data)) +# get location_id +# to get your own location_id, go to https://weather.com & search your location. +# once you choose your location, you can see the location_id in the URL(64 chars long hex string) +# like this: https://weather.com/en-IN/weather/today/l/c3e96d6cc4965fc54f88296b54449571c4107c73b9638c16aafc83575b4ddf2e +location_id = "c3e96d6cc4965fc54f88296b54449571c4107c73b9638c16aafc83575b4ddf2e" # TODO + +# get html page +url = "https://weather.com/en-IN/weather/today/l/" + location_id +html_data = PyQuery(url=url) + +# current temperature +temp = html_data("span[data-testid='TemperatureValue']").eq(0).text() +# print(temp) + +# current status phrase +status = html_data("div[data-testid='wxPhrase']").text() +status = f"{status[:16]}.." if len(status) > 17 else status +# print(status) + +# status code +status_code = html_data("#regionHeader").attr("class").split(" ")[2].split("-")[2] +# print(status_code) + +# status icon +icon = ( + weather_icons[status_code] + if status_code in weather_icons + else weather_icons["default"] +) +# print(icon) + +# temperature feels like +temp_feel = html_data( + "div[data-testid='FeelsLikeSection'] > span > span[data-testid='TemperatureValue']" +).text() +temp_feel_text = f"Feels like {temp_feel}c" +# print(temp_feel_text) + +# min-max temperature +temp_min = ( + html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']") + .eq(0) + .text() +) +temp_max = ( + html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']") + .eq(1) + .text() +) +temp_min_max = f"ļ‹‹ {temp_min}\t\t {temp_max}" +# print(temp_min_max) + +# wind speed +wind_speed = html_data("span[data-testid='Wind']").text().split("\n")[1] +wind_text = f"ē…® {wind_speed}" +# print(wind_text) + +# humidity +humidity = html_data("span[data-testid='PercentageValue']").text() +humidity_text = f"ī³ {humidity}" +# print(humidity_text) + +# visibility +visbility = html_data("span[data-testid='VisibilityValue']").text() +visbility_text = f" {visbility}" +# print(visbility_text) + +# air quality index +air_quality_index = html_data("text[data-testid='DonutChartValue']").text() +# print(air_quality_index) + +# hourly rain prediction +prediction = html_data("section[aria-label='Hourly Forecast']")( + "div[data-testid='SegmentPrecipPercentage'] > span" +).text() +prediction = prediction.replace("Chance of Rain", "") +prediction = f"\n\n (hourly) {prediction}" if len(prediction) > 0 else prediction +# print(prediction) + +# tooltip text +tooltip_text = str.format( + "\t\t{}\t\t\n{}\n{}\n{}\n\n{}\n{}\n{}{}", + f'{temp}', + f" {icon}", + f"{status}", + f"{temp_feel_text}", + f"{temp_min_max}", + f"{wind_text}\t{humidity_text}", + f"{visbility_text}\tAQI {air_quality_index}", + f" {prediction}", +) + +# print waybar module data +out_data = { + "text": f"{icon} {temp}", + "alt": status, + "tooltip": tooltip_text, + "class": status_code, +} +print(json.dumps(out_data)) -- cgit v1.2.3 From 462d07c7d2e9b0d1ddd488d02ae0388c89743617 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 3 May 2024 17:46:07 +0900 Subject: updated python weather script --- config/hypr/UserScripts/Weather.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py index 413682e1..14c9cfe0 100644 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -23,11 +23,13 @@ weather_icons = { # get location_id # to get your own location_id, go to https://weather.com & search your location. # once you choose your location, you can see the location_id in the URL(64 chars long hex string) -# like this: https://weather.com/en-IN/weather/today/l/c3e96d6cc4965fc54f88296b54449571c4107c73b9638c16aafc83575b4ddf2e -location_id = "c3e96d6cc4965fc54f88296b54449571c4107c73b9638c16aafc83575b4ddf2e" # TODO +# like this: https://weather.com/en-PH/weather/today/l/bca47d1099e762a012b9a139c36f30a0b1e647f69c0c4ac28b537e7ae9c1c200 +location_id = "bca47d1099e762a012b9a139c36f30a0b1e647f69c0c4ac28b537e7ae9c1c200" # TODO +# NOTE to change to deg F, change the URL to your preffered location after weather.com +# Default is English-Philippines with Busan, South Korea as location_id # get html page -url = "https://weather.com/en-IN/weather/today/l/" + location_id +url = "https://weather.com/en-PH/weather/today/l/" + location_id html_data = PyQuery(url=url) # current temperature -- cgit v1.2.3 From dce31466f4f5ee4584083b7ad2ec2a2b9ba9759b Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 3 May 2024 17:59:47 +0900 Subject: updated Weather.py --- config/hypr/UserScripts/Weather.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 config/hypr/UserScripts/Weather.py (limited to 'config/hypr') diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py old mode 100644 new mode 100755 -- cgit v1.2.3 From 4ac6c8b543a3a5d8585f062b812a734df0582a70 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 3 May 2024 20:28:15 +0900 Subject: tweaked hyprlock --- config/hypr/hyprlock.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index b2a1a163..3aa029d9 100644 --- a/config/hypr/hyprlock.conf +++ b/config/hypr/hyprlock.conf @@ -47,7 +47,7 @@ input-field { label { monitor = text = cmd[update:18000000] echo " "$(date +'%A, %-d %B %Y')" " - color = $color5 + color = $color1 font_size = 34 font_family = JetBrains Mono Nerd Font 10 @@ -63,7 +63,6 @@ label { color = $color7 font_size = 24 font_family = JetBrains Mono Nerd Font 10 - position = 0, -250 halign = center valign = top @@ -83,6 +82,7 @@ text = cmd[update:1000] echo " $(date +"%H:%M:%S") " # 24H valign = center } +# User label { monitor = text =  $USER @@ -95,6 +95,7 @@ label { valign = bottom } +# uptime label { monitor = text = cmd[update:60000] echo " "$(uptime -p)" " @@ -106,6 +107,7 @@ label { valign = bottom } +# weather edit specific location. Note, this cause a 2-4 seconds delay in locking label { monitor = text = cmd[update:3600000] ping -c 1 wttr.in > /dev/null && curl -s 'wttr.in?format=2' # For specific location : wttr.in/busan?format=2 @@ -117,13 +119,14 @@ label { valign = bottom } +# Put a picture of choice here. Default is the current wallpaper image { monitor = path = $HOME/.config/rofi/.current_wallpaper size = 230 rounding = -1 border_size = 4 - border_color = $color12 + border_color = $color2 rotate = 0 reload_time = -1 position = 0, 300 -- cgit v1.2.3 From da75affc196deec8846639ed562725a938fcf3cb Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Fri, 3 May 2024 22:23:09 +0900 Subject: updated default wallpaper and initial waybar style --- config/hypr/initial-boot.sh | 4 ++-- copy.sh | 4 ++-- wallpapers/Anime-Landscape2.png | Bin 0 -> 7704488 bytes wallpapers/Fantasy-Landscape.png | Bin 12483704 -> 0 bytes 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 wallpapers/Anime-Landscape2.png delete mode 100644 wallpapers/Fantasy-Landscape.png (limited to 'config/hypr') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index b6c57f3e..cb2094be 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -7,8 +7,8 @@ # Variables scriptsDir=$HOME/.config/hypr/scripts -wallpaper=$HOME/Pictures/wallpapers/Dark_Nature.png -waybar_style="$HOME/.config/waybar/style/[Pywal] Chroma Tally.css" +wallpaper=$HOME/Pictures/wallpapers/Anime-Landscape2.png +waybar_style="$HOME/.config/waybar/style/[Dark] Half-Moon.css" kvantum_theme="Catppuccin-Mocha" swww="swww img" diff --git a/copy.sh b/copy.sh index 807507de..0a9f09b2 100755 --- a/copy.sh +++ b/copy.sh @@ -3,8 +3,8 @@ clear -wallpaper=$HOME/Pictures/wallpapers/Fantasy-Landscape.png -Waybar_Style="$HOME/.config/waybar/style/[Pywal] Chroma Tally.css" +wallpaper=$HOME/Pictures/wallpapers/Anime-Landscape2.png +Waybar_Style="$HOME/.config/waybar/style/[Dark] Half-Moon.css" # Check if running as root. If root, script will exit if [[ $EUID -eq 0 ]]; then diff --git a/wallpapers/Anime-Landscape2.png b/wallpapers/Anime-Landscape2.png new file mode 100644 index 00000000..c8681762 Binary files /dev/null and b/wallpapers/Anime-Landscape2.png differ diff --git a/wallpapers/Fantasy-Landscape.png b/wallpapers/Fantasy-Landscape.png deleted file mode 100644 index 79e13088..00000000 Binary files a/wallpapers/Fantasy-Landscape.png and /dev/null differ -- cgit v1.2.3 From e834b82491e07ae547f794efe7c81b5442901bea Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Fri, 3 May 2024 22:29:06 +0900 Subject: reverted back initial waybar style :) --- config/hypr/initial-boot.sh | 2 +- copy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index cb2094be..7810ad5f 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -8,7 +8,7 @@ # Variables scriptsDir=$HOME/.config/hypr/scripts wallpaper=$HOME/Pictures/wallpapers/Anime-Landscape2.png -waybar_style="$HOME/.config/waybar/style/[Dark] Half-Moon.css" +waybar_style="$HOME/.config/waybar/style/[Pywal] Chroma Tally.css" kvantum_theme="Catppuccin-Mocha" swww="swww img" diff --git a/copy.sh b/copy.sh index 0a9f09b2..ed71ea72 100755 --- a/copy.sh +++ b/copy.sh @@ -4,7 +4,7 @@ clear wallpaper=$HOME/Pictures/wallpapers/Anime-Landscape2.png -Waybar_Style="$HOME/.config/waybar/style/[Dark] Half-Moon.css" +Waybar_Style="$HOME/.config/waybar/style/[Pywal] Chroma Tally.css" # Check if running as root. If root, script will exit if [[ $EUID -eq 0 ]]; then -- cgit v1.2.3 From 19e62f8cdf46ce3bd658848511498e7358ceb0eb Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 4 May 2024 00:45:52 +0900 Subject: Tweak wlogout.sh. Should be better for 1080p Tweak UserSettings.conf --- config/hypr/UserConfigs/UserSettings.conf | 36 ++++++++++++++++--------------- config/hypr/scripts/Wlogout.sh | 4 ++-- 2 files changed, 21 insertions(+), 19 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index 6c801f7f..da8ec4ed 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -52,6 +52,7 @@ decoration { dim_inactive = true dim_strength = 0.1 + dim_special = 0.8 drop_shadow=true shadow_range=6 @@ -65,6 +66,7 @@ decoration { passes = 2 ignore_opacity = true new_optimizations = true + special = true } } @@ -100,30 +102,30 @@ input { kb_rules= repeat_rate=50 repeat_delay=300 - numlock_by_default=1 - left_handed=0 - follow_mouse=1 - float_switch_override_focus=0 + numlock_by_default=true + left_handed=false + follow_mouse=true + float_switch_override_focus=false touchpad { - disable_while_typing=1 - natural_scroll=0 - clickfinger_behavior=0 - middle_button_emulation=1 - tap-to-click=1 - drag_lock=0 + disable_while_typing=true + natural_scroll=false + clickfinger_behavior=false + middle_button_emulation=true + tap-to-click=true + drag_lock=false } } gestures { - workspace_swipe=1 + workspace_swipe=true workspace_swipe_fingers=3 workspace_swipe_distance=400 - workspace_swipe_invert=1 + workspace_swipe_invert=true workspace_swipe_min_speed_to_force=30 workspace_swipe_cancel_ratio=0.5 - workspace_swipe_create_new=1 - workspace_swipe_forever=1 + workspace_swipe_create_new=true + workspace_swipe_forever=true } misc { @@ -139,9 +141,9 @@ misc { } binds { - workspace_back_and_forth=1 - allow_workspace_cycles=1 - pass_mouse_when_bound=0 + workspace_back_and_forth=true + allow_workspace_cycles=true + pass_mouse_when_bound=false } #Could help when scaling and not pixelating diff --git a/config/hypr/scripts/Wlogout.sh b/config/hypr/scripts/Wlogout.sh index 1987e285..f0243062 100755 --- a/config/hypr/scripts/Wlogout.sh +++ b/config/hypr/scripts/Wlogout.sh @@ -8,8 +8,8 @@ A_2160=680 B_2160=750 A_1440=500 B_1440=550 -A_1080=300 -B_1080=380 +A_1080=350 +B_1080=350 A_720=50 B_720=50 -- cgit v1.2.3 From 1da52d875d0ca424fc89688a95c3bc1054e68c4a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 4 May 2024 10:04:22 +0900 Subject: added env = QT_QPA_PLATFORMTHEME,qt6ct onn ENVariables.conf Updated Chroma Tally waybar style --- config/hypr/UserConfigs/ENVariables.conf | 3 +- config/waybar/style/[Pywal] Chroma Tally.css | 67 +++++++++++++--------------- 2 files changed, 34 insertions(+), 36 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index b9d20480..1d60c24b 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -5,7 +5,8 @@ env = CLUTTER_BACKEND,wayland env = GDK_BACKEND,wayland,x11 env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_QPA_PLATFORM,wayland;xcb -env = QT_QPA_PLATFORMTHEME,qt5ct +env = QT_QPA_PLATFORMTHEME,qt5ct +env = QT_QPA_PLATFORMTHEME,qt6ct env = QT_SCALE_FACTOR,1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = XDG_CURRENT_DESKTOP,Hyprland diff --git a/config/waybar/style/[Pywal] Chroma Tally.css b/config/waybar/style/[Pywal] Chroma Tally.css index fa3a6971..5b080a52 100644 --- a/config/waybar/style/[Pywal] Chroma Tally.css +++ b/config/waybar/style/[Pywal] Chroma Tally.css @@ -21,34 +21,45 @@ window#waybar { border-color: @color2; } +#workspaces { + background: #0F1419; + padding: 0px 1px; + border-radius: 15px; + border: 0px; + font-style: normal; + color: #0F1419; +} + +#taskbar button, #workspaces button { - color: #eceff4; - box-shadow: none; - text-shadow: none; - padding: 0px; - border-radius: 9px; - padding-left: 4px; - padding-right: 4px; - animation: gradient_f 20s ease-in infinite; - transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682); + padding: 0px 5px; + border-radius: 15px; + border: 0px; + color: #0F1419; + background: linear-gradient(45deg, #95E6CB, #59C2FF, #D2A6FF); + opacity: 0.5; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); } +#taskbar button.active, #workspaces button.active { - border-radius: 15px; - background-color: @color2; - padding-left: 8px; - padding-right: 8px; - animation: gradient_f 20s ease-in infinite; - transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); + padding: 0px 5px; + border-radius: 15px; + border: 0px; + color: #0F1419; + background: linear-gradient(45deg, #59C2FF, #D2A6FF); + opacity: 1.0; + min-width: 40px; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); } #workspaces button:hover { - color: @color2; - background-color: rgba(0,153,153,0); - padding-left: 2px; - padding-right: 2px; - animation: gradient_f 20s ease-in infinite; - transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); + border-radius: 15px; + color: #0F1419; + background: linear-gradient(45deg, #59C2FF, #D2A6FF); + opacity: 0.8; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); + } #backlight, @@ -213,20 +224,6 @@ window#waybar { color:#d08770; } -#taskbar button.active { - background-color: #7f849c; - padding-left: 12px; - padding-right: 12px; - animation: gradient_f 20s ease-in infinite; - transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); -} - -#taskbar button:hover { - padding-left: 3px; - padding-right: 3px; - animation: gradient_f 20s ease-in infinite; - transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); -} #pulseaudio-slider slider { min-width: 0px; min-height: 0px; -- cgit v1.2.3 From 1ac9c396131d0024bc98044b01ffda51331c003e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 4 May 2024 11:46:59 +0900 Subject: wlogout.sh tweaked better for 1080p small tweak for rofi --- config/hypr/scripts/Wlogout.sh | 4 ++-- config/rofi/config.rasi | 8 ++++---- config/rofi/resolution/1080p/config.rasi | 6 +++--- config/rofi/resolution/1440p/config.rasi | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/scripts/Wlogout.sh b/config/hypr/scripts/Wlogout.sh index f0243062..58e1fd68 100755 --- a/config/hypr/scripts/Wlogout.sh +++ b/config/hypr/scripts/Wlogout.sh @@ -8,8 +8,8 @@ A_2160=680 B_2160=750 A_1440=500 B_1440=550 -A_1080=350 -B_1080=350 +A_1080=400 +B_1080=400 A_720=50 B_720=50 diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index a48a7d3c..f2353a62 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -5,7 +5,7 @@ configuration { modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 13"; show-icons: true; display-drun: "Apps"; display-run: "Run"; @@ -49,7 +49,7 @@ window { anchor: center; // Style Values - width: 900px; + width: 1100px; background-color: #00000099; } @@ -129,7 +129,7 @@ mode-switcher{ background-color: transparent; } button { - width: 100px; + width: 110px; padding: 12px; border-radius: 12px; background-color: @background-alt; @@ -199,7 +199,7 @@ element-icon { } element-text { background-color: transparent; - font: "Fira Code SemiBold 15"; + font: "Fira Code SemiBold 16"; text-color: inherit; cursor: inherit; vertical-align: 0.5; diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index b778616b..907c7ad0 100644 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -5,7 +5,7 @@ configuration { modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 10"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: "Apps"; display-run: "Run"; @@ -129,7 +129,7 @@ mode-switcher{ background-color: transparent; } button { - width: 80px; + width: 95px; padding: 12px; border-radius: 12px; background-color: @background-alt; @@ -199,7 +199,7 @@ element-icon { } element-text { background-color: transparent; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 14"; text-color: inherit; cursor: inherit; vertical-align: 0.5; diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index a48a7d3c..f2353a62 100644 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -5,7 +5,7 @@ configuration { modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 13"; show-icons: true; display-drun: "Apps"; display-run: "Run"; @@ -49,7 +49,7 @@ window { anchor: center; // Style Values - width: 900px; + width: 1100px; background-color: #00000099; } @@ -129,7 +129,7 @@ mode-switcher{ background-color: transparent; } button { - width: 100px; + width: 110px; padding: 12px; border-radius: 12px; background-color: @background-alt; @@ -199,7 +199,7 @@ element-icon { } element-text { background-color: transparent; - font: "Fira Code SemiBold 15"; + font: "Fira Code SemiBold 16"; text-color: inherit; cursor: inherit; vertical-align: 0.5; -- cgit v1.2.3 From 6059d82374c4ea523f6715c338241c30c9b5d1be Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 4 May 2024 15:33:56 +0900 Subject: RofiEmoji tweaked, new Rofi-Emoji Configs Tweaked rofi configs and used % instead of px --- config/hypr/scripts/RofiEmoji.sh | 2 +- config/rofi/config-clipboard.rasi | 6 +++--- config/rofi/config-compact.rasi | 12 ++++++++--- config/rofi/config-emoji.rasi | 10 +++++++++ config/rofi/config-long.rasi | 36 +++++--------------------------- config/rofi/config-rofi-Beats.rasi | 2 +- config/rofi/config-search.rasi | 2 +- config/rofi/config-zsh-theme.rasi | 2 +- config/rofi/config.rasi | 3 +-- config/rofi/resolution/1080p/config.rasi | 12 +++++------ config/rofi/resolution/1440p/config.rasi | 3 +-- 11 files changed, 39 insertions(+), 51 deletions(-) create mode 100644 config/rofi/config-emoji.rasi (limited to 'config/hypr') diff --git a/config/hypr/scripts/RofiEmoji.sh b/config/hypr/scripts/RofiEmoji.sh index cf6bec55..c92aec87 100755 --- a/config/hypr/scripts/RofiEmoji.sh +++ b/config/hypr/scripts/RofiEmoji.sh @@ -3,7 +3,7 @@ # Rofi Emoticons. Not my own. Cant remember the source sed '1,/^# # DATA # #$/d' $0 | -rofi -i -dmenu -config ~/.config/rofi/config-long.rasi| +rofi -i -dmenu -config ~/.config/rofi/config-emoji.rasi| cut -d ' ' -f 1 | tr -d '\n' | wl-copy exit diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index ddc9a9d0..60d04149 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -1,10 +1,10 @@ /* ---- šŸ’« https://github.com/JaKooLit šŸ’« ---- */ -/* Clipboard Config (long) */ +/* Clipboard Config (long) - Clipboard */ @import "~/.config/rofi/config-long.rasi" /* ---- Entry ---- */ entry { - width: 600px; - placeholder: "CTRL Del - Cliphist del || Alt Del - cliphist wipe"; + width: 45%; + placeholder: "šŸ”Ž Search Clipboard **note** šŸ‘€ CTRL Del - Cliphist del or Alt Del - cliphist wipe"; } diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index d41fefde..bea90360 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -10,10 +10,15 @@ configuration { /* ---- Window ---- */ window { - width: 500px; + width: 20%; border-radius: 15px; } +/* ---- Inputbar ---- */ +inputbar { + background-image: url("~/.config/rofi/.current_wallpaper", height); +} + /* ---- Imagebox ---- */ imagebox { orientation: vertical; @@ -21,8 +26,9 @@ imagebox { [ "entry", "listview"]; } +/* ---- Entry input ---- */ entry { - width: 400px; + width: 16%; placeholder: " View / Edit Hyprland Configs"; } @@ -32,7 +38,7 @@ listview { lines: 10; spacing: 4px; scrollbar: false; - border-radius: 10px; + border-radius: 12px; } /* ---- Element ---- */ diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi new file mode 100644 index 00000000..53a7ffb7 --- /dev/null +++ b/config/rofi/config-emoji.rasi @@ -0,0 +1,10 @@ +/* ---- šŸ’« https://github.com/JaKooLit šŸ’« ---- */ +/* Main Config (long) - emoji */ + +@import "~/.config/rofi/config-long.rasi" + +/* ---- Entry ---- */ +entry { + width: 45%; + placeholder: "šŸ”Ž Search Emoji's **note** šŸ‘€ Click or Return to choose | Ctrl V to Paste"; +} diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index 99f35d69..b75d3d5e 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -3,44 +3,18 @@ @import "~/.config/rofi/config.rasi" -/* ---- Configuration ---- */ -configuration { - modi: "drun"; -} - /* ---- Window ---- */ window { - width: 700px; -} - -/* ---- Inputbar ---- */ -inputbar { - children: - ["entry"]; + width: 50%; } +/* ---- Entry ---- */ entry { - placeholder: "šŸ”Ž Search"; - width: 600px; + placeholder: "šŸ”Ž Search "; } /* ---- Listview ---- */ listview { columns: 1; - lines: 9; - spacing: 4px; - fixed-columns: true; - border-radius: 10px; - scrollbar: false; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; - border-radius: 10px; -} - -textbox { - padding: 6px; - background-color: transparent; -} + lines: 10; +} \ No newline at end of file diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 5f7872f2..efd67033 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -10,5 +10,5 @@ entry { /* ---- Listview ---- */ listview { - lines: 7; + lines: 10; } \ No newline at end of file diff --git a/config/rofi/config-search.rasi b/config/rofi/config-search.rasi index 149748da..2fc2f475 100644 --- a/config/rofi/config-search.rasi +++ b/config/rofi/config-search.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 700px; + width: 40%; location: north; } diff --git a/config/rofi/config-zsh-theme.rasi b/config/rofi/config-zsh-theme.rasi index edc7a3ed..ffa8bd14 100644 --- a/config/rofi/config-zsh-theme.rasi +++ b/config/rofi/config-zsh-theme.rasi @@ -10,7 +10,7 @@ configuration { /* ---- Window ---- */ window { - width: 900px; + width: 40%; border-radius: 15px; } diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index f2353a62..1ed79730 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -49,7 +49,7 @@ window { anchor: center; // Style Values - width: 1100px; + width: 40%; background-color: #00000099; } @@ -218,7 +218,6 @@ textbox { background-color: @background-alt; text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 12px; diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 907c7ad0..55c2f76c 100644 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -1,11 +1,11 @@ /* ---- šŸ’« https://github.com/JaKooLit šŸ’« ---- */ -/* Main Config 1080p */ +/* Main Config 1440p */ /* ---- Configuration ---- */ configuration { modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 12"; + font: "Fira Code SemiBold 9"; show-icons: true; display-drun: "Apps"; display-run: "Run"; @@ -49,7 +49,7 @@ window { anchor: center; // Style Values - width: 800px; + width: 40%; background-color: #00000099; } @@ -82,7 +82,7 @@ entry { padding: 10px; border-radius: 12px; background-color: @background-alt; - text-color: @text-selected; + text-color: inherit; cursor: text; placeholder: " Search "; // << Search symbol placeholder-color: inherit; @@ -129,7 +129,7 @@ mode-switcher{ background-color: transparent; } button { - width: 95px; + width: 80px; padding: 12px; border-radius: 12px; background-color: @background-alt; @@ -199,7 +199,7 @@ element-icon { } element-text { background-color: transparent; - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 12"; text-color: inherit; cursor: inherit; vertical-align: 0.5; diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index f2353a62..1ed79730 100644 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -49,7 +49,7 @@ window { anchor: center; // Style Values - width: 1100px; + width: 40%; background-color: #00000099; } @@ -218,7 +218,6 @@ textbox { background-color: @background-alt; text-color: @foreground; vertical-align: 0.5; - horizontal-align: 0.0; } error-message { padding: 12px; -- cgit v1.2.3 From 6b77da3e3e66312cf9e4b60ac072a20a13f09706 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 4 May 2024 21:40:31 +0900 Subject: updated WindowsRules.conf --- config/hypr/UserConfigs/WindowRules.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 38d41222..68de90e4 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -40,6 +40,9 @@ windowrulev2 = float, class:([Tt]hunar), title:(File Operation Progress) windowrulev2 = float, class:([Tt]hunar), title:(Confirm to replace files) windowrulev2 = float, class:(xdg-desktop-portal-gtk) windowrulev2 = float, class:(org.gnome.Calculator), title:(Calculator) +windowrulev2 = float, class:(codium), title:(Add Folder to Workspace) +windowrulev2 = float, class:(codium-url-handler), title:(Add Folder to Workspace) +windowrulev2 = float, class:(VSCodium), title:(Add Folder to Workspace) #opacity (transparent) #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ -- cgit v1.2.3 From 376968f5d3ea2251a19c27716b020bf135db9b9b Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 4 May 2024 23:44:23 +0900 Subject: Final tweak before pushing to main (I hope so), Rofi.rasi 1080p made as default. New default wallpaper --- config/hypr/initial-boot.sh | 2 +- config/rofi/config.rasi | 15 ++++++++------- config/rofi/resolution/1080p/config.rasi | 2 +- copy.sh | 4 ++-- wallpapers/Anime-girl.jpg | Bin 4562339 -> 0 bytes wallpapers/Lofi-Urban-Nightscape.png | Bin 0 -> 13754390 bytes 6 files changed, 12 insertions(+), 11 deletions(-) mode change 100644 => 100755 config/rofi/config.rasi delete mode 100644 wallpapers/Anime-girl.jpg create mode 100644 wallpapers/Lofi-Urban-Nightscape.png (limited to 'config/hypr') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 7810ad5f..f5fe66d7 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -7,7 +7,7 @@ # Variables scriptsDir=$HOME/.config/hypr/scripts -wallpaper=$HOME/Pictures/wallpapers/Anime-Landscape2.png +wallpaper=$HOME/Pictures/wallpapers/Lofi-Urban-Nightscape.png waybar_style="$HOME/.config/waybar/style/[Pywal] Chroma Tally.css" kvantum_theme="Catppuccin-Mocha" diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi old mode 100644 new mode 100755 index 1ed79730..5a161f29 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,11 +1,11 @@ /* ---- šŸ’« https://github.com/JaKooLit šŸ’« ---- */ -/* Main Config 1440p */ +/* Main Config 1080p */ /* ---- Configuration ---- */ configuration { modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 13"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: "Apps"; display-run: "Run"; @@ -49,7 +49,7 @@ window { anchor: center; // Style Values - width: 40%; + width: 50%; background-color: #00000099; } @@ -82,7 +82,7 @@ entry { padding: 10px; border-radius: 12px; background-color: @background-alt; - text-color: @text-selected; + text-color: inherit; cursor: text; placeholder: " Search "; // << Search symbol placeholder-color: inherit; @@ -101,7 +101,7 @@ listbox { listview { enabled: true; columns: 2; - lines: 8; + lines: 6; cycle: true; dynamic: true; scrollbar: false; @@ -129,7 +129,7 @@ mode-switcher{ background-color: transparent; } button { - width: 110px; + width: 5%; padding: 12px; border-radius: 12px; background-color: @background-alt; @@ -199,7 +199,7 @@ element-icon { } element-text { background-color: transparent; - font: "Fira Code SemiBold 16"; + font: "Fira Code SemiBold 14"; text-color: inherit; cursor: inherit; vertical-align: 0.5; @@ -218,6 +218,7 @@ textbox { background-color: @background-alt; text-color: @foreground; vertical-align: 0.5; + horizontal-align: 0.0; } error-message { padding: 12px; diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index d4405819..5a161f29 100755 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -1,5 +1,5 @@ /* ---- šŸ’« https://github.com/JaKooLit šŸ’« ---- */ -/* Main Config 1440p */ +/* Main Config 1080p */ /* ---- Configuration ---- */ diff --git a/copy.sh b/copy.sh index 697fc6db..2e94494c 100755 --- a/copy.sh +++ b/copy.sh @@ -3,7 +3,7 @@ clear -wallpaper=$HOME/Pictures/wallpapers/Anime-Landscape2.png +wallpaper=$HOME/Pictures/wallpapers/Lofi-Urban-Nightscape.png Waybar_Style="$HOME/.config/waybar/style/[Pywal] Chroma Tally.css" # Check if running as root. If root, script will exit @@ -259,7 +259,7 @@ else rm -r "$HOME/.config/waybar/configs/[TOP] Default_v2" 2>&1 | tee -a "$LOG" fi -printf "\n%.0s" {1..3} +printf "\n%.0s" {1..2} # additional wallpapers echo "$(tput setaf 6) By default only a few wallpapers are copied...$(tput sgr0)" diff --git a/wallpapers/Anime-girl.jpg b/wallpapers/Anime-girl.jpg deleted file mode 100644 index 092fe7c2..00000000 Binary files a/wallpapers/Anime-girl.jpg and /dev/null differ diff --git a/wallpapers/Lofi-Urban-Nightscape.png b/wallpapers/Lofi-Urban-Nightscape.png new file mode 100644 index 00000000..42dc718f Binary files /dev/null and b/wallpapers/Lofi-Urban-Nightscape.png differ -- cgit v1.2.3