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/WindowRules.conf') 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/WindowRules.conf') 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 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/WindowRules.conf') 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/WindowRules.conf') 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/WindowRules.conf') 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