From f1b1874e6505adefc882ded9f2336ca4b4d599db Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Mon, 6 May 2024 12:46:00 +0900 Subject: Fixed WindowRules.conf for gnome-system-monitor --- config/hypr/UserConfigs/WindowRules.conf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 1cf23665..28468465 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -1,6 +1,7 @@ # /* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ # # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +#windowrule windowrule = float, org.kde.polkit-kde-authentication-agent-1 windowrule = float, nm-connection-editor|blueman-manager windowrule = float, pavucontrol @@ -10,6 +11,7 @@ windowrule = float, eog windowrule = float, zoom windowrule = float, rofi windowrule = float, gnome-system-monitor +windowrule = float, org.gnome.SystemMonitor windowrule = float, yad windowrule = float, ^(wihotspot-gui)$ # wifi hotspot windowrule = float, ^(evince)$ # document viewer @@ -19,8 +21,9 @@ windowrule = float, ^(file-roller)$ # archive manager #windowrule = workspace 6 silent,^(gamescope)$ windowrule = center,^(pavucontrol) +windowrule = float, org.gnome.SystemMonitor -# windowrule v2 +# windowrule v2 move to workspace windowrulev2 = workspace 1, class:^([Tt]hunderbird)$ windowrulev2 = workspace 2, class:^([Ff]irefox)$ windowrulev2 = workspace 2, class:^(org.mozilla.firefox)$ @@ -44,7 +47,7 @@ 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 +# windowrule v2 - opacity #enable as desired 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-dev)$ @@ -81,6 +84,8 @@ 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 +# windowrule v2 - size +windowrulev2=size 70% 70%,class:^(org.gnome.SystemMonitor)$ #layerrule = unset,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$ -- cgit v1.2.3 From 6c6ca3bf9d11befdc9256816f660358bf7d3ea06 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Mon, 6 May 2024 12:52:02 +0900 Subject: small tweak on windowrules.conf --- config/hypr/UserConfigs/WindowRules.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 28468465..2ec9aba6 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -10,8 +10,7 @@ windowrule = float, onedriver|onedriver-launcher windowrule = float, eog windowrule = float, zoom windowrule = float, rofi -windowrule = float, gnome-system-monitor -windowrule = float, org.gnome.SystemMonitor +windowrule = float, gnome-system-monitor|org.gnome.SystemMonitor windowrule = float, yad windowrule = float, ^(wihotspot-gui)$ # wifi hotspot windowrule = float, ^(evince)$ # document viewer -- cgit v1.2.3 From e1a22b19efdf542480868f1c250f11ace3a275c1 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 May 2024 16:45:26 +0900 Subject: Style change of ags which should work well with Dark / Light switcher. Keybinds moved to UserConfigs --- config/ags/user/style.css | 47 +++++++++++++++++-------------- config/hypr/UserConfigs/UserKeybinds.conf | 1 + config/hypr/configs/Keybinds.conf | 1 - config/hypr/scripts/DarkLight.sh | 10 +++++++ 4 files changed, 37 insertions(+), 22 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/ags/user/style.css b/config/ags/user/style.css index b1496687..aa7e4e33 100644 --- a/config/ags/user/style.css +++ b/config/ags/user/style.css @@ -5,6 +5,11 @@ @import '../../../.cache/wal/colors-waybar.css'; /* @import '../../../.cache/wal/colors-waybar-rgba.css'; */ +/* define some colors */ +@define-color border-color @color2; +@define-color border-color-alt @color7; +@define-color noti-bg rgba(0, 0, 0, 0.8); +@define-color noti-bg-alt #111111; widget { border-radius: 0.818rem; @@ -19,24 +24,24 @@ widget { transition: 300ms cubic-bezier(0, 0.55, 0.45, 1); border-radius: 1.705rem; -gtk-outline-radius: 1.705rem; - border-top: 1px solid @color7; - border-left: 1px solid @color7; - border-right: 1px solid @color7; - border-bottom: 1px solid @color7; + border-top: 1px solid @border-color; + border-left: 1px solid @border-color-alt; + border-right: 1px solid @border-color-alt; + border-bottom: 1px solid @border-color; /* box-shadow: 0px 2px 3px alpha(@color0, 0.45); */ margin: 0.476rem; min-width: 13.636rem; min-height: 3.409rem; padding: 0rem 1.364rem; padding-right: 2.864rem; - background-color: alpha(@color0, 0.5); - color: alpha(@color7, 0.9); + background-color: @noti-bg; + color: @color2a; caret-color: transparent; font-weight: bold; } .overview-search-box selection { - background-color: #DEBCDF; - color: #402843; + background-color: @noti-bg; + color: @color2; } .overview-search-box-extended { @@ -45,7 +50,7 @@ widget { } .overview-search-prompt { - color: alpha(@color7, 0.9); + color: @color2; } .overview-search-icon { @@ -65,16 +70,16 @@ widget { .overview-search-results { border-radius: 1.705rem; -gtk-outline-radius: 1.705rem; - border-top: 1px solid @color7; - border-left: 1px solid @color7; - border-right: 1px solid @color7; - border-bottom: 1px solid @color7; + border-top: 1px solid @border-color; + border-left: 1px solid @border-color-alt; + border-right: 1px solid @border-color-alt; + border-bottom: 1px solid @border-color; box-shadow: 0px 2px 3px @color9; margin: 0.476rem; min-width: 28.773rem; padding: 0.682rem; - background-color: alpha(@color2, 0.5); - color: alpha(@color7, 1.5); +background-color: @noti-bg; + color: @color2; font-weight: bold; } @@ -106,22 +111,22 @@ widget { .overview-search-result-btn:hover, .overview-search-result-btn:focus { - background-color: alpha(@color7, 0.4); + background-color: alpha(@color7, 0.9); color: alpha(@color0, 0.7); } .overview-search-result-btn:active { - background-color: alpha(@color7, 0.4); + background-color: alpha(@color7, 0.9); color: @color4; } .overview-tasks { border-radius: 1.705rem; -gtk-outline-radius: 1.705rem; - border-top: 1px solid @color7; - border-left: 1px solid @color7; - border-right: 1px solid @color7; - border-bottom: 1px solid @color7; + border-top: 1px solid @border-color; + border-left: 1px solid @border-color-alt; + border-right: 1px solid @border-color-alt; + border-bottom: 1px solid @border-color; box-shadow: 0px 2px 3px @color5; margin: 0.476rem; padding: 0.341rem; diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 7ffd702e..6dc461a8 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -14,6 +14,7 @@ $UserScripts = $HOME/.config/hypr/UserScripts # rofi App launcher #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, A, exec, pkill rofi || true && ags -t 'overview' bind = $mainMod, Return, exec, $term # Launch terminal bind = $mainMod, T, exec, $files diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 0afbf4f7..1946cc27 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -30,7 +30,6 @@ bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwi bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager bind = $mainMod SHIFT, N, exec, swaync-client -t -sw # swayNC panel bind = SHIFT, ALT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Switch Keyboard Layout -bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' # FEATURES / EXTRAS (UserScripts) bind = $mainMod, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 6c9f610f..6d6c57c9 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -9,6 +9,7 @@ dark_wallpapers="$wallpaper_base_path/Dark" light_wallpapers="$wallpaper_base_path/Light" hypr_config_path="$HOME/.config/hypr" swaync_style="$HOME/.config/swaync/style.css" +ags_style="$HOME/.config/ags/user/style.css" SCRIPTSDIR="$HOME/.config/hypr/scripts" notif="$HOME/.config/swaync/images/bell.png" dark_rofi_pywal="$HOME/.cache/wal/colors-rofi-dark.rasi" @@ -74,6 +75,15 @@ else sed -i '/@define-color noti-bg-alt/s/#.*;/#F0F0F0;/' "${swaync_style}" fi +# ags color change +if [ "$next_mode" = "Dark" ]; then + sed -i '/@define-color noti-bg/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(0, 0, 0, 0.8);/' "${ags_style}" + sed -i '/@define-color noti-bg-alt/s/#.*;/#111111;/' "${ags_style}" +else + sed -i '/@define-color noti-bg/s/rgba([0-9]*,\s*[0-9]*,\s*[0-9]*,\s*[0-9.]*);/rgba(255, 255, 255, 0.9);/' "${ags_style}" + sed -i '/@define-color noti-bg-alt/s/#.*;/#F0F0F0;/' "${ags_style}" +fi + # Set Dynamic Wallpaper for Dark or Light Mode if [ "$next_mode" = "Dark" ]; then next_wallpaper="$(find "${dark_wallpapers}" -type f \( -iname "*.jpg" -o -iname "*.png" \) -print0 | shuf -n1 -z | xargs -0)" -- cgit v1.2.3 From ae0629bc443e0752c01646972a6dc5e4cea9c9f7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 7 May 2024 18:09:03 +0900 Subject: small tweak / bug fix --- config/hypr/UserConfigs/Startup_Apps.conf | 1 + config/hypr/UserConfigs/UserKeybinds.conf | 2 ++ config/hypr/scripts/RefreshNoWaybar.sh | 3 +++ 3 files changed, 6 insertions(+) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index 78d06363..2f529d61 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/UserConfigs/Startup_Apps.conf @@ -23,6 +23,7 @@ exec-once = $scriptsDir/Polkit.sh exec-once = waybar & exec-once = nm-applet --indicator & exec-once = swaync & +exec-once = ags & #exec-once = blueman-applet & #exec-once = rog-control-center & diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 6dc461a8..eede1669 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -14,6 +14,8 @@ $UserScripts = $HOME/.config/hypr/UserScripts # rofi App launcher #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 + +# ags overview bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' bind = $mainMod, Return, exec, $term # Launch terminal diff --git a/config/hypr/scripts/RefreshNoWaybar.sh b/config/hypr/scripts/RefreshNoWaybar.sh index 689bccf0..42d67adc 100755 --- a/config/hypr/scripts/RefreshNoWaybar.sh +++ b/config/hypr/scripts/RefreshNoWaybar.sh @@ -25,6 +25,9 @@ for _prs in "${_ps[@]}"; do fi done +# quit ags +ags -q + # Pywal refresh ${SCRIPTSDIR}/PywalSwww.sh & -- cgit v1.2.3 From 2ee1d627c7b9f37f73460e48915d54ec4a5f09b5 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 7 May 2024 21:43:46 +0900 Subject: adjustment of rofi configs, disabled Thunar silent move to workspace 3 --- config/hypr/UserConfigs/WindowRules.conf | 2 +- config/rofi/config-compact.rasi | 13 +- config/rofi/config-long.rasi | 5 +- config/rofi/config-rofi-Beats.rasi | 2 +- config/rofi/config-waybar-style.rasi | 5 +- config/rofi/config.rasi | 9 +- config/rofi/resolution/1080p/config.rasi | 228 ------------------------------- config/rofi/resolution/1440p/config.rasi | 11 +- 8 files changed, 31 insertions(+), 244 deletions(-) delete mode 100755 config/rofi/resolution/1080p/config.rasi mode change 100644 => 100755 config/rofi/resolution/1440p/config.rasi (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 2ec9aba6..4fed18d4 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -28,7 +28,7 @@ windowrulev2 = workspace 2, class:^([Ff]irefox)$ windowrulev2 = workspace 2, class:^(org.mozilla.firefox)$ windowrulev2 = workspace 2, class:^([Ff]irefox-esr)$ 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 5 silent, class:^([Ss]team)$,title:^([Ss]team)$ windowrulev2 = workspace 5 silent, class:^(lutris)$ diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index e35ec79d..2c72252e 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -10,32 +10,31 @@ configuration { /* ---- Window ---- */ window { - width: 24%; + width: 50%; border-radius: 15px; } /* ---- Inputbar ---- */ inputbar { - background-image: url("~/.config/rofi/.current_wallpaper", width); + background-image: url("~/.config/rofi/.current_wallpaper", width); } /* ---- Imagebox ---- */ imagebox { orientation: vertical; - children: - [ "entry", "listview"]; + children: [ "entry", "listview"]; } /* ---- Entry input ---- */ entry { - width: 18%; + width: 23%; placeholder: "๏„ View / Edit Hyprland Configs"; } /* ---- Listview ---- */ listview { - columns: 1; - lines: 10; + columns: 2; + lines: 5; spacing: 4px; scrollbar: false; border-radius: 12px; diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index b75d3d5e..2341e5f6 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 50%; + width: 50%; } /* ---- Entry ---- */ @@ -16,5 +16,6 @@ entry { /* ---- Listview ---- */ listview { columns: 1; - lines: 10; + lines: 8; + scrollbar: true; } \ No newline at end of file diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index efd67033..82de4a6c 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -10,5 +10,5 @@ entry { /* ---- Listview ---- */ listview { - lines: 10; + lines: 6; } \ No newline at end of file diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index 55c61567..aebe6861 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -22,6 +22,7 @@ entry { /* ---- Listview ---- */ listview { columns: 2; - lines: 8; - scrollbar: false; + lines: 6; + scrollbar: true; } + diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 5a161f29..23fe2bcf 100755 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -141,6 +141,14 @@ button selected { text-color: @text-selected; } +/* ---- Scrollbar ---- */ +scrollbar { + width: 4px ; + border: 0; + handle-color: @border-color; + handle-width: 8px ; + padding: 0; +} /* ---- Elements ---- */ element { @@ -152,7 +160,6 @@ element { cursor: pointer; } - element normal.normal { background-color: inherit; text-color: inherit; diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi deleted file mode 100755 index 5a161f29..00000000 --- a/config/rofi/resolution/1080p/config.rasi +++ /dev/null @@ -1,228 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config 1080p */ - -/* ---- Configuration ---- */ - -configuration { - modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 12"; - show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; - drun-display-format: "{name}"; - hover-select: true; - me-select-entry: "MouseSecondary"; - me-accept-entry: "MousePrimary"; - window-format: "{w} ยท {c} ยท {t}"; - dpi: 1; -} - -/* ---- Load pywal colors ---- */ -@theme "~/.cache/wal/colors-rofi-dark.rasi" - -/* ---- Global Properties ---- */ -* { - - background-alt: @selected-active-background; // Buttons backgroundr - selected: @selected-urgent-background; // Button selected - active: @selected-normal-background; // Window activated - urgent: @selected; // When hovering the activated window (maybe more?) - - text-selected: @background; - text-color: @foreground; - border-color: @selected; -} - -/* ---- Window ---- */ -window { - // Default - enabled: true; - fullscreen: false; - transparency: "real"; - cursor: "default"; - spacing: 0px; - border: 2px; - border-radius: 30px; - location: center; - anchor: center; - - // Style Values - width: 50%; - background-color: #00000099; -} - -/* ----- Main Box ----- */ -mainbox { - enabled: true; - orientation: vertical; - children: [ "inputbar", "listbox" ]; - background-color: transparent; -} - - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - padding: 10px 10px 200px 10px; - margin: 10px; - background-color: transparent; - border-radius: 25px; - orientation: horizontal; - children: ["entry", "dummy", "mode-switcher" ]; - background-image: url("~/.config/rofi/.current_wallpaper", width); -} - -/* ---- Entry input ---- */ -entry { - enabled: true; - expand: false; - width: 300px; - padding: 10px; - border-radius: 12px; - background-color: @background-alt; - text-color: inherit; - cursor: text; - placeholder: "๏€‚ Search "; // << Search symbol - placeholder-color: inherit; -} - -/* ---- Listbox ---- */ -listbox { - spacing: 10px; - padding: 10px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/* ---- Listview ---- */ -listview { - enabled: true; - columns: 2; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 10px; - background-color: transparent; - -// Adapt rofi theme - border: 0px; -} - -/* ---- Dummy ---- */ -dummy { - expand: true; - background-color: transparent; -} - -/* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; -} -button { - width: 5%; - padding: 12px; - border-radius: 12px; - background-color: @background-alt; - text-color: inherit; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @text-selected; -} - - -/* ---- Elements ---- */ -element { - enabled: true; - spacing: 10px; - padding: 4px; - border-radius: 10px; - background-color: transparent; - cursor: pointer; -} - - -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} - -element selected.normal { - background-color: @selected; - text-color: @text-selected; -} -element selected.urgent { - background-color: @urgent; - text-color: @text-selected; -} -element selected.active { - background-color: @urgent; - text-color: @text-selected; -} -// Adapt rofi theme -element alternate.normal { - background-color: transparent; - text-color: inherit; -} -element alternate.urgent { - background-color: transparent; - text-color: inherit; -} -element alternate.active { - background-color: transparent; - text-color: inherit; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 36px; - cursor: inherit; -} -element-text { - background-color: transparent; - font: "Fira Code SemiBold 14"; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - -} - -/* ---- Message ---- */ -message { - background-color: transparent; - border: 0px; -} -textbox { - padding: 12px; - border-radius: 10px; - background-color: @background-alt; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background-alt; - text-color: @foreground; -} diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi old mode 100644 new mode 100755 index 1ed79730..75fce031 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -107,7 +107,7 @@ listview { scrollbar: false; layout: vertical; reverse: false; - fixed-height: true; + fixed-height: false; fixed-columns: true; spacing: 10px; background-color: transparent; @@ -141,6 +141,14 @@ button selected { text-color: @text-selected; } +/* ---- Scrollbar ---- */ +scrollbar { + width: 4px ; + border: 0; + handle-color: @border-color; + handle-width: 8px ; + padding: 0; +} /* ---- Elements ---- */ element { @@ -152,7 +160,6 @@ element { cursor: pointer; } - element normal.normal { background-color: inherit; text-color: inherit; -- cgit v1.2.3 From b9e74b38214fb639f8f4ba85462929a60e58bf77 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Tue, 7 May 2024 20:00:47 +0530 Subject: window-rules: add size rules, for GNOME-46 --- config/hypr/UserConfigs/WindowRules.conf | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 4fed18d4..671b53ce 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -10,11 +10,11 @@ windowrule = float, onedriver|onedriver-launcher windowrule = float, eog windowrule = float, zoom windowrule = float, rofi -windowrule = float, gnome-system-monitor|org.gnome.SystemMonitor +windowrule = float, ^(gnome-system-monitor|org.gnome.SystemMonitor)$ windowrule = float, yad windowrule = float, ^(wihotspot-gui)$ # wifi hotspot windowrule = float, ^(evince)$ # document viewer -windowrule = float, ^(file-roller)$ # archive manager +windowrule = float, ^(file-roller|org.gnome.FileRoller)$ # archive manager #windowrule = noblur,gamescope #windowrule = fullscreen,gamescope #windowrule = workspace 6 silent,^(gamescope)$ @@ -82,9 +82,14 @@ windowrulev2 = opacity 0.9 0.8, class:^(org.telegram.desktop)$ 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 +windowrulev2 = opacity 0.82 0.75, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$ +windowrulev2 = opacity 0.9 0.8, class:^(xdg-desktop-portal-gtk)$ # gnome-keyring gui # windowrule v2 - size -windowrulev2=size 70% 70%,class:^(org.gnome.SystemMonitor)$ +windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$ +windowrulev2 = size 70% 70%, class:^(xdg-desktop-portal-gtk)$ +windowrulev2 = size 70% 70%, class:^(evince)$ +windowrulev2 = size 60% 70%, class:^(file-roller|org.gnome.FileRoller)$ #layerrule = unset,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$ -- cgit v1.2.3 From 48cdea1843899ddaabd0cbb19d7b69fd6635acbf Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Tue, 7 May 2024 20:22:04 +0530 Subject: window-rules: cleanup by using pattern matching --- config/hypr/UserConfigs/WindowRules.conf | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 671b53ce..c07094bf 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -27,7 +27,7 @@ windowrulev2 = workspace 1, class:^([Tt]hunderbird)$ windowrulev2 = workspace 2, class:^([Ff]irefox)$ windowrulev2 = workspace 2, class:^(org.mozilla.firefox)$ windowrulev2 = workspace 2, class:^([Ff]irefox-esr)$ -windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$ +windowrulev2 = workspace 2, class:^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstable)?)$ #windowrulev2 = workspace 3, class:^([Tt]hunar)$ windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$ windowrulev2 = workspace 5 silent, class:^([Ss]team)$,title:^([Ss]team)$ @@ -42,24 +42,16 @@ 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) +windowrulev2 = float, class:(codium|codium-url-handler|VSCodium), title:(Add Folder to Workspace) # windowrule v2 - opacity #enable as desired 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-dev)$ +windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser(-beta|-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.9 0.8, class:^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstable)?)$ +windowrulev2 = opacity 0.9 0.8, class:^(google-chrome(-beta|-dev|-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)$ @@ -68,14 +60,12 @@ 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.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:^(VSCodium|codium-url-handler)$ 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:^(org.gnome.Nautilus)$ -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|code-url-handler)$ windowrulev2 = opacity 0.9 0.8, class:^(jetbrains-studio)$ # Android Studio windowrulev2 = opacity 0.94 0.86, class:^(discord)$ windowrulev2 = opacity 0.9 0.8, class:^(org.telegram.desktop)$ -- cgit v1.2.3