From a153022b7d457466db9140c62dc5564f9de7a3af Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 5 Nov 2023 14:02:06 +0900 Subject: changes for new Hyprland-Dots --- config/hypr/configs/WindowRules.conf | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'config/hypr/configs/WindowRules.conf') diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf index 8ca3396b..44a95e40 100644 --- a/config/hypr/configs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -3,10 +3,10 @@ windowrule = float, org.kde.polkit-kde-authentication-agent-1 windowrule = float, nm-connection-editor|blueman-manager -windowrule = float, viewnior|pavucontrol +windowrule = float, pavucontrol windowrule = float, nwg-look|qt5ct|mpv windowrule = float, onedriver|onedriver-launcher -windowrule = float, swayimg|zoom +windowrule = float, zoom windowrule = float, wofi windowrule = float, gnome-system-monitor @@ -19,10 +19,13 @@ windowrule = center,^(pavucontrol) # Make sure to delete this line if uncommen t #windowrule = size 533 533,^(pavucontrol) # These are optionals. But recommended # windowrule v2 + +windowrulev2 = float, class:^([Vv]iewnior)$ + windowrulev2 = workspace 1, class:^(thunderbird)$ windowrulev2 = workspace 2, class:^(firefox)$ windowrulev2 = workspace 2, class:^(Firefox-esr)$ -windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$ #this is on arch +windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$ windowrulev2 = workspace 3, class:^([Tt]hunar)$ windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$ windowrulev2 = workspace 5 silent, class:^([Ss]team)$,title:^([Ss]team)$ @@ -33,13 +36,19 @@ windowrulev2 = workspace 7 silent, class:^(WebCord)$ windowrulev2 = workspace 9 silent, class:^(audacious)$ #opacity (transparent) #enable as desired +windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ windowrulev2 = opacity 0.9 0.7, class:^(firefox)$ windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$ +windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ +windowrulev2 = opacity 0.9 0.7, class:^(gedit)$ #windowrulev2 = opacity 0.8 0.7, class:^(foot)$ #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:^(VSCodium)$ +#layerrule = unset,class:^([Rr]ofi)$ +#layerrule = blur,class:^([Rr]ofi)$ +#layerrule = ignorezero, #windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1 #windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1 -- cgit v1.2.3 From e7aefbad57de5b4cf828484ec4d9642b4ab60c1c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 5 Nov 2023 14:09:06 +0900 Subject: update --- config/hypr/configs/Execs.conf | 1 - config/hypr/configs/Settings.conf | 3 +-- config/hypr/configs/WindowRules.conf | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'config/hypr/configs/WindowRules.conf') diff --git a/config/hypr/configs/Execs.conf b/config/hypr/configs/Execs.conf index 8c0c4615..9691e5cf 100644 --- a/config/hypr/configs/Execs.conf +++ b/config/hypr/configs/Execs.conf @@ -16,7 +16,6 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK exec-once = $scriptsDir/Polkit.sh #gnome polkit for nixos -#exec-once = /nix/store/ww65bg045dn4nqcnqprarkfhpzzl30hf-polkit-gnome-0.105/libexec/polkit-gnome-authentication-agent-1 #exec-once = $scriptsDir/Polkit-NixOS.sh # Portal Hyprland diff --git a/config/hypr/configs/Settings.conf b/config/hypr/configs/Settings.conf index 46ac85d1..87fb04dc 100644 --- a/config/hypr/configs/Settings.conf +++ b/config/hypr/configs/Settings.conf @@ -2,7 +2,6 @@ ## JaKooLit Github - https://github.com/JaKooLit # blurls = waybar -blurls = wofi #blurls = rofi dwindle { @@ -135,7 +134,7 @@ misc { enable_swallow = true no_direct_scanout = true #for fullscreen games focus_on_activate = false - swallow_regex = ^(foot)$ + swallow_regex = ^(kitty)$ } binds { diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf index 44a95e40..2bb44a5d 100644 --- a/config/hypr/configs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -7,7 +7,7 @@ windowrule = float, pavucontrol windowrule = float, nwg-look|qt5ct|mpv windowrule = float, onedriver|onedriver-launcher windowrule = float, zoom -windowrule = float, wofi +windowrule = float, rofi windowrule = float, gnome-system-monitor #windowrule = noblur,gamescope -- cgit v1.2.3 From ab900c9c2183d55ac8be674993bd437e915548bc Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 22:17:32 +0900 Subject: small tweak --- config/hypr/configs/Execs.conf | 9 ++++++--- config/hypr/configs/WindowRules.conf | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'config/hypr/configs/WindowRules.conf') diff --git a/config/hypr/configs/Execs.conf b/config/hypr/configs/Execs.conf index 92771f61..a5777762 100644 --- a/config/hypr/configs/Execs.conf +++ b/config/hypr/configs/Execs.conf @@ -46,7 +46,10 @@ exec-once = $scriptsDir/RainbowBorders.sh # auto close of apps (timeout 5 secs) # exec-once = $scriptsDir/AppAutoClose.sh -# sway-idle with lock -exec-once = swayidle -w timeout 1200 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' -# without lock + +# sway-idle with lock only +exec-once = swayidle -w timeout 1200 '$lock' timeout 1200 +# sway-idle with lock and sleep +#exec-once = swayidle -w timeout 1200 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' +# sway idle without lock #exec-once = swayidle -w timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf index 2bb44a5d..72ac1a2c 100644 --- a/config/hypr/configs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -9,6 +9,7 @@ windowrule = float, onedriver|onedriver-launcher windowrule = float, zoom windowrule = float, rofi windowrule = float, gnome-system-monitor +windowrule = float, yad #windowrule = noblur,gamescope #windowrule = fullscreen,gamescope @@ -42,9 +43,11 @@ windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$ windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ windowrulev2 = opacity 0.9 0.7, class:^(gedit)$ #windowrulev2 = opacity 0.8 0.7, class:^(foot)$ +windowrulev2 = opacity 0.8 0.7, class:^(kitty)$ #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:^(VSCodium)$ +windowrulev2 = opacity 0.9 0.7, class:^(yad)$ #layerrule = unset,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$ -- cgit v1.2.3 From 908c96fa0f93705d07cdc2f501f89ee9c9f1f9f2 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 7 Nov 2023 12:26:47 +0900 Subject: some small tweak --- config/hypr/configs/WindowRules.conf | 1 + config/waybar/style/style-pywal.css | 152 ++++++++++++++++++++--------------- 2 files changed, 90 insertions(+), 63 deletions(-) (limited to 'config/hypr/configs/WindowRules.conf') diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf index 72ac1a2c..42da0e2b 100644 --- a/config/hypr/configs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -6,6 +6,7 @@ windowrule = float, nm-connection-editor|blueman-manager windowrule = float, pavucontrol windowrule = float, nwg-look|qt5ct|mpv windowrule = float, onedriver|onedriver-launcher +windowrule = float, viewnior|swayimg windowrule = float, zoom windowrule = float, rofi windowrule = float, gnome-system-monitor diff --git a/config/waybar/style/style-pywal.css b/config/waybar/style/style-pywal.css index 9d8bacf9..488c2daf 100644 --- a/config/waybar/style/style-pywal.css +++ b/config/waybar/style/style-pywal.css @@ -10,81 +10,82 @@ margin-top: 1px; margin-bottom: 1px; } - @import '../../.cache/wal/colors-waybar.css'; window#waybar { - background: rgba(0, 0, 0, 0); -} - -window#waybar.hidden { - opacity: 0.5; + background: transparent; } window#waybar.empty { - background-color: transparent; + background-color: transparent; } window#waybar.empty #window { - padding: 0px; - margin: 0px; - border: 0px; - /* background-color: rgba(66,66,66,0.5); */ /* transparent */ - background-color: transparent; + padding: 0px; + margin: 0px; + border: 0px; + background-color: transparent; } -tooltip { - background: rgba(0, 0, 0, 0.6); - border-radius: 10px; +window > box { + background: rgba(0, 0, 0, 0); + border-bottom: 1px solid rgba(0, 0, 0, 0); + color: @foreground; } -tooltip label { - color: @color11; - margin-right: 2px; - margin-left: 2px; +window { + /*font-weight: bold;*/ } +tooltip { + background: rgba(0, 0, 0, 0.4); + opacity: 0.8; + border-radius: 10px; + border-width: 2px; + border-style: solid; + border-color: @color15; +} + +tooltip label{ + color: @foreground; +} /*-----module groups----*/ .modules-right { - background-color: rgba(0, 0, 0, 0.4); - border: 0px solid #b4befe; - border-radius: 10px; + background-color: rgba(0, 0, 0, 0.4); + border: 0.5px solid @color15; + border-radius: 10px; } - .modules-center { - background-color: rgba(0, 0, 0, 0.4); - border: 0px solid #b4befe; - border-radius: 10px; + background-color: rgba(0, 0, 0, 0.4); + border: 0.5px solid @color15; + border-radius: 10px; } - .modules-left { - background-color: rgba(0, 0, 0, 0.4); - border: 0px solid #b4befe; - border-radius: 10px; - + background-color: rgba(0, 0, 0, 0.4); + border: 0.5px solid @color15; + border-radius: 10px; } +/*-----modules indv----*/ #workspaces button { - color: @color11; + color: @color1; + padding: 0px 0px; + background-color: rgba(0, 0, 0, 0); + transition: all 0.3s ease-in-out; } - -#workspaces button.active { - color: @color2; - border-radius: 15px 15px 15px 15px; +#workspaces button:hover { + box-shadow: inherit; + background-color: @color2; } #workspaces button.focused { - color: @color1; + background-color: rgba(0,85,102,0); } +#workspaces button.active { + color: @foreground; + /*background-color: rgba(0,85,102,0.3);*/ + transition: all 0.3s ease-in-out; -#workspaces button.urgent { - color: #11111b; - border-radius: 10px; -} - -#workspaces button:hover { - color: @color5; - border-radius: 15px; } #backlight, @@ -130,30 +131,55 @@ tooltip label { #custom-weather.showyIcyDay, #custom-weather.snowyIcyNight, #custom-weather.sunnyDay { - color: @color11; - padding: 1px 4px; - border-radius: 8px; + padding: 0px 6px; +} +#mode { + color: #cc3436; + font-weight: bold; +} +#custom-power { + /*background-color: rgba(0,119,179,0.6);*/ + /*border-radius: 50px;*/ + margin: 5px 5px; + padding: 1px 3px; +} +/*-----Indicators----*/ +#idle_inhibitor.activated { + color: #2dcc36; +} +#pulseaudio.muted { + color: #cc3436; +} +#pulseaudio-microphone.muted { + color: #cc3436; } - #temperature.critical { - background-color: #ff0000; + color: #cc3436; } -@keyframes blink { - to { - color: #000000; - } +#waybar { + background-color: @color14; + color: @color3; } -#taskbar button.active { - background-color: #7f849c; +@keyframes blink { + to { + color: #000000; + } } #battery.critical:not(.charging) { - color: #f53c3c; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} \ No newline at end of file + color: #f53c3c; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +#taskbar button.active { + background-color: #7f849c; +} +#waybar.empty, #waybar.tiled, #waybar.floating { + background-color: transparent; +} -- cgit v1.2.3