From 78bfcb26dcbe7d95735f24c7ec121487fbd69283 Mon Sep 17 00:00:00 2001 From: Daniel <48409433+darkeddie@users.noreply.github.com> Date: Wed, 15 May 2024 01:20:32 +0000 Subject: Fix: error in line 25 of WindowRules.conf Changed incorrect ')' to ']' --- config/hypr/UserConfigs/WindowRules.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 09cc8ec2..8a660e4c 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -22,7 +22,7 @@ windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ # windowrule v2 - float windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$ -windowrulev2 = float, class:([Zz)oom|onedriver|onedriver-launcher)$ +windowrulev2 = float, class:([Zz]oom|onedriver|onedriver-launcher)$ 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) -- cgit v1.2.3 From a3299f5e0e40eed223e815b5c9177cf4e023d7d6 Mon Sep 17 00:00:00 2001 From: Daniel <48409433+darkeddie@users.noreply.github.com> Date: Wed, 15 May 2024 03:12:06 +0000 Subject: Add floating window rules for non-main Steam windows Friends list and settings tiling can be annoying --- config/hypr/UserConfigs/WindowRules.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 8a660e4c..8cae3eac 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -40,6 +40,7 @@ windowrulev2 = float, class:^(evince)$ # document viewer windowrulev2 = float, class:^(file-roller|org.gnome.FileRoller)$ # archive manager windowrulev2 = float, class:^([Bb]aobab|org.gnome.[Bb]aobab)$ # Disk usage analyzer windowrulev2 = float, title:(Kvantum Manager) +windowrulev2 = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$ # windowrule v2 - opacity #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ -- cgit v1.2.3 From 2ec0ed3809171f08138be2020f97d500fff91667 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 15 May 2024 12:24:28 +0900 Subject: updated weather icons --- config/hypr/UserScripts/Weather.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'config') diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py index 5cd11a66..b1b21fa3 100755 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -8,12 +8,12 @@ import os # original code https://gist.github.com/Surendrajat/ff3876fd2166dd86fb71180f4e9342d7 # weather icons weather_icons = { - "sunnyDay": "", - "clearNight": "", - "cloudyFoggyDay": "", - "cloudyFoggyNight": "", - "rainyDay": "", - "rainyNight": "", + "sunnyDay": "󰖙", + "clearNight": "󰖔", + "cloudyFoggyDay": "", + "cloudyFoggyNight": "", + "rainyDay": "", + "rainyNight": "", "snowyIcyDay": "", "snowyIcyNight": "", "severe": "", -- cgit v1.2.3 From 899e6495867b77babf648f27cd50ad3df8b43133 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 15 May 2024 12:57:30 +0900 Subject: added a windows rule v2 position --- config/hypr/UserConfigs/WindowRules.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 8a660e4c..bee65d94 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -22,7 +22,7 @@ windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ # windowrule v2 - float windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$ -windowrulev2 = float, class:([Zz]oom|onedriver|onedriver-launcher)$ +windowrulev2 = float, class:([Zz)oom|onedriver|onedriver-launcher)$ 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) @@ -41,6 +41,10 @@ windowrulev2 = float, class:^(file-roller|org.gnome.FileRoller)$ # archive manag windowrulev2 = float, class:^([Bb]aobab|org.gnome.[Bb]aobab)$ # Disk usage analyzer windowrulev2 = float, title:(Kvantum Manager) +# windowrule v2 - position +windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress) +windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files) + # windowrule v2 - opacity #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser(-beta|-dev)?)$ -- cgit v1.2.3 From cf4e7e595c5b4660d73be38324d78a31c0d36cc1 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 15 May 2024 13:31:07 +0900 Subject: Fixed alignment of Weather.py for hyprlock - Man this is getting annoying already lmao --- config/hypr/UserScripts/Weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py index b1b21fa3..39f823af 100755 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -123,7 +123,7 @@ out_data = { } print(json.dumps(out_data)) -simple_weather =f"{icon} {status}\n" + \ +simple_weather =f"{icon} {status}\n" + \ f" {temp} ({temp_feel_text})\n" + \ f"{wind_text} \n" + \ f"{humidity_text} \n" + \ -- cgit v1.2.3 From eadfcd61790b1b01c2ff3147d8e9985b4b0449c1 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 15 May 2024 14:50:10 +0900 Subject: Updated windows rules.conf Create a category called windowrules v2 move to workspace (silent) --- config/hypr/UserConfigs/WindowRules.conf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index ae3ef402..50db519d 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -13,16 +13,18 @@ windowrulev2 = workspace 2, class:^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-es 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)$ -windowrulev2 = workspace 5 silent, class:^(lutris)$ -windowrulev2 = workspace 6 silent, class:^(virt-manager)$ +windowrulev2 = workspace 5, class:^([Ss]team)$ +windowrulev2 = workspace 5, class:^([Ll]utris)$ windowrulev2 = workspace 7 silent, class:^(discord)$ windowrulev2 = workspace 7 silent, class:^(WebCord)$ + +# windowrule v2 move to workspace (silent) +windowrulev2 = workspace 6 silent, class:^(virt-manager)$ windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ # windowrule v2 - float windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$ -windowrulev2 = float, class:([Zz)oom|onedriver|onedriver-launcher)$ +windowrulev2 = float, class:([Zz]oom|onedriver|onedriver-launcher)$ 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) -- cgit v1.2.3 From 5009c4cb9b85f8de6b45d38dd7060b49e8919f6e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 15 May 2024 14:50:59 +0900 Subject: Bumping to v2.2.12 for development --- config/hypr/v2.2.11 | 5 ----- config/hypr/v2.2.12 | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 config/hypr/v2.2.11 create mode 100644 config/hypr/v2.2.12 (limited to 'config') diff --git a/config/hypr/v2.2.11 b/config/hypr/v2.2.11 deleted file mode 100644 index 31b3414d..00000000 --- a/config/hypr/v2.2.11 +++ /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 diff --git a/config/hypr/v2.2.12 b/config/hypr/v2.2.12 new file mode 100644 index 00000000..31b3414d --- /dev/null +++ b/config/hypr/v2.2.12 @@ -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 -- cgit v1.2.3 From 06739c6b1fd121e9d3c53f907f4af4a096cb9a3b Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 16 May 2024 01:56:58 +0900 Subject: change some hyprland settings: dwindle default layout and changed animations. increased gaps in between windows --- config/hypr/UserConfigs/UserSettings.conf | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index b3193e49..f8c8c2a2 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -25,7 +25,7 @@ master { general { sensitivity=1.00 apply_sens_to_raw=1 - gaps_in = 4 + gaps_in = 6 gaps_out = 8 border_size = 2 resize_on_border = true @@ -33,7 +33,7 @@ general { col.active_border = $color0 $color2 $color9 $color12 $color15 90deg col.inactive_border = $backgroundCol - layout = master + layout = dwindle } group { @@ -45,7 +45,7 @@ group { } decoration { - rounding = 8 + rounding = 10 active_opacity = 1.0 inactive_opacity = 0.9 @@ -74,25 +74,19 @@ decoration { animations { enabled = yes - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 - bezier = linear, 0.0, 0.0, 1.0, 1.0 bezier = wind, 0.05, 0.9, 0.1, 1.05 bezier = winIn, 0.1, 1.1, 0.1, 1.1 bezier = winOut, 0.3, -0.3, 0, 1 - bezier = slow, 0, 0.85, 0.3, 1 - bezier = overshot, 0.7, 0.6, 0.1, 1.1 - bezier = bounce, 1.1, 1.6, 0.1, 0.85 - bezier = sligshot, 1, -1, 0.15, 1.25 - bezier = nice, 0, 6.9, 0.5, -4.20 + bezier = liner, 1, 1, 1, 1 - animation = windowsIn, 1, 5, slow, popin - animation = windowsOut, 1, 5, winOut, popin + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 6, winIn, slide + animation = windowsOut, 1, 5, winOut, slide animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 10, linear - animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors - animation = fade, 1, 5, overshot + animation = border, 1, 1, liner + animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors + animation = fade, 1, 10, default animation = workspaces, 1, 5, wind - animation = windows, 1, 5, bounce, popin } input { -- cgit v1.2.3 From 62d1d91792fe258147dbd9454fd19722aef10ea6 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 16 May 2024 12:14:24 +0900 Subject: updated prinscr + 10 secs timer. It is now super CTRL SHIFT PrintScr --- config/hypr/configs/Keybinds.conf | 2 +- config/hypr/scripts/KeyHints.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 2cdd9cde..56255087 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -75,7 +75,7 @@ bind = , xf86audiostop, exec, $scriptsDir/MediaCtrl.sh --stop bind = $mainMod, Print, exec, $scriptsDir/ScreenShot.sh --now bind = $mainMod SHIFT, Print, exec, $scriptsDir/ScreenShot.sh --area bind = $mainMod CTRL, Print, exec, $scriptsDir/ScreenShot.sh --in5 #screenshot in 5 secs -bind = $mainMod ALT, Print, exec, $scriptsDir/ScreenShot.sh --in10 #screenshot in 10 secs +bind = $mainMod CTRL SHIFT, Print, exec, $scriptsDir/ScreenShot.sh --in10 #screenshot in 10 secs bind = ALT, Print, exec, $scriptsDir/ScreenShot.sh --active #take screenshot of active window # screenshot with swappy (another screenshot tool) diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index d6dd4049..a6d13aa4 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -58,6 +58,8 @@ yad --width=$dynamic_width --height=$dynamic_height \ " Print" "screenshot" "(grim)" \ " Shift Print" "screenshot region" "(grim + slurp)" \ " Shift S" "screenshot region" "(swappy)" \ +" CTRL Print" "screenshot timer 5 secs " "(grim)" \ +" CTRL SHIFT Print" "screenshot timer 10 secs " "(grim)" \ "ALT Print" "Screenshot active window" "active window only" \ "CTRL ALT P" "power-menu" "(wlogout)" \ "CTRL ALT L" "screen lock" "(hyprlock)" \ -- cgit v1.2.3 From 182149bbfd13da76ca962ae1e5bc34eadb94139e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 17 May 2024 15:36:05 +0900 Subject: created a master rofi config --- config/rofi/config.rasi | 231 +----------------------------- config/rofi/master-config.rasi | 235 +++++++++++++++++++++++++++++++ config/rofi/resolution/1080p/config.rasi | 230 +----------------------------- config/rofi/resolution/1440p/config.rasi | 217 ++-------------------------- 4 files changed, 251 insertions(+), 662 deletions(-) create mode 100644 config/rofi/master-config.rasi (limited to 'config') diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 2042f9c5..88db7ba9 100755 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,236 +1,13 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ /* Main Config 1080p */ -/* ---- Configuration ---- */ +@import "~/.config/rofi/master-config.rasi" +/* ---- 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 wallust colors ---- */ -@theme "~/.config/rofi/wallust/colors-rofi.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: @background; -} - -/* ----- Main Box ----- */ -mainbox { - padding: 15px; - 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: 20%; - padding: 10px; - border-radius: 12px; - background-color: @selected; - text-color: @text-selected; - 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: false; - fixed-columns: true; - spacing: 10px; - background-color: transparent; - -// Adapt rofi theme - border: 0px; -} - -/* ---- Dummy ---- */ -dummy { - expand: true; - background-color: transparent; + font: "Fira Code SemiBold 12"; } -/* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; -} -button { - width: 5%; - padding: 12px; - border-radius: 12px; - background-color: @text-selected; - text-color: @text-color; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @text-selected; -} - -/* ---- Scrollbar ---- */ -scrollbar { - width: 4px ; - border: 0; - handle-color: @border-color; - handle-width: 8px ; - padding: 0; -} - -/* ---- Elements ---- */ -element { - enabled: true; - spacing: 10px; - padding: 10px; - border-radius: 12px; - 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: @background; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background-alt; - text-color: @background; + font: "Fira Code SemiBold 14"; } diff --git a/config/rofi/master-config.rasi b/config/rofi/master-config.rasi new file mode 100644 index 00000000..5b7f5add --- /dev/null +++ b/config/rofi/master-config.rasi @@ -0,0 +1,235 @@ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Master Config */ + +/* ---- Configuration ---- */ + +configuration { + modi: "drun,run,filebrowser"; + font: "Fira Code SemiBold 13"; + 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 wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.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: @background; +} + +/* ----- Main Box ----- */ +mainbox { + padding: 15px; + 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: 20%; + padding: 10px; + border-radius: 12px; + background-color: @selected; + text-color: @text-selected; + 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: false; + 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: @text-selected; + text-color: @text-color; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @text-selected; +} + +/* ---- Scrollbar ---- */ +scrollbar { + width: 4px ; + border: 0; + handle-color: @border-color; + handle-width: 8px ; + padding: 0; +} + +/* ---- Elements ---- */ +element { + enabled: true; + spacing: 10px; + padding: 10px; + border-radius: 12px; + 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 16"; + 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: @background; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background-alt; + text-color: @background; +} diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 2042f9c5..9b699fe4 100755 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -1,236 +1,12 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ /* Main Config 1080p */ -/* ---- Configuration ---- */ +@import "~/.config/rofi/master-config.rasi" +/* ---- 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 wallust colors ---- */ -@theme "~/.config/rofi/wallust/colors-rofi.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: @background; -} - -/* ----- Main Box ----- */ -mainbox { - padding: 15px; - enabled: true; - orientation: vertical; - children: [ "inputbar", "listbox" ]; - background-color: transparent; + font: "Fira Code SemiBold 12"; } -/* ---- 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: 20%; - padding: 10px; - border-radius: 12px; - background-color: @selected; - text-color: @text-selected; - 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: false; - 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: @text-selected; - text-color: @text-color; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @text-selected; -} - -/* ---- Scrollbar ---- */ -scrollbar { - width: 4px ; - border: 0; - handle-color: @border-color; - handle-width: 8px ; - padding: 0; -} - -/* ---- Elements ---- */ -element { - enabled: true; - spacing: 10px; - padding: 10px; - border-radius: 12px; - 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: @background; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background-alt; - text-color: @background; -} diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index 3f7a2dc6..f95e31a0 100755 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -3,233 +3,34 @@ /* ---- Configuration ---- */ -configuration { - modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 13"; - 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 "~/.config/rofi/wallust/colors-rofi.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?) +@import "~/.config/rofi/master-config.rasi" - text-selected: @background; - text-color: @foreground; - border-color: @selected; +configuration { + font: "Fira Code SemiBold 13"; } - /* ---- 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: 40%; - background-color: @background; -} - -/* ----- Main Box ----- */ -mainbox { - padding: 15px; - 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); + width: 40%; } /* ---- Entry input ---- */ entry { - enabled: true; - expand: false; - width: 18%; - padding: 10px; - border-radius: 12px; - background-color: @selected; - text-color: @text-selected; - cursor: text; - placeholder: "🖥️ Search "; // << Search symbol - placeholder-color: inherit; + width: 18%; } -/* ---- Listbox ---- */ -listbox { - spacing: 10px; - padding: 10px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} + /* ---- Listview ---- */ listview { - enabled: true; - columns: 2; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: false; - fixed-columns: true; - spacing: 10px; - background-color: transparent; - -// Adapt rofi theme - border: 0px; -} - -/* ---- Dummy ---- */ -dummy { - expand: true; - background-color: transparent; + lines: 8; } /* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; -} button { - width: 110px; - padding: 12px; - border-radius: 12px; - background-color: @text-selected; - text-color: @text-color; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @text-selected; + width: 110px; } -/* ---- Scrollbar ---- */ -scrollbar { - width: 4px ; - border: 0; - handle-color: @border-color; - handle-width: 8px ; - padding: 0; -} - -/* ---- Elements ---- */ -element { - enabled: true; - spacing: 10px; - padding: 10px; - border-radius: 12px; - 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 16"; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - + font: "Fira Code SemiBold 16"; } -/* ---- Message ---- */ -message { - background-color: transparent; - border: 0px; -} -textbox { - padding: 12px; - border-radius: 10px; - background-color: @background-alt; - text-color: @background; - vertical-align: 0.5; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background-alt; - text-color: @background; -} -- cgit v1.2.3 From 364491709366b195d9fb2ce0ca3bae6e182dbabf Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 18 May 2024 18:26:30 +0900 Subject: some tidying up Rofi Configs --- config/rofi/.current_wallpaper | 2 +- config/rofi/config-clipboard.rasi | 10 ++++++-- config/rofi/config-emoji.rasi | 10 ++++++-- config/rofi/config-long.rasi | 21 ---------------- config/rofi/config-long.rasi -1 | 5 ++++ config/rofi/config-rofi-Beats.rasi | 1 - config/rofi/config-waybar-style.rasi | 1 - config/rofi/config-zsh-theme.rasi | 3 +-- config/rofi/config.rasi | 3 ++- config/rofi/master-config.rasi | 6 ++--- config/rofi/resolution/1080p/config.rasi | 4 ++- config/rofi/resolution/1440p/config.rasi | 5 +--- config/rofi/wallust/colors-rofi.rasi | 42 ++++++++++++++++---------------- 13 files changed, 52 insertions(+), 61 deletions(-) delete mode 100644 config/rofi/config-long.rasi create mode 100644 config/rofi/config-long.rasi -1 (limited to 'config') diff --git a/config/rofi/.current_wallpaper b/config/rofi/.current_wallpaper index f2470dcf..6d4a09c3 120000 --- a/config/rofi/.current_wallpaper +++ b/config/rofi/.current_wallpaper @@ -1 +1 @@ -/home/ja/Pictures/wallpapers/Fantasy-Waterfall.png \ No newline at end of file +/home/ja/Pictures/wallpapers/Scifi-Room.png \ No newline at end of file diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index 9573262e..34b471cb 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -1,10 +1,16 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ -/* Clipboard Config (long) - Clipboard */ +/* Clipboard Config - Clipboard */ -@import "~/.config/rofi/config-long.rasi" +@import "~/.config/rofi/config.rasi" /* ---- Entry ---- */ entry { width: 45%; placeholder: "📋 Search Clipboard **note** 👀 CTRL Del - Cliphist del or Alt Del - cliphist wipe"; } + +/* ---- Listview ---- */ +listview { + columns: 1; + lines: 8; +} \ No newline at end of file diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi index 3f0be0e4..028bc9d4 100644 --- a/config/rofi/config-emoji.rasi +++ b/config/rofi/config-emoji.rasi @@ -1,10 +1,16 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ -/* Main Config (long) - emoji */ +/* Main Config - emoji */ -@import "~/.config/rofi/config-long.rasi" +@import "~/.config/rofi/config.rasi" /* ---- Entry ---- */ entry { width: 45%; placeholder: "💫 Search Emoji's **note** 👀 Click or Return to choose | Ctrl V to Paste"; } + +/* ---- Listview ---- */ +listview { + columns: 1; + lines: 8; +} \ No newline at end of file diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi deleted file mode 100644 index 2341e5f6..00000000 --- a/config/rofi/config-long.rasi +++ /dev/null @@ -1,21 +0,0 @@ -/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ -/* Main Config (long) */ - -@import "~/.config/rofi/config.rasi" - -/* ---- Window ---- */ -window { - width: 50%; -} - -/* ---- Entry ---- */ -entry { - placeholder: "🔎 Search "; -} - -/* ---- Listview ---- */ -listview { - columns: 1; - lines: 8; - scrollbar: true; -} \ No newline at end of file diff --git a/config/rofi/config-long.rasi -1 b/config/rofi/config-long.rasi -1 new file mode 100644 index 00000000..159a7eaf --- /dev/null +++ b/config/rofi/config-long.rasi -1 @@ -0,0 +1,5 @@ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Main Config (long) */ + +@import "~/.config/rofi/config.rasi" + diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index a45006c8..2bf99e2b 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -11,5 +11,4 @@ entry { /* ---- Listview ---- */ listview { lines: 6; - scrollbar: true; } diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index 9dc8b74c..3be6c9e9 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -23,5 +23,4 @@ entry { listview { columns: 2; lines: 6; - scrollbar: true; } diff --git a/config/rofi/config-zsh-theme.rasi b/config/rofi/config-zsh-theme.rasi index ffa8bd14..2684d109 100644 --- a/config/rofi/config-zsh-theme.rasi +++ b/config/rofi/config-zsh-theme.rasi @@ -39,9 +39,8 @@ entry { /* ---- Listview ---- */ listview { columns: 3; - lines: 4; + lines: 3; spacing: 4px; - scrollbar: false; border-radius: 10px; } diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 88db7ba9..59576860 100755 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -9,5 +9,6 @@ configuration { } element-text { - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 14"; } + diff --git a/config/rofi/master-config.rasi b/config/rofi/master-config.rasi index 5b7f5add..4ffa7ac8 100644 --- a/config/rofi/master-config.rasi +++ b/config/rofi/master-config.rasi @@ -5,7 +5,6 @@ configuration { modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 13"; show-icons: true; display-drun: "Apps"; display-run: "Run"; @@ -25,7 +24,7 @@ configuration { /* ---- Global Properties ---- */ * { - background-alt: @selected-active-background; // Buttons backgroundr + background-alt: @selected-active-background; // Buttons background selected: @selected-urgent-background; // Button selected active: @selected-normal-background; // Window activated urgent: @selected; // When hovering the activated window (maybe more?) @@ -105,7 +104,7 @@ listview { lines: 6; cycle: true; dynamic: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; fixed-height: false; @@ -207,7 +206,6 @@ element-icon { } element-text { background-color: transparent; - 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 9b699fe4..59576860 100755 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -8,5 +8,7 @@ configuration { font: "Fira Code SemiBold 12"; } - +element-text { + font: "Fira Code SemiBold 14"; +} diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index f95e31a0..b72c1001 100755 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -1,10 +1,9 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ /* Main Config 1440p */ -/* ---- Configuration ---- */ - @import "~/.config/rofi/master-config.rasi" +/* ---- Configuration ---- */ configuration { font: "Fira Code SemiBold 13"; } @@ -18,8 +17,6 @@ entry { width: 18%; } - - /* ---- Listview ---- */ listview { lines: 8; diff --git a/config/rofi/wallust/colors-rofi.rasi b/config/rofi/wallust/colors-rofi.rasi index 15a0b742..d1361a1e 100644 --- a/config/rofi/wallust/colors-rofi.rasi +++ b/config/rofi/wallust/colors-rofi.rasi @@ -1,28 +1,28 @@ * { -active-background: #A38A46; -active-foreground: #D1F8FD; -normal-background: #060402; -normal-foreground: #D1F8FD; -urgent-background: #CCBA98; -urgent-foreground: #D1F8FD; +active-background: #112D69; +active-foreground: #C8DFF1; +normal-background: #030915; +normal-foreground: #C8DFF1; +urgent-background: #386CB1; +urgent-foreground: #C8DFF1; -alternate-active-background: #94A7B8; -alternate-active-foreground: #D1F8FD; -alternate-normal-background: #060402; -alternate-normal-foreground: #D1F8FD; -alternate-urgent-background: #060402; -alternate-urgent-foreground: #D1F8FD; +alternate-active-background: #77659C; +alternate-active-foreground: #C8DFF1; +alternate-normal-background: #030915; +alternate-normal-foreground: #C8DFF1; +alternate-urgent-background: #030915; +alternate-urgent-foreground: #C8DFF1; -selected-active-background: #A38A46; -selected-active-foreground: #D1F8FD; -selected-normal-background: #B5EDF4; -selected-normal-foreground: #D1F8FD; -selected-urgent-background: #CCBA98; -selected-urgent-foreground: #D1F8FD; +selected-active-background: #112D69; +selected-active-foreground: #C8DFF1; +selected-normal-background: #A9C9E3; +selected-normal-foreground: #C8DFF1; +selected-urgent-background: #386CB1; +selected-urgent-foreground: #C8DFF1; -background-color: #060402; +background-color: #030915; background: rgba(0,0,0,0.7); -foreground: #B5EDF4; -border-color: #A38A46; +foreground: #A9C9E3; +border-color: #112D69; } -- cgit v1.2.3 From 988db9dc312d82066882ec210c88d7465687e3f4 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 May 2024 17:04:00 +0900 Subject: initial-boot.sh adjust for easy setting of themes and icons in the future --- config/hypr/initial-boot.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 162ad65f..794415aa 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -10,6 +10,11 @@ scriptsDir=$HOME/.config/hypr/scripts wallpaper=$HOME/Pictures/wallpapers/Fantasy-Waterfall.png waybar_style="$HOME/.config/waybar/style/[Dark] Latte-Wallust combined.css" kvantum_theme="Catppuccin-Mocha" +color_scheme="prefer-dark" +gtk_theme="Tokyonight-Dark-Moon-BL-LB" +icon_theme="Flat-Remix-Blue-Dark" +cursor_theme="Bibata-Modern-Ice" + swww="swww img" effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type grow --transition-pos 0.925,0.977 --transition-duration 2" @@ -25,10 +30,10 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then fi # initiate GTK dark mode and apply icon and cursor theme - gsettings set org.gnome.desktop.interface color-scheme prefer-dark > /dev/null 2>&1 & - gsettings set org.gnome.desktop.interface gtk-theme Tokyonight-Dark-Moon-BL-LB > /dev/null 2>&1 & - gsettings set org.gnome.desktop.interface icon-theme Flat-Remix-Blue-Dark > /dev/null 2>&1 & - gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface color-scheme $color_scheme > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface gtk-theme $gtk_theme > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface icon-theme $icon_theme > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface cursor-theme $cursor_theme > /dev/null 2>&1 & gsettings set org.gnome.desktop.interface cursor-size 24 > /dev/null 2>&1 & # initiate kvantum theme -- cgit v1.2.3 From d36bab863c2b850c588a1d27b296aa222549a49e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 May 2024 17:22:57 +0900 Subject: small waybar css styles tweaking --- config/waybar/style/[Dark] Half-Moon.css | 1 + .../waybar/style/[Dark] Latte-Wallust combined.css | 91 ++++++++++++---------- config/waybar/style/[Extra] Mauve.css | 2 +- 3 files changed, 54 insertions(+), 40 deletions(-) (limited to 'config') diff --git a/config/waybar/style/[Dark] Half-Moon.css b/config/waybar/style/[Dark] Half-Moon.css index 5bb872a0..5ae593bd 100644 --- a/config/waybar/style/[Dark] Half-Moon.css +++ b/config/waybar/style/[Dark] Half-Moon.css @@ -235,6 +235,7 @@ color: #F3F4F5; padding: 2px 15px; } +#custom-power_vertical, #keyboard-state { color: green; background: #0F1419; diff --git a/config/waybar/style/[Dark] Latte-Wallust combined.css b/config/waybar/style/[Dark] Latte-Wallust combined.css index ad8d1b7f..65afbb51 100644 --- a/config/waybar/style/[Dark] Latte-Wallust combined.css +++ b/config/waybar/style/[Dark] Latte-Wallust combined.css @@ -97,53 +97,66 @@ tooltip { padding-left: 4px; } +#taskbar, #workspaces { - padding: 0px 1px; - border-radius: 15px; - border:2px solid @border-color; - font-weight: bold; - font-style: normal; - opacity:0.8; - color:#FFFFFF; -} -#workspaces button { - color: #6E6A86; - box-shadow: none; - text-shadow: none; - border-radius: 30px; - 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); -} - -#workspaces button.active { - color: #ffd700; - border-radius: 50%; - background-color: black; - border-radius: 15px 15px 15px 15px; - 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); + background: #0F1419; + padding: 0px 1px; + border-radius: 15px; + border: 0px; + font-style: normal; + color: #0F1419; } -#workspaces button.focused { - color: #d8dee9; +#taskbar button, +#workspaces button { + 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); } -#workspaces button.urgent { - color: #11111b; - border-radius: 10px; +#taskbar button.active, +#workspaces button.active { + 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: #ffd700; - border-radius: 10px; - 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); + +} +@keyframes gradient_horizontal { +0% { + background-position: 0% 50%; + } +50% { + background-position: 100% 50%; + } +100% { + background-position: 0% 50%; + } +} + +@keyframes swiping { +0% { + background-position: 0% 200%; + } +100% { + background-position: 200% 200%; + } } #clock#2 { diff --git a/config/waybar/style/[Extra] Mauve.css b/config/waybar/style/[Extra] Mauve.css index 685025fc..448932c2 100644 --- a/config/waybar/style/[Extra] Mauve.css +++ b/config/waybar/style/[Extra] Mauve.css @@ -5,7 +5,7 @@ /* --- 👍 designed by https://github.com/CelestiaKai 👍 --- */ * { - font-family: "FiraCode Mono Nerd Font"; + font-family: "JetBrainsMono Nerd Font"; font-weight: bold; min-height: 0; /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ -- cgit v1.2.3 From 3a5945e3cc54b3e84308311a8c3e95b227134717 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 May 2024 19:44:36 +0900 Subject: tweaked swaync, clean up buttons swaync --- config/swaync/config.json | 16 ++++------------ config/swaync/style.css | 4 ++-- 2 files changed, 6 insertions(+), 14 deletions(-) (limited to 'config') diff --git a/config/swaync/config.json b/config/swaync/config.json index 64e24561..baf68066 100755 --- a/config/swaync/config.json +++ b/config/swaync/config.json @@ -64,15 +64,11 @@ "actions": [ { "label": "󰐥", - "command": "systemctl poweroff" - }, - { - "label": "󰜉", - "command": "systemctl reboot" + "command": "bash -c $HOME/.config/hypr/scripts/Wlogout.sh" }, { "label": "󰌾", - "command": "~/.config/hypr/scripts/LockScreen.sh" + "command": "bash -c $HOME/.config/hypr/scripts/LockScreen.sh" }, { "label": "󰍃", @@ -80,16 +76,12 @@ }, { "label": "󰀝", - "command": "~/.config/hypr/scripts/AirplaneMode.sh" + "command": "bash -c $HOME/.config/hypr/scripts/AirplaneMode.sh" }, { - "label": "󰕾", + "label": "󰝟", "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" }, - { - "label": "󰍬", - "command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle" - }, { "label": "󰂯", "command": "blueman-manager" diff --git a/config/swaync/style.css b/config/swaync/style.css index 6a4f565d..790bac39 100755 --- a/config/swaync/style.css +++ b/config/swaync/style.css @@ -65,7 +65,7 @@ .notification-action { - border: 2px solid @noti-border-color; + border: 1px solid @noti-border-color; border-top: none; border-radius: 10px; } @@ -161,7 +161,7 @@ .control-center { background: @noti-bg; - border: 2px solid @noti-border-color; + border: 1px solid @noti-border-color; color: @text-color; border-radius: 10px; } -- cgit v1.2.3 From 5304d9195c9d199045d6b5ee3fc58882b4d7a82d Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 May 2024 22:12:19 +0900 Subject: remove rofi-long as not needed --- config/rofi/config-long.rasi -1 | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 config/rofi/config-long.rasi -1 (limited to 'config') diff --git a/config/rofi/config-long.rasi -1 b/config/rofi/config-long.rasi -1 deleted file mode 100644 index 159a7eaf..00000000 --- a/config/rofi/config-long.rasi -1 +++ /dev/null @@ -1,5 +0,0 @@ -/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ -/* Main Config (long) */ - -@import "~/.config/rofi/config.rasi" - -- cgit v1.2.3 From 80e83f7fb7664f6969b0a5b6b0372651f7c81865 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 20 May 2024 01:08:30 +0900 Subject: wlogout style tweak --- config/wlogout/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/wlogout/style.css b/config/wlogout/style.css index cd07718d..362c2f3f 100644 --- a/config/wlogout/style.css +++ b/config/wlogout/style.css @@ -34,7 +34,7 @@ button:hover { margin: 30px; border-radius: 80px; transition: all 0.3s cubic-bezier(.55, 0.0, .28, 1.682), box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; - box-shadow: 0 0 50px @color9; + box-shadow: 0 0 50px @color7; } -- cgit v1.2.3 From 9a5fa868105d459da9dd6323accf7f7c50589dd7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 20 May 2024 10:49:22 +0900 Subject: reverted Latte-Wallust combined waybar css.. as it looks better --- .../waybar/style/[Dark] Latte-Wallust combined.css | 91 ++++++++++------------ 1 file changed, 39 insertions(+), 52 deletions(-) (limited to 'config') diff --git a/config/waybar/style/[Dark] Latte-Wallust combined.css b/config/waybar/style/[Dark] Latte-Wallust combined.css index 65afbb51..ad8d1b7f 100644 --- a/config/waybar/style/[Dark] Latte-Wallust combined.css +++ b/config/waybar/style/[Dark] Latte-Wallust combined.css @@ -97,66 +97,53 @@ tooltip { padding-left: 4px; } -#taskbar, #workspaces { - background: #0F1419; - padding: 0px 1px; - border-radius: 15px; - border: 0px; - font-style: normal; - color: #0F1419; -} - -#taskbar button, + padding: 0px 1px; + border-radius: 15px; + border:2px solid @border-color; + font-weight: bold; + font-style: normal; + opacity:0.8; + color:#FFFFFF; +} #workspaces button { - 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); + color: #6E6A86; + box-shadow: none; + text-shadow: none; + border-radius: 30px; + 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); } -#taskbar button.active, #workspaces button.active { - 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); + color: #ffd700; + border-radius: 50%; + background-color: black; + border-radius: 15px 15px 15px 15px; + 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); +} + +#workspaces button.focused { + color: #d8dee9; +} + +#workspaces button.urgent { + color: #11111b; + border-radius: 10px; } #workspaces button:hover { - 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); - -} -@keyframes gradient_horizontal { -0% { - background-position: 0% 50%; - } -50% { - background-position: 100% 50%; - } -100% { - background-position: 0% 50%; - } -} - -@keyframes swiping { -0% { - background-position: 0% 200%; - } -100% { - background-position: 200% 200%; - } + color: #ffd700; + border-radius: 10px; + 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); } #clock#2 { -- cgit v1.2.3 From f8571e98d90df097769efb9d8404806f413e438e Mon Sep 17 00:00:00 2001 From: Daniel <48409433+darkeddie@users.noreply.github.com> Date: Mon, 20 May 2024 02:30:01 +0000 Subject: Add Shuffle to RofiBeats.sh --- config/hypr/UserScripts/RofiBeats.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 1cf2a445..5753857b 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -79,11 +79,19 @@ play_online_music() { mpv --shuffle --vid=no "$link" } +# Main function for shuffling local music +shuffle_local_music() { + notification "Shuffle local music" + + # Play music in $mDIR on shuffle + mpv --shuffle --vid=no "$mDIR" +} + # Check if an online music process is running and send a notification, otherwise run the main function -pkill mpv && notify-send -u low -i "$iDIR/music.png" "Online Music stopped" || { +pkill mpv && notify-send -u low -i "$iDIR/music.png" "Music stopped" || { # Prompt the user to choose between local and online music -user_choice=$(printf "Play from Online Stations\nPlay from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") +user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") case "$user_choice" in "Play from Music Folder") @@ -92,6 +100,9 @@ user_choice=$(printf "Play from Online Stations\nPlay from Music Folder" | rofi "Play from Online Stations") play_online_music ;; + "Shuffle from Music Folder") + shuffle_local_music + ;; *) echo "Invalid choice" ;; -- cgit v1.2.3 From 56fc332acc557bb09eae5fd317170146281fe9d9 Mon Sep 17 00:00:00 2001 From: Daniel <48409433+darkeddie@users.noreply.github.com> Date: Mon, 20 May 2024 02:31:19 +0000 Subject: Support Shuffle in RofiBeats --- config/rofi/config-rofi-Beats-menu.rasi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/rofi/config-rofi-Beats-menu.rasi b/config/rofi/config-rofi-Beats-menu.rasi index 6cdd6e99..fd2e194e 100644 --- a/config/rofi/config-rofi-Beats-menu.rasi +++ b/config/rofi/config-rofi-Beats-menu.rasi @@ -18,5 +18,5 @@ window { listview { fixed-columns: false; colums: 1; - lines: 2; -} \ No newline at end of file + lines: 3; +} -- cgit v1.2.3 From bbb2c6d524df11b439ab3f79b31a80b06635fda2 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 20 May 2024 12:21:33 +0900 Subject: tweaked Rofi-Beats --- config/hypr/UserScripts/RofiBeats.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'config') diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 5753857b..5349930e 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -1,12 +1,14 @@ #!/bin/bash +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## +# This script Rofi Beats (Super Shift M) -# Directory music folder +# Directory music folder for Local Music mDIR="$HOME/Music/" # Directory for icons iDIR="$HOME/.config/swaync/icons" -# Online Stations +# Online Stations. Edit as required / want here declare -A online_music=( ["AfroBeatz 2024 🎧"]="https://www.youtube.com/watch?v=7uB-Eh9XVZQ" ["Lofi Girl ☕️🎶"]="https://play.streamafrica.net/lofiradio" @@ -22,7 +24,6 @@ declare -A online_music=( ["Korean Drama OST 📻🎶"]="https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" ) -# Local Music # Populate local_music array with files from music directory and subdirectories populate_local_music() { local_music=() @@ -60,7 +61,7 @@ play_local_music() { notification "$choice" # Play the selected local music file using mpv - mpv --shuffle --vid=no "$file" + mpv --vid=no "$file" } # Main function for playing online music @@ -81,7 +82,7 @@ play_online_music() { # Main function for shuffling local music shuffle_local_music() { - notification "Shuffle local music" + notification "Shuffle Play Local music" # Play music in $mDIR on shuffle mpv --shuffle --vid=no "$mDIR" @@ -91,7 +92,7 @@ shuffle_local_music() { pkill mpv && notify-send -u low -i "$iDIR/music.png" "Music stopped" || { # Prompt the user to choose between local and online music -user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") +user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle Play from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") case "$user_choice" in "Play from Music Folder") @@ -100,7 +101,7 @@ user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle "Play from Online Stations") play_online_music ;; - "Shuffle from Music Folder") + "Shuffle Play from Music Folder") shuffle_local_music ;; *) -- cgit v1.2.3 From 7b99ec35d9f7f6d476b88608e30569bc4da2278d Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 20 May 2024 12:53:55 +0900 Subject: tweak waybar config - sleek --- config/waybar/configs/[BOT] Sleek | 24 ++++++++++++++++-------- config/waybar/configs/[TOP] Sleek | 18 ++++++++++-------- 2 files changed, 26 insertions(+), 16 deletions(-) (limited to 'config') diff --git a/config/waybar/configs/[BOT] Sleek b/config/waybar/configs/[BOT] Sleek index 10b62db6..b1cfc1ae 100644 --- a/config/waybar/configs/[BOT] Sleek +++ b/config/waybar/configs/[BOT] Sleek @@ -14,23 +14,31 @@ "modules-left": [ "custom/menu", "custom/separator#blank_2", - "mpris", - "hyprland/window" + "hyprland/workspaces", + "custom/separator#blank_2", + "mpris", + "tray" ], -"modules-center": [ - "hyprland/workspaces" +"modules-center": [ + "idle_inhibitor", + "custom/separator#blank", + "clock", + "custom/separator#blank", + "custom/swaync" ], "modules-right": [ - "tray", - "custom/swaync", + "hyprland/window", + "custom/separator#blank", + "custom/separator#blank", "pulseaudio", - "clock", - "custom/power" + "custom/separator#blank", + "custom/power", ], + // Additional format / customize modules "custom/power": { diff --git a/config/waybar/configs/[TOP] Sleek b/config/waybar/configs/[TOP] Sleek index dbd8a7e0..fda6aca2 100644 --- a/config/waybar/configs/[TOP] Sleek +++ b/config/waybar/configs/[TOP] Sleek @@ -13,21 +13,23 @@ "modules-left": [ "custom/menu", "custom/separator#blank_2", - "clock", + "hyprland/workspaces", "custom/separator#blank_2", - "hyprland/window" + "mpris", + "tray" ], -"modules-center": [ - "hyprland/workspaces" +"modules-center": [ + "idle_inhibitor", + "custom/separator#blank", + "clock", + "custom/separator#blank", + "custom/swaync" ], "modules-right": [ - "custom/swaync", - "custom/separator#blank", - "tray", + "hyprland/window", "custom/separator#blank", - "mpris", "custom/separator#blank", "pulseaudio", "custom/separator#blank", -- cgit v1.2.3 From 1208d24200477a236e4ca04d8a248210e0af1040 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 20 May 2024 13:39:23 +0900 Subject: updated windowrules --- config/hypr/UserConfigs/WindowRules.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 50db519d..65e44e98 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -15,8 +15,8 @@ windowrulev2 = workspace 2, class:^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstab windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$ windowrulev2 = workspace 5, class:^([Ss]team)$ windowrulev2 = workspace 5, class:^([Ll]utris)$ -windowrulev2 = workspace 7 silent, class:^(discord)$ -windowrulev2 = workspace 7 silent, class:^(WebCord)$ +windowrulev2 = workspace 7, class:^([Dd]iscord)$ +windowrulev2 = workspace 7, class:^([Ww]ebCord)$ # windowrule v2 move to workspace (silent) windowrulev2 = workspace 6 silent, class:^(virt-manager)$ -- cgit v1.2.3 From 5f8eeeb4419fb18acc02b9bf84d36caa94844aa8 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 20 May 2024 17:17:33 +0900 Subject: to resolve conflict --- config/hypr/UserScripts/RofiBeats.sh | 37 ++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) (limited to 'config') diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 5349930e..04af7222 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -1,14 +1,12 @@ #!/bin/bash -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## -# This script Rofi Beats (Super Shift M) -# Directory music folder for Local Music +# Directory music folder mDIR="$HOME/Music/" # Directory for icons iDIR="$HOME/.config/swaync/icons" -# Online Stations. Edit as required / want here +# Online Stations declare -A online_music=( ["AfroBeatz 2024 🎧"]="https://www.youtube.com/watch?v=7uB-Eh9XVZQ" ["Lofi Girl ☕️🎶"]="https://play.streamafrica.net/lofiradio" @@ -24,6 +22,7 @@ declare -A online_music=( ["Korean Drama OST 📻🎶"]="https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" ) +# Local Music # Populate local_music array with files from music directory and subdirectories populate_local_music() { local_music=() @@ -50,18 +49,24 @@ play_local_music() { exit 1 fi - # Find the corresponding file path based on user's choice - for (( i=0; i<"${#filenames[@]}"; i++ )); do + # Find the corresponding file path based on user's choice and set that to play the song then continue on the list + for (( i=0; i<"${#filenames[@]}"; ++i )); do if [ "${filenames[$i]}" = "$choice" ]; then - file="${local_music[$i]}" + + notification "$choice" + # For some reason wont start playlist at 0 + if [[ $i -eq 0 ]]; then + # Play the selected local music file using mpv + mpv --loop-playlist --vid=no "$mDIR" + + else + file=$i + # Play the selected local music file using mpv + mpv --playlist-start="$file" --loop-playlist --vid=no "$mDIR" + fi break fi done - - notification "$choice" - - # Play the selected local music file using mpv - mpv --vid=no "$file" } # Main function for playing online music @@ -82,17 +87,17 @@ play_online_music() { # Main function for shuffling local music shuffle_local_music() { - notification "Shuffle Play Local music" + notification "Shuffle local music" # Play music in $mDIR on shuffle - mpv --shuffle --vid=no "$mDIR" + mpv --shuffle --loop-playlist --vid=no "$mDIR" } # Check if an online music process is running and send a notification, otherwise run the main function pkill mpv && notify-send -u low -i "$iDIR/music.png" "Music stopped" || { # Prompt the user to choose between local and online music -user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle Play from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") +user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") case "$user_choice" in "Play from Music Folder") @@ -101,7 +106,7 @@ user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle "Play from Online Stations") play_online_music ;; - "Shuffle Play from Music Folder") + "Shuffle from Music Folder") shuffle_local_music ;; *) -- cgit v1.2.3 From 8f5c2af4cff0e5fae763e3f65b2cf90bacc85647 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 20 May 2024 17:27:21 +0900 Subject: Tweaked Rofi Beats --- config/hypr/UserScripts/RofiBeats.sh | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'config') diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 04af7222..7fed687f 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -1,12 +1,14 @@ #!/bin/bash +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## +# For Rofi Beats to play online Music or Locally save media files -# Directory music folder +# Directory local music folder mDIR="$HOME/Music/" # Directory for icons iDIR="$HOME/.config/swaync/icons" -# Online Stations +# Online Stations. Edit as required declare -A online_music=( ["AfroBeatz 2024 🎧"]="https://www.youtube.com/watch?v=7uB-Eh9XVZQ" ["Lofi Girl ☕️🎶"]="https://play.streamafrica.net/lofiradio" @@ -22,7 +24,6 @@ declare -A online_music=( ["Korean Drama OST 📻🎶"]="https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" ) -# Local Music # Populate local_music array with files from music directory and subdirectories populate_local_music() { local_music=() @@ -52,13 +53,14 @@ play_local_music() { # Find the corresponding file path based on user's choice and set that to play the song then continue on the list for (( i=0; i<"${#filenames[@]}"; ++i )); do if [ "${filenames[$i]}" = "$choice" ]; then + + notification "$choice" - notification "$choice" # For some reason wont start playlist at 0 if [[ $i -eq 0 ]]; then # Play the selected local music file using mpv - mpv --loop-playlist --vid=no "$mDIR" - + mpv --loop-playlist --vid=no "$mDIR" + else file=$i # Play the selected local music file using mpv @@ -69,6 +71,14 @@ play_local_music() { done } +# Main function for shuffling local music +shuffle_local_music() { + notification "Shuffle local music" + + # Play music in $mDIR on shuffle + mpv --shuffle --loop-playlist --vid=no "$mDIR" +} + # Main function for playing online music play_online_music() { choice=$(printf "%s\n" "${!online_music[@]}" | rofi -i -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi -p "Online Music") @@ -85,19 +95,11 @@ play_online_music() { mpv --shuffle --vid=no "$link" } -# Main function for shuffling local music -shuffle_local_music() { - notification "Shuffle local music" - - # Play music in $mDIR on shuffle - mpv --shuffle --loop-playlist --vid=no "$mDIR" -} - # Check if an online music process is running and send a notification, otherwise run the main function pkill mpv && notify-send -u low -i "$iDIR/music.png" "Music stopped" || { # Prompt the user to choose between local and online music -user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") +user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle Play from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") case "$user_choice" in "Play from Music Folder") @@ -106,7 +108,7 @@ user_choice=$(printf "Play from Online Stations\nPlay from Music Folder\nShuffle "Play from Online Stations") play_online_music ;; - "Shuffle from Music Folder") + "Shuffle Play from Music Folder") shuffle_local_music ;; *) -- cgit v1.2.3 From 67da07ee3fdaaf65123e52d1d596a70fc69f30bb Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 20 May 2024 23:22:46 +0900 Subject: Wallpaper menu tweaked. New swww animation + can now detect wallpapers inside directories like the Dynamic Wallpapers --- config/hypr/UserScripts/WallpaperSelect.sh | 46 +++++++++++++++++------------- 1 file changed, 26 insertions(+), 20 deletions(-) (limited to 'config') diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 9a087c7d..06859112 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -1,18 +1,18 @@ #!/bin/bash -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # This script for selecting wallpapers (SUPER W) -SCRIPTSDIR="$HOME/.config/hypr/scripts" - -focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}') - # WALLPAPERS PATH wallDIR="$HOME/Pictures/wallpapers" -# Transition config -FPS=30 -TYPE="wipe" -DURATION=1 +# variables +SCRIPTSDIR="$HOME/.config/hypr/scripts" +focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}') + +# swww transition config +FPS=60 +TYPE="any" +DURATION=2 BEZIER=".43,1.19,1,.4" SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION" @@ -22,31 +22,36 @@ if pidof swaybg > /dev/null; then fi # Retrieve image files -PICS=($(ls "${wallDIR}" | grep -E ".jpg$|.jpeg$|.png$|.gif$")) +PICS=($(find "${wallDIR}" -type f \( -iname \*.jpg -o -iname \*.jpeg -o -iname \*.png -o -iname \*.gif \))) RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}" -RANDOM_PIC_NAME="${#PICS[@]}. random" +RANDOM_PIC_NAME=". random" # Rofi command rofi_command="rofi -i -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi" + +# Sorting Wallpapers menu() { - for i in "${!PICS[@]}"; do + sorted_options=($(printf '%s\n' "${PICS[@]}" | sort)) + # Place ". random" at the beginning + printf "%s\n" "$RANDOM_PIC_NAME" + for pic_path in "${sorted_options[@]}"; do + pic_name=$(basename "$pic_path") # Displaying .gif to indicate animated images - if [[ -z $(echo "${PICS[$i]}" | grep .gif$) ]]; then - printf "$(echo "${PICS[$i]}" | cut -d. -f1)\x00icon\x1f${wallDIR}/${PICS[$i]}\n" + if [[ -z $(echo "$pic_name" | grep -i "\.gif$") ]]; then + printf "%s\x00icon\x1f%s\n" "$(echo "$pic_name" | cut -d. -f1)" "$pic_path" else - printf "${PICS[$i]}\n" + printf "%s\n" "$pic_name" fi done - - printf "$RANDOM_PIC_NAME\n" } +# initiate swww if not running swww query || swww-daemon --format xrgb +# Choice of wallpapers main() { choice=$(menu | ${rofi_command}) - # No choice case if [[ -z $choice ]]; then exit 0 @@ -54,7 +59,8 @@ main() { # Random choice case if [ "$choice" = "$RANDOM_PIC_NAME" ]; then - swww img "${wallDIR}/${RANDOM_PIC}" $SWWW_PARAMS + RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}" + swww img -o $focused_monitor "${RANDOM_PIC}" $SWWW_PARAMS exit 0 fi @@ -69,7 +75,7 @@ main() { done if [[ $pic_index -ne -1 ]]; then - swww img -o $focused_monitor "${wallDIR}/${PICS[$pic_index]}" $SWWW_PARAMS + swww img -o $focused_monitor "${PICS[$pic_index]}" $SWWW_PARAMS else echo "Image not found." exit 1 -- cgit v1.2.3 From e66c4e6047da7d2b5edaad31439bceb6c4000cbc Mon Sep 17 00:00:00 2001 From: GrafMonteCarlo <53829166+vailrahmatulin@users.noreply.github.com> Date: Tue, 21 May 2024 18:41:20 +0700 Subject: Update SwitchKeyboardLayout.sh Changing the keyboard layout for all keyboards connected to the computer. --- config/hypr/scripts/SwitchKeyboardLayout.sh | 37 +++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/hypr/scripts/SwitchKeyboardLayout.sh b/config/hypr/scripts/SwitchKeyboardLayout.sh index 0145e262..cbacd74f 100755 --- a/config/hypr/scripts/SwitchKeyboardLayout.sh +++ b/config/hypr/scripts/SwitchKeyboardLayout.sh @@ -41,5 +41,38 @@ new_layout="${layout_mapping[next_index]}" hyprctl switchxkblayout "at-translated-set-2-keyboard" "$new_layout" echo "$new_layout" > "$layout_f" -# Notification for the new keyboard layout -notify-send -u low -i "$notif" "new KB_Layout: $new_layout" +# Created by T-Crypt + +get_keyboard_names() { + hyprctl devices -j | jq -r '.keyboards[].name' +} + +change_layout() { + local got_error=false + + while read -r name; do + hyprctl switchxkblayout "$name" next + if [[ $? -eq 0 ]]; then + echo "Switched the layout for $name." + else + >&2 echo "Error while switching the layout for $name." + got_error=true + fi + done <<< "$(get_keyboard_names)" + + if [ "$got_error" = true ]; then + >&2 echo "Some errors were found during the process..." + return 1 + fi + + return 0 # All layouts had been cycled successfully +} + +if ! change_layout; then + notify-send -u low -t 2000 'Keyboard layout' 'Error: Layout change failed' + >&2 echo "Layout change failed." + exit 1 +else + # Notification for the new keyboard layout + notify-send -u low -i "$notif" "new KB_Layout: $new_layout" +fi -- cgit v1.2.3 From 1f38a5f7c1139de7720b6432316921c55a350913 Mon Sep 17 00:00:00 2001 From: GrafMonteCarlo <53829166+vailrahmatulin@users.noreply.github.com> Date: Tue, 21 May 2024 18:43:53 +0700 Subject: Update UserSettings.conf Disabling Alt+Shift key interception --- config/hypr/UserConfigs/UserSettings.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index b3193e49..3783d36b 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -99,7 +99,7 @@ input { kb_layout=us kb_variant= kb_model= - kb_options=grp:alt_shift_toggle + kb_options= kb_rules= repeat_rate=50 repeat_delay=300 -- cgit v1.2.3 From 51e9bd706830e920bc375983ab8599335a4ae37b Mon Sep 17 00:00:00 2001 From: GrafMonteCarlo <53829166+vailrahmatulin@users.noreply.github.com> Date: Tue, 21 May 2024 18:47:30 +0700 Subject: Update UserKeybinds.conf Assigning the Alt+Shift keys to trigger the script SwitchKeyboardLayouts.sh --- config/hypr/UserConfigs/UserKeybinds.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index eede1669..7026084d 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -27,7 +27,7 @@ bind = $mainMod, Z, exec, pypr zoom # Toggle Zoom # User Added Keybinds bind = $mainMod SHIFT, O, exec, $UserScripts/ZshChangeTheme.sh # Change oh-my-zsh theme - +bindn = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # For passthrough keyboard into a VM # bind = $mainMod ALT, P, submap, passthru #submap = passthru -- cgit v1.2.3 From 543ac255b7387dd0d45d9b1dd8cbef78d49263dc Mon Sep 17 00:00:00 2001 From: GrafMonteCarlo <53829166+vailrahmatulin@users.noreply.github.com> Date: Tue, 21 May 2024 18:49:21 +0700 Subject: Update UserKeybinds.conf Assigning the Alt+Shift keys to trigger the script SwitchKeyboardLayouts.sh --- config/hypr/UserConfigs/UserKeybinds.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 7026084d..9858558f 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -27,7 +27,8 @@ bind = $mainMod, Z, exec, pypr zoom # Toggle Zoom # User Added Keybinds bind = $mainMod SHIFT, O, exec, $UserScripts/ZshChangeTheme.sh # Change oh-my-zsh theme -bindn = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh +bindn = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Changing the keyboard layout + # For passthrough keyboard into a VM # bind = $mainMod ALT, P, submap, passthru #submap = passthru -- cgit v1.2.3 From fa443703d830e47cf896ebeaad059593adc9a857 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 21 May 2024 22:13:45 +0900 Subject: remove keyboard switching layout from default keybinds --- config/hypr/configs/Keybinds.conf | 1 - 1 file changed, 1 deletion(-) (limited to 'config') diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 56255087..142de86a 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -29,7 +29,6 @@ bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # animations ON/OFF bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout 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 # FEATURES / EXTRAS (UserScripts) bind = $mainMod, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings -- cgit v1.2.3 From fdc820b82ce89a8aa8224d74c03454b79b799145 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 21 May 2024 22:21:28 +0900 Subject: added some links on the configs --- config/hypr/UserConfigs/ENVariables.conf | 1 + config/hypr/UserConfigs/UserSettings.conf | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index 1d60c24b..8681eb30 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -1,4 +1,5 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # +# Environment variables. See https://wiki.hyprland.org/Configuring/Environment-variables/ #environment-variables env = CLUTTER_BACKEND,wayland diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index 38c83f2c..a4065b4f 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -1,6 +1,7 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # # User Settings -# This is where you put your own settings as this will not be touched during update +# This is where you put your own settings as this will not be touched during update +# if the upgrade.sh is used. # refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables -- cgit v1.2.3 From a8146419132991d2d7ee0b94ce01771fc83cdffa Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 21 May 2024 22:53:32 +0900 Subject: default blur increase to 6 from 5 --- config/hypr/UserConfigs/UserSettings.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index a4065b4f..1ca9b5d8 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -64,7 +64,7 @@ decoration { blur { enabled = true - size = 5 + size = 6 passes = 2 ignore_opacity = true new_optimizations = true -- cgit v1.2.3 From 8f210ea75511af9fd019905fee6bdfd0c75010d2 Mon Sep 17 00:00:00 2001 From: Kiran George Date: Tue, 21 May 2024 20:53:51 +0530 Subject: Swapped out xrandr to hyprctl monitors in ags overview --- config/ags/variables.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/ags/variables.js b/config/ags/variables.js index ec4aedec..803b9157 100644 --- a/config/ags/variables.js +++ b/config/ags/variables.js @@ -6,8 +6,8 @@ const { exec, execAsync } = Utils; Gtk.IconTheme.get_default().append_search_path(`${App.configDir}/assets/icons`); // Screen size -export const SCREEN_WIDTH = Number(exec(`bash -c "xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f1 | head -1" | awk '{print $1}'`)); -export const SCREEN_HEIGHT = Number(exec(`bash -c "xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f2 | head -1" | awk '{print $1}'`)); +export const SCREEN_WIDTH = Number(exec(`bash -c "hyprctl monitors -j | jq '.[0].width'"`)); +export const SCREEN_HEIGHT = Number(exec(`bash -c "hyprctl monitors -j | jq '.[0].height'"`)); // Mode switching export const currentShellMode = Variable('normal', {}) // normal, focus -- cgit v1.2.3 From a5d4d4ee9550b820c8106881c69d85a73eaf5493 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 22 May 2024 10:55:21 +0900 Subject: reduced padding rofi on master config added a space on weather.py waybar data for better output --- config/hypr/UserScripts/Weather.py | 2 +- config/rofi/master-config.rasi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py index 39f823af..1d2ea30b 100755 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -116,7 +116,7 @@ tooltip_text = str.format( # print waybar module data out_data = { - "text": f"{icon} {temp}", + "text": f"{icon} {temp}", "alt": status, "tooltip": tooltip_text, "class": status_code, diff --git a/config/rofi/master-config.rasi b/config/rofi/master-config.rasi index 4ffa7ac8..fe24cd61 100644 --- a/config/rofi/master-config.rasi +++ b/config/rofi/master-config.rasi @@ -65,7 +65,7 @@ mainbox { /* ---- Inputbar ---- */ inputbar { enabled: true; - padding: 10px 10px 200px 10px; + padding: 10px 10px 100px 10px; margin: 10px; background-color: transparent; border-radius: 25px; -- cgit v1.2.3 From 0054b0b766d62112c4b096b61f8777a402bff08a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 22 May 2024 15:31:03 +0900 Subject: small rofi configs tweak --- config/rofi/config-clipboard.rasi | 2 +- config/rofi/config-emoji.rasi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index 34b471cb..2a002a29 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -5,7 +5,7 @@ /* ---- Entry ---- */ entry { - width: 45%; + width: 37%; placeholder: "📋 Search Clipboard **note** 👀 CTRL Del - Cliphist del or Alt Del - cliphist wipe"; } diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi index 028bc9d4..8aca6aa2 100644 --- a/config/rofi/config-emoji.rasi +++ b/config/rofi/config-emoji.rasi @@ -5,7 +5,7 @@ /* ---- Entry ---- */ entry { - width: 45%; + width: 37%; placeholder: "💫 Search Emoji's **note** 👀 Click or Return to choose | Ctrl V to Paste"; } -- cgit v1.2.3 From 40fb30c13b3e0e80174066b7ccf2dd88fe2a9666 Mon Sep 17 00:00:00 2001 From: JosephArmas Date: Wed, 22 May 2024 13:41:48 -0700 Subject: feat: Add rofi calculator using qalc command. Result of expression is automatically saved to clipboard. Default keybinding set to mod + alt + c. --- config/hypr/configs/Keybinds.conf | 1 + config/hypr/scripts/RofiCalc.sh | 21 +++++++++++++++++++++ config/rofi/config-calc.rasi | 7 +++++++ 3 files changed, 29 insertions(+) create mode 100755 config/hypr/scripts/RofiCalc.sh create mode 100644 config/rofi/config-calc.rasi (limited to 'config') diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 142de86a..bd6e0a9f 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -23,6 +23,7 @@ bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # Small help file bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji +bind = $mainMod ALT, C, exec, $scriptsDir/RofiEmoji.sh # calculator bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search from Rofi bind = $mainMod SHIFT, B, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # animations ON/OFF diff --git a/config/hypr/scripts/RofiCalc.sh b/config/hypr/scripts/RofiCalc.sh new file mode 100755 index 00000000..3589525f --- /dev/null +++ b/config/hypr/scripts/RofiCalc.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +rofi_config="$HOME/.config/rofi/config-calc.rasi" + + +while true; do + result=$( + rofi -i -dmenu \ + -config "$rofi_config" \ + -mesg "$result = $calc_result" + ) + + if [ $? -ne 0 ]; then + exit + fi + + if [ -n "$result" ]; then + calc_result=$(qalc -t "$result") + echo "$calc_result" | wl-copy + fi +done diff --git a/config/rofi/config-calc.rasi b/config/rofi/config-calc.rasi new file mode 100644 index 00000000..4c7cad2e --- /dev/null +++ b/config/rofi/config-calc.rasi @@ -0,0 +1,7 @@ +@import "~/.config/rofi/config-long.rasi" + +/* ---- Entry ---- */ +entry { + width: 45%; + placeholder: "🧮 Calculate"; +} -- cgit v1.2.3 From 9060d299cbb75d92ef442d8db4cf14f6387542dd Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 23 May 2024 12:08:55 +0900 Subject: Update Keybinds.conf --- config/hypr/configs/Keybinds.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index bd6e0a9f..16155903 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -23,7 +23,7 @@ bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # Small help file bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji -bind = $mainMod ALT, C, exec, $scriptsDir/RofiEmoji.sh # calculator +bind = $mainMod ALT, C, exec, $scriptsDir/RofiCalc.sh # calculator (qalculate) bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search from Rofi bind = $mainMod SHIFT, B, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # animations ON/OFF -- cgit v1.2.3 From da68e757550990968f5d5f4b5cfcca74d7997e4e Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 23 May 2024 12:12:23 +0900 Subject: Update config-calc.rasi --- config/rofi/config-calc.rasi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/rofi/config-calc.rasi b/config/rofi/config-calc.rasi index 4c7cad2e..5924a11d 100644 --- a/config/rofi/config-calc.rasi +++ b/config/rofi/config-calc.rasi @@ -1,7 +1,16 @@ -@import "~/.config/rofi/config-long.rasi" +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Main Config Calculator */ +/* Submitted by: https://github.com/JosephArmas */ + +@import "~/.config/rofi/config.rasi" /* ---- Entry ---- */ entry { - width: 45%; + width: 27%; placeholder: "🧮 Calculate"; } + +/* ---- Window ---- */ +window { + width: 30%; +} -- cgit v1.2.3 From a3bf20a92a091fe240d530c42b61437301571160 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 23 May 2024 12:15:06 +0900 Subject: Update RofiCalc.sh --- config/hypr/scripts/RofiCalc.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') diff --git a/config/hypr/scripts/RofiCalc.sh b/config/hypr/scripts/RofiCalc.sh index 3589525f..d908e2b1 100755 --- a/config/hypr/scripts/RofiCalc.sh +++ b/config/hypr/scripts/RofiCalc.sh @@ -1,4 +1,7 @@ #!/bin/bash +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +# /* Calculator (using qualculate) and rofi */ +# /* Submitted by: https://github.com/JosephArmas */ rofi_config="$HOME/.config/rofi/config-calc.rasi" -- cgit v1.2.3 From f34a6bf1006bcd3b2584ec69c2ca7ab30b517bc0 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 23 May 2024 12:16:02 +0900 Subject: Update RofiCalc.sh --- config/hypr/scripts/RofiCalc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/hypr/scripts/RofiCalc.sh b/config/hypr/scripts/RofiCalc.sh index d908e2b1..ff96b3a8 100755 --- a/config/hypr/scripts/RofiCalc.sh +++ b/config/hypr/scripts/RofiCalc.sh @@ -1,6 +1,6 @@ #!/bin/bash # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ -# /* Calculator (using qualculate) and rofi */ +# /* Calculator (using qalculate) and rofi */ # /* Submitted by: https://github.com/JosephArmas */ rofi_config="$HOME/.config/rofi/config-calc.rasi" -- cgit v1.2.3 From 6780cd29054a5293ba68f6716eacc0cf70c6f543 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 12:25:03 +0900 Subject: editing rofi calc to kill rofi first --- config/hypr/scripts/RofiCalc.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config') diff --git a/config/hypr/scripts/RofiCalc.sh b/config/hypr/scripts/RofiCalc.sh index ff96b3a8..355130de 100755 --- a/config/hypr/scripts/RofiCalc.sh +++ b/config/hypr/scripts/RofiCalc.sh @@ -5,6 +5,13 @@ rofi_config="$HOME/.config/rofi/config-calc.rasi" +# Kill Rofi if already running before execution +if pgrep -x "rofi" >/dev/null; then + pkill rofi + exit 0 +fi + +# main function while true; do result=$( -- cgit v1.2.3 From 9e27cb3330ba7d6c284031370200784fa064ca20 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 12:39:01 +0900 Subject: tweaked rofi-calc config to have better coloring --- config/rofi/config-calc.rasi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') diff --git a/config/rofi/config-calc.rasi b/config/rofi/config-calc.rasi index 5924a11d..bcb0f665 100644 --- a/config/rofi/config-calc.rasi +++ b/config/rofi/config-calc.rasi @@ -14,3 +14,9 @@ entry { window { width: 30%; } + +/* ---- Message ---- */ +textbox { + background-color: @selected; + text-color: @background; +} \ No newline at end of file -- cgit v1.2.3 From 877fd77aa557e036989bfa191e634b25089fecf1 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 12:59:18 +0900 Subject: Move rofi-qalculate to userconfigs - keybinds --- config/hypr/UserConfigs/UserKeybinds.conf | 4 +++- config/hypr/UserConfigs/WindowRules.conf | 1 + config/hypr/configs/Keybinds.conf | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 9858558f..f3d03df8 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -19,7 +19,9 @@ bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,r bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' bind = $mainMod, Return, exec, $term # Launch terminal -bind = $mainMod, T, exec, $files +bind = $mainMod, T, exec, $files # Launch file manager + +bind = $mainMod ALT, C, exec, $scriptsDir/RofiCalc.sh # calculator (qalculate) # pyprland bind = $mainMod SHIFT, Return, exec, pypr toggle term # Dropdown terminal diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 65e44e98..3a04ba3b 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -43,6 +43,7 @@ windowrulev2 = float, class:^(file-roller|org.gnome.FileRoller)$ # archive manag windowrulev2 = float, class:^([Bb]aobab|org.gnome.[Bb]aobab)$ # Disk usage analyzer windowrulev2 = float, title:(Kvantum Manager) windowrulev2 = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$ +windowrulev2 = float, class:^([Qq]alculate-gtk)$ # windowrule v2 - position windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress) diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 16155903..142de86a 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -23,7 +23,6 @@ bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # Small help file bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji -bind = $mainMod ALT, C, exec, $scriptsDir/RofiCalc.sh # calculator (qalculate) bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search from Rofi bind = $mainMod SHIFT, B, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # animations ON/OFF -- cgit v1.2.3 From ae5e6c3f2a6b68f210ab698e2683ee900b2d3e7f Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 16:22:02 +0900 Subject: Added workspace#rw on waybar module bank Edited Top and Bot waybar Added TOP Simple waybar config Added Waybar Style - Wallust Bordered --- config/waybar/configs/[TOP & BOT] SummitSplit | 14 +- config/waybar/configs/[TOP] Simple | 35 +++ config/waybar/modules | 46 +++- config/waybar/style/[Extra] Wallust Bordered.css | 305 +++++++++++++++++++++++ 4 files changed, 391 insertions(+), 9 deletions(-) create mode 100644 config/waybar/configs/[TOP] Simple create mode 100644 config/waybar/style/[Extra] Wallust Bordered.css (limited to 'config') diff --git a/config/waybar/configs/[TOP & BOT] SummitSplit b/config/waybar/configs/[TOP & BOT] SummitSplit index 62cb449d..6e9cac28 100644 --- a/config/waybar/configs/[TOP & BOT] SummitSplit +++ b/config/waybar/configs/[TOP & BOT] SummitSplit @@ -24,8 +24,8 @@ ], "modules-center": [ - "idle_inhibitor", - "hyprland/workspaces#4", + "idle_inhibitor", + "clock", "custom/light_dark", ], @@ -35,7 +35,7 @@ "backlight", "bluetooth", "network", - //"custom/updater", + "custom/updater", "custom/cycle_wall", "custom/lock", ], @@ -54,6 +54,7 @@ "height": 0, "margin-left": 8, "margin-right": 8, +//"gtk-layer-shell": true, //"margin-bottom": 0, "modules-left": [ @@ -62,7 +63,7 @@ ], "modules-center": [ - "clock", + "hyprland/workspaces#rw", ], "modules-right": [ @@ -75,6 +76,5 @@ //"wireplumber", "pulseaudio#microphone", "custom/power", - ], - -}] \ No newline at end of file + ], +}], diff --git a/config/waybar/configs/[TOP] Simple b/config/waybar/configs/[TOP] Simple new file mode 100644 index 00000000..505ea63f --- /dev/null +++ b/config/waybar/configs/[TOP] Simple @@ -0,0 +1,35 @@ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +// ### TOP Simple ## // + +{ +"include": "~/.config/waybar/modules", +"layer": "top", +"position": "top", +//"mode": "dock", +"exclusive": true, +"passthrough": false, +"gtk-layer-shell": true, +"margin-left": 6, +"margin-right": 6, +"margin-top": 2, + +"modules-left": [ + "idle_inhibitor", + "hyprland/workspaces#rw", + "mpris", + "hyprland/window" + ], + +"modules-center": [ + "clock#2" + ], + +"modules-right": [ + "tray", + "battery", + "pulseaudio", + "pulseaudio#microphone", + "custom/power", + ], +} + diff --git a/config/waybar/modules b/config/waybar/modules index 93c7f3c1..c1f46871 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -126,6 +126,40 @@ "default": "", }, }, +// NUMBERS and ICONS style with window rewrite +"hyprland/workspaces#rw": { + "disable-scroll": true, + "all-outputs": true, + "warp-on-scroll": false, + "sort-by-number": true, + "show-special": true, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "format": "{icon} {windows}", + "format-window-separator": " ", + "window-rewrite-default": " ", + "window-rewrite": { + "title<.*youtube.*>": " ", + "title<.*amazon.*>": " ", + "title<.*reddit.*>": " ", + "title<.*Picture-in-Picture.*>": " ", + "class": " ", + "class": " ", + "class": " ", + "class": "󰝰 ", + "class": " ", + "class": "󰅳 ", + "class": " ", + "class": "󰎆 ", + "class": "󰨞 ", + "class": "󰨞 ", + "class": "󰅩 ", + "class": " ", + "class": " ", + "class": "󰏆 " + } +}, // GROUP "group/motherboard": { "orientation": "horizontal", @@ -241,6 +275,13 @@ "on-scroll-up": "shift_up", "on-scroll-down": "shift_down" }, +"clock#2": { + // "timezone": "America/New_York", + //"format": " {:%I:%M %p}", // AM PM format + "format": " {:%H:%M}", + "format-alt": "{:%A | %H:%M | %e %B}", + "tooltip-format": "{:%Y %B}\n{calendar}" +}, "cpu": { "format": "{usage}% 󰍛", "interval": 1, @@ -273,7 +314,7 @@ }, "hyprland/window": { "format": "{}", - "max-length": 40, + "max-length": 20, "separate-outputs": true, "offscreen-css": true, "offscreen-css-text": "(inactive)", @@ -354,7 +395,8 @@ "max-length": 50, "format-icons": [ "󰤯", "󰤟", "󰤢", "󰤥", "󰤨" - ] + ], + "on-click-right": "kitty nmtui" }, "network#speed": { "interval": 1, diff --git a/config/waybar/style/[Extra] Wallust Bordered.css b/config/waybar/style/[Extra] Wallust Bordered.css new file mode 100644 index 00000000..89f675d9 --- /dev/null +++ b/config/waybar/style/[Extra] Wallust Bordered.css @@ -0,0 +1,305 @@ +/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */ +/* Wallust Bordered*/ + +@import '../../.config/waybar/wallust/colors-waybar.css'; + + +* { + font-family: "JetBrainsMono Nerd Font"; + font-weight: bold; + /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ + font-size: 97%; + min-height: 0; +} + +window#waybar { + background-color: transparent; + color: @foreground; + padding-left: 15px; + padding-right: 15px; +} + +window#waybar.empty #window { + background-color: transparent; + border-color: transparent; + padding-left: 15px; + padding-right: 15px; +} + +tooltip { + background-color: transparent; + color: @color12; + border-radius: 10px; + border-width: 1.5px; + border-style: solid; + border-color: @color9; + transition: 0.3s; + opacity: 0.9; +} + +#workspaces button { + color: @forground; + box-shadow: none; + text-shadow: none; + padding-right: 12px; + border-radius: 9px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682); +} + +#taskbar button.active, +#workspaces button.active { + color: @color12; + padding-right: 12px; + background-color: @background;; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); +} + +#workspaces button.focused { + color: @color9; +} + +#workspaces button.urgent { + color: #11111b; + border-radius: 10px; +} + +#taskbar button:hover, +#workspaces button:hover { + color: @color11; + padding-left: 0px; + padding-right: 2px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); +} + +#backlight, +#backlight-slider, +#battery, +#bluetooth, +#cpu, +#disk, +#idle_inhibitor, +#keyboard-state, +#memory, +#mode, +#network, +#pulseaudio, +#pulseaudio-slider, +#taskbar, +#temperature, +#tray, +#window, +#wireplumber, +#workspaces, +#custom-backlight, +#custom-cava_mviz, +#custom-cycle_wall, +#custom-hint, +#custom-keyboard, +#custom-light_dark, +#custom-lock, +#custom-menu, +#custom-power_vertical, +#custom-power, +#custom-swaync, +#custom-updater, +#custom-weather, +#custom-weather.clearNight, +#custom-weather.cloudyFoggyDay, +#custom-weather.cloudyFoggyNight, +#custom-weather.default, +#custom-weather.rainyDay, +#custom-weather.rainyNight, +#custom-weather.severe, +#custom-weather.showyIcyDay, +#custom-weather.snowyIcyNight, +#custom-weather.sunnyDay { + border-radius: 20px; + background: @background; + opacity: 1; + padding: 0px 10px; + margin: 0; + margin-top: 5px; + border: 2px solid @color12; +} + +#cpu { + border: 2px solid @color5; +} + +#disk { + color: @color13; + border: 2px solid @color13; +} + +#temperature{ + color: @color11; + border: 2px solid @color11; +} + +#temperature.critical { + color: #eba0ac; +} + +#custom-power { + color: red; + padding-left: 10px; + padding-right: 2px; + border: 2px solid red; +} + +#backlight { + color: #f9e2af; + padding-right: 5px; +} + +#tray { + border-radius: 20px; + margin-right: 5px; +/* padding: 0px 4px; */ + padding-left: 15px; + padding-right: 15px; + border: 2px solid @color7; +} + +#mpris { + padding-left: 15px; +} +#tray.empty { + background-color: transparent; + border-color: transparent; + border: 0px; +} + +#workspaces { + margin-left: 5px; + padding-right: 0px; + padding-left: 5px; + border: 2px solid @color8; +} + +#window { + margin-left: 5px; + margin-right: 5px; + border: 2px solid @color9; +} + +#clock { + border-radius: 20px; + color: #fab387; + margin-left: 5px; + border-right: 0px; + transition: 0.3s; + padding-right: 13px; + padding-left: 13px; + border: 2px solid @color12; +} + +#network { + color: #a6adc8; + padding-right: 12px; + padding-left: 5px; + border: 2px solid @color10; +} + +#network.disconnected { + color: #f5c2e7; + border-left: 2px solid #a6e3a1; + border-top: 2px solid #a6e3a1; + border-right: 0px; + border-bottom: 2px solid @color10; +} + +#bluetooth { + color: #b4befe; + margin-right: 10px +} + +#pulseaudio.microphone, +#pulseaudio { + color: #89b4fa; + border: 2px solid @color13; +} + +#pulseaudio.muted { + color: #f38ba8; + padding-right: 20px; +} + +#battery { + color: #a6e3a1; + margin-right: 5px; + padding-right: 15px; + border: 2px solid @color14; +} + + +#battery.good { + color: #ffd57a; + border: 2px solid @color15; +} + +#battery.warning { + color: #fab387; + border-left: 0px; + border: 2px solid @color12; +} + +#battery.charging { + color: #a6e3a1; +} + +#battery.critical { + color: #f38ba8; + border-left: 0px; + border: 2px solid @color8; +} + +#custom-weather { + color: #8eacf3; + border-right: 0px; + margin-left: 0px; + margin-right: 5px; +} + +#pulseaudio-slider slider { + min-width: 0px; + min-height: 0px; + opacity: 0; + background-image: none; + border: none; + box-shadow: none; +} + +#pulseaudio-slider trough { + min-width: 80px; + min-height: 5px; + border-radius: 5px; +} + +#pulseaudio-slider highlight { + min-height: 10px; + border-radius: 5px; +} + +#backlight-slider slider { + min-width: 0px; + min-height: 0px; + opacity: 0; + background-image: none; + border: none; + box-shadow: none; +} + +#backlight-slider trough { + min-width: 80px; + min-height: 10px; + border-radius: 5px; +} + +#backlight-slider highlight { + min-width: 10px; + border-radius: 5px; +} -- cgit v1.2.3 From 8217dd247d10064a32ec83eeadf3dc2176d31980 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 18:39:14 +0900 Subject: Updated waybar style --- config/waybar/style/[Extra] Wallust Bordered.css | 305 -------------------- .../style/[Wallust Bordered] Chroma Simple.css | 306 +++++++++++++++++++++ 2 files changed, 306 insertions(+), 305 deletions(-) delete mode 100644 config/waybar/style/[Extra] Wallust Bordered.css create mode 100644 config/waybar/style/[Wallust Bordered] Chroma Simple.css (limited to 'config') diff --git a/config/waybar/style/[Extra] Wallust Bordered.css b/config/waybar/style/[Extra] Wallust Bordered.css deleted file mode 100644 index 89f675d9..00000000 --- a/config/waybar/style/[Extra] Wallust Bordered.css +++ /dev/null @@ -1,305 +0,0 @@ -/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */ -/* Wallust Bordered*/ - -@import '../../.config/waybar/wallust/colors-waybar.css'; - - -* { - font-family: "JetBrainsMono Nerd Font"; - font-weight: bold; - /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ - font-size: 97%; - min-height: 0; -} - -window#waybar { - background-color: transparent; - color: @foreground; - padding-left: 15px; - padding-right: 15px; -} - -window#waybar.empty #window { - background-color: transparent; - border-color: transparent; - padding-left: 15px; - padding-right: 15px; -} - -tooltip { - background-color: transparent; - color: @color12; - border-radius: 10px; - border-width: 1.5px; - border-style: solid; - border-color: @color9; - transition: 0.3s; - opacity: 0.9; -} - -#workspaces button { - color: @forground; - box-shadow: none; - text-shadow: none; - padding-right: 12px; - border-radius: 9px; - animation: gradient_f 20s ease-in infinite; - transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682); -} - -#taskbar button.active, -#workspaces button.active { - color: @color12; - padding-right: 12px; - background-color: @background;; - animation: gradient_f 20s ease-in infinite; - transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); -} - -#workspaces button.focused { - color: @color9; -} - -#workspaces button.urgent { - color: #11111b; - border-radius: 10px; -} - -#taskbar button:hover, -#workspaces button:hover { - color: @color11; - padding-left: 0px; - padding-right: 2px; - animation: gradient_f 20s ease-in infinite; - transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); -} - -#backlight, -#backlight-slider, -#battery, -#bluetooth, -#cpu, -#disk, -#idle_inhibitor, -#keyboard-state, -#memory, -#mode, -#network, -#pulseaudio, -#pulseaudio-slider, -#taskbar, -#temperature, -#tray, -#window, -#wireplumber, -#workspaces, -#custom-backlight, -#custom-cava_mviz, -#custom-cycle_wall, -#custom-hint, -#custom-keyboard, -#custom-light_dark, -#custom-lock, -#custom-menu, -#custom-power_vertical, -#custom-power, -#custom-swaync, -#custom-updater, -#custom-weather, -#custom-weather.clearNight, -#custom-weather.cloudyFoggyDay, -#custom-weather.cloudyFoggyNight, -#custom-weather.default, -#custom-weather.rainyDay, -#custom-weather.rainyNight, -#custom-weather.severe, -#custom-weather.showyIcyDay, -#custom-weather.snowyIcyNight, -#custom-weather.sunnyDay { - border-radius: 20px; - background: @background; - opacity: 1; - padding: 0px 10px; - margin: 0; - margin-top: 5px; - border: 2px solid @color12; -} - -#cpu { - border: 2px solid @color5; -} - -#disk { - color: @color13; - border: 2px solid @color13; -} - -#temperature{ - color: @color11; - border: 2px solid @color11; -} - -#temperature.critical { - color: #eba0ac; -} - -#custom-power { - color: red; - padding-left: 10px; - padding-right: 2px; - border: 2px solid red; -} - -#backlight { - color: #f9e2af; - padding-right: 5px; -} - -#tray { - border-radius: 20px; - margin-right: 5px; -/* padding: 0px 4px; */ - padding-left: 15px; - padding-right: 15px; - border: 2px solid @color7; -} - -#mpris { - padding-left: 15px; -} -#tray.empty { - background-color: transparent; - border-color: transparent; - border: 0px; -} - -#workspaces { - margin-left: 5px; - padding-right: 0px; - padding-left: 5px; - border: 2px solid @color8; -} - -#window { - margin-left: 5px; - margin-right: 5px; - border: 2px solid @color9; -} - -#clock { - border-radius: 20px; - color: #fab387; - margin-left: 5px; - border-right: 0px; - transition: 0.3s; - padding-right: 13px; - padding-left: 13px; - border: 2px solid @color12; -} - -#network { - color: #a6adc8; - padding-right: 12px; - padding-left: 5px; - border: 2px solid @color10; -} - -#network.disconnected { - color: #f5c2e7; - border-left: 2px solid #a6e3a1; - border-top: 2px solid #a6e3a1; - border-right: 0px; - border-bottom: 2px solid @color10; -} - -#bluetooth { - color: #b4befe; - margin-right: 10px -} - -#pulseaudio.microphone, -#pulseaudio { - color: #89b4fa; - border: 2px solid @color13; -} - -#pulseaudio.muted { - color: #f38ba8; - padding-right: 20px; -} - -#battery { - color: #a6e3a1; - margin-right: 5px; - padding-right: 15px; - border: 2px solid @color14; -} - - -#battery.good { - color: #ffd57a; - border: 2px solid @color15; -} - -#battery.warning { - color: #fab387; - border-left: 0px; - border: 2px solid @color12; -} - -#battery.charging { - color: #a6e3a1; -} - -#battery.critical { - color: #f38ba8; - border-left: 0px; - border: 2px solid @color8; -} - -#custom-weather { - color: #8eacf3; - border-right: 0px; - margin-left: 0px; - margin-right: 5px; -} - -#pulseaudio-slider slider { - min-width: 0px; - min-height: 0px; - opacity: 0; - background-image: none; - border: none; - box-shadow: none; -} - -#pulseaudio-slider trough { - min-width: 80px; - min-height: 5px; - border-radius: 5px; -} - -#pulseaudio-slider highlight { - min-height: 10px; - border-radius: 5px; -} - -#backlight-slider slider { - min-width: 0px; - min-height: 0px; - opacity: 0; - background-image: none; - border: none; - box-shadow: none; -} - -#backlight-slider trough { - min-width: 80px; - min-height: 10px; - border-radius: 5px; -} - -#backlight-slider highlight { - min-width: 10px; - border-radius: 5px; -} diff --git a/config/waybar/style/[Wallust Bordered] Chroma Simple.css b/config/waybar/style/[Wallust Bordered] Chroma Simple.css new file mode 100644 index 00000000..9475f417 --- /dev/null +++ b/config/waybar/style/[Wallust Bordered] Chroma Simple.css @@ -0,0 +1,306 @@ +/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */ +/* Wallust Bordered*/ + +@import '../../.config/waybar/wallust/colors-waybar.css'; + + +* { + font-family: "JetBrainsMono Nerd Font"; + font-weight: bold; + /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ + font-size: 97%; + min-height: 0; +} + +window#waybar { + background-color: transparent; + color: @foreground; + padding-left: 15px; + padding-right: 15px; +} + +window#waybar.empty #window { + background-color: transparent; + border-color: transparent; + padding-left: 15px; + padding-right: 15px; +} + +tooltip { + background-color: transparent; + color: @color12; + border-radius: 10px; + border-width: 1.5px; + border-style: solid; + border-color: @color9; + transition: 0.3s; + opacity: 0.9; +} + +#workspaces { + border-radius: 20px; + background: @background; + opacity: 1; + padding: 0px 10px; + margin: 0; + margin-top: 5px; + border: 2px solid @color12; +} + +#workspaces button { + color: @color10; + box-shadow: none; + text-shadow: none; + padding-right: 12px; + border-radius: 9px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682); +} + +#taskbar button.active, +#workspaces button.active { + color: @color12; + padding-right: 12px; + background-color: @background; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); +} + +#workspaces button.urgent { + color: #11111b; + border-radius: 10px; +} + +#taskbar button:hover, +#workspaces button:hover { + color: @color12; + padding-left: 0px; + padding-right: 2px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); +} + +#backlight, +#backlight-slider, +#battery, +#bluetooth, +#clock, +#cpu, +#disk, +#idle_inhibitor, +#keyboard-state, +#memory, +#mode, +#network, +#pulseaudio, +#pulseaudio-slider, +#taskbar, +#temperature, +#tray, +#window, +#wireplumber, +#custom-backlight, +#custom-cava_mviz, +#custom-cycle_wall, +#custom-hint, +#custom-keyboard, +#custom-light_dark, +#custom-lock, +#custom-menu, +#custom-power_vertical, +#custom-power, +#custom-swaync, +#custom-updater, +#custom-weather, +#custom-weather.clearNight, +#custom-weather.cloudyFoggyDay, +#custom-weather.cloudyFoggyNight, +#custom-weather.default, +#custom-weather.rainyDay, +#custom-weather.rainyNight, +#custom-weather.severe, +#custom-weather.showyIcyDay, +#custom-weather.snowyIcyNight, +#custom-weather.sunnyDay { + border-radius: 20px; + background: @background; + opacity: 1; + padding: 0px 10px; + margin: 0; + margin-top: 5px; + border: 2px solid @color13; +} + +#cpu { + border: 2px solid @color5; + color: @color12; +} + +#memory { + color: @color10; +} + +#disk { + color: @color13; + border: 2px solid @color13; +} + +#temperature{ + color: @color11; +} + +#temperature.critical { + color: red; + border: 2px solid red; +} + +#custom-power { + color: red; + padding-left: 10px; + padding-right: 2px; + border: 2px solid red; +} + +#backlight { + color: #f9e2af; + padding-right: 5px; +} + +#tray { + border-radius: 20px; + margin-right: 5px; +/* padding: 0px 4px; */ + padding-left: 15px; + padding-right: 15px; + border: 2px solid @color7; +} + +#mpris { + padding-left: 15px; +} +#tray.empty { + background-color: transparent; + border-color: transparent; + border: 0px; +} + +#window { + margin-left: 5px; + margin-right: 5px; + border: 2px solid @color9; +} + +#clock { + color: #fab387; +} + +#network { + color: #a6adc8; + padding-right: 12px; + padding-left: 5px; + border: 2px solid @color10; +} + +#network.disconnected { + color: #f5c2e7; + border-left: 2px solid #a6e3a1; + border-top: 2px solid #a6e3a1; + border-right: 0px; + border-bottom: 2px solid @color10; +} + +#bluetooth { + color: #b4befe; + margin-right: 10px +} + +#pulseaudio.microphone, +#pulseaudio { + color: #89b4fa; + border: 2px solid @color13; +} + +#pulseaudio.muted { + color: #f38ba8; + padding-right: 20px; +} + +#battery { + color: #a6e3a1; + margin-right: 5px; + padding-right: 15px; + border: 2px solid @color14; +} + +#idle_inhibitor.activated { + color: @color12; + border: 2px solid @color12; +} + +#battery.good { + color: #ffd57a; + border: 2px solid @color15; +} + +#battery.warning { + color: #fab387; + border-left: 0px; + border: 2px solid @color12; +} + +#battery.charging { + color: #a6e3a1; +} + +#battery.critical { + color: #f38ba8; + border-left: 0px; + border: 2px solid @color8; +} + +#custom-weather { + color: #8eacf3; + border-right: 0px; + margin-left: 0px; + margin-right: 5px; +} + +#pulseaudio-slider slider { + min-width: 0px; + min-height: 0px; + opacity: 0; + background-image: none; + border: none; + box-shadow: none; +} + +#pulseaudio-slider trough { + min-width: 80px; + min-height: 5px; + border-radius: 5px; +} + +#pulseaudio-slider highlight { + min-height: 10px; + border-radius: 5px; +} + +#backlight-slider slider { + min-width: 0px; + min-height: 0px; + opacity: 0; + background-image: none; + border: none; + box-shadow: none; +} + +#backlight-slider trough { + min-width: 80px; + min-height: 10px; + border-radius: 5px; +} + +#backlight-slider highlight { + min-width: 10px; + border-radius: 5px; +} -- cgit v1.2.3 From 8a36a291b396f843b91da1970f1d162c23a05c13 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 19:13:30 +0900 Subject: uploaded fastfetch config. Updated default font size kitty, added fastfetch on copy.sh to backup --- config/fastfetch/config.jsonc | 147 ++++++++++++++++++++++++++++++++++++++++++ config/kitty/kitty.conf | 10 ++- copy.sh | 2 +- 3 files changed, 155 insertions(+), 4 deletions(-) create mode 100644 config/fastfetch/config.jsonc (limited to 'config') diff --git a/config/fastfetch/config.jsonc b/config/fastfetch/config.jsonc new file mode 100644 index 00000000..c6eb694b --- /dev/null +++ b/config/fastfetch/config.jsonc @@ -0,0 +1,147 @@ +// Load with --load-config examples/2.jsonc +// Note that you must replace the image path to an existing image to display it. + +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "padding": { + "top": 3 + } + }, + "display": { + "separator": " 󰑃 " + }, + "modules": [ + { + "type": "custom", + "format": "\u001b[90m┌────────────────────────────────────────────────────────────┐" + }, + { + "type": "title", + "keyWidth": 10, + "format": " {6}{7}{8}" + }, + { + "type": "custom", + "format": "\u001b[90m└────────────────────────────────────────────────────────────┘" + }, + { + "type": "custom", + "format": "\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[38m \u001b[39m  \u001b[38m \u001b[37m \u001b[36m \u001b[35m \u001b[34m \u001b[33m \u001b[32m \u001b[31m \u001b[90m " + }, + { + "type": "custom", + "format": "\u001b[90m┌────────────────────────────────────────────────────────────┐" + }, + { + "type": "os", + "key": " DISTRO", + "keyColor": "yellow" + }, + { + "type": "kernel", + "key": "│ ├", + "keyColor": "yellow" + }, + { + "type": "packages", + "key": "│ ├󰏖", + "keyColor": "yellow" + }, + { + "type": "shell", + "key": "│ └", + "keyColor": "yellow" + }, + { + "type": "wm", + "key": " DE/WM", + "keyColor": "blue" + }, + { + "type": "wmtheme", + "key": "│ ├󰉼", + "keyColor": "blue" + }, + { + "type": "icons", + "key": "│ ├󰀻", + "keyColor": "blue" + }, + { + "type": "terminal", + "key": "│ ├", + "keyColor": "blue" + }, + { + "type": "wallpaper", + "key": "│ └󰸉", + "keyColor": "blue" + }, + { + "type": "host", + "key": "󰌢 SYSTEM", + "keyColor": "green" + }, + { + "type": "cpu", + "key": "│ ├󰻠", + "keyColor": "green" + }, + { + "type": "gpu", + "key": "│ ├󰻑", + "keyColor": "green" + }, + { + "type": "display", + "key": "│ ├󰍹", + "keyColor": "green", + "compactType": "original-with-refresh-rate" + }, + { + "type": "memory", + "key": "│ ├󰾆", + "keyColor": "green" + }, + { + "type": "swap", + "key": "│ ├󰓡", + "keyColor": "green" + }, + { + "type": "uptime", + "key": "│ ├󰅐", + "keyColor": "green" + }, + { + "type": "display", + "key": "│ └󰍹", + "keyColor": "green" + }, + { + "type": "sound", + "key": " AUDIO", + "keyColor": "cyan" + }, + { + "type": "player", + "key": "│ ├󰥠", + "keyColor": "cyan" + }, + { + "type": "media", + "key": "│ └󰝚", + "keyColor": "cyan" + }, + { + "type": "custom", + "format": "\u001b[90m└────────────────────────────────────────────────────────────┘" + }, + { + "type": "custom", + "format": "\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[38m \u001b[39m  \u001b[38m \u001b[37m \u001b[36m \u001b[35m \u001b[34m \u001b[33m \u001b[32m \u001b[31m \u001b[90m " + }, + "break", + ] +} diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf index f178d462..aebd1fb4 100644 --- a/config/kitty/kitty.conf +++ b/config/kitty/kitty.conf @@ -1,14 +1,18 @@ font_family Fira Code SemiBold -font_size 13.0 +font_size 15.0 bold_font auto italic_font auto bold_italic_font auto background_opacity 0.7 - confirm_os_window_close 0 +scrollback_lines 2000 +wheel_scroll_min_lines 1 + enable_audio_bell no selection_foreground #000000 -selection_background #F5FBFF \ No newline at end of file +selection_background #F5FBFF + +window_padding_width 4 \ No newline at end of file diff --git a/copy.sh b/copy.sh index 76dcd38d..345633c1 100755 --- a/copy.sh +++ b/copy.sh @@ -209,7 +209,7 @@ get_backup_dirname() { echo "back-up_${timestamp}" } -for DIR in ags btop cava hypr kitty Kvantum qt5ct qt6ct rofi swappy swaync wallust waybar wlogout; do +for DIR in ags btop cava fastfetch hypr kitty Kvantum qt5ct qt6ct rofi swappy swaync wallust waybar wlogout; do DIRPATH=~/.config/"$DIR" if [ -d "$DIRPATH" ]; then echo -e "${NOTE} - Config for $DIR found, attempting to back up." -- cgit v1.2.3 From 57121a4bddf834545613b38dfa8510a1e7060d3c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 20:27:41 +0900 Subject: RofiCalc script moved to UserScripts --- config/hypr/UserConfigs/UserKeybinds.conf | 2 +- config/hypr/UserScripts/RofiCalc.sh | 31 +++++++++++++++++++++++++++++++ config/hypr/scripts/RofiCalc.sh | 31 ------------------------------- 3 files changed, 32 insertions(+), 32 deletions(-) create mode 100755 config/hypr/UserScripts/RofiCalc.sh delete mode 100755 config/hypr/scripts/RofiCalc.sh (limited to 'config') diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index f3d03df8..85f3c1c3 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -21,7 +21,7 @@ bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview' bind = $mainMod, Return, exec, $term # Launch terminal bind = $mainMod, T, exec, $files # Launch file manager -bind = $mainMod ALT, C, exec, $scriptsDir/RofiCalc.sh # calculator (qalculate) +bind = $mainMod ALT, C, exec, $UserScripts/RofiCalc.sh # calculator (qalculate) # pyprland bind = $mainMod SHIFT, Return, exec, pypr toggle term # Dropdown terminal diff --git a/config/hypr/UserScripts/RofiCalc.sh b/config/hypr/UserScripts/RofiCalc.sh new file mode 100755 index 00000000..355130de --- /dev/null +++ b/config/hypr/UserScripts/RofiCalc.sh @@ -0,0 +1,31 @@ +#!/bin/bash +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +# /* Calculator (using qalculate) and rofi */ +# /* Submitted by: https://github.com/JosephArmas */ + +rofi_config="$HOME/.config/rofi/config-calc.rasi" + +# Kill Rofi if already running before execution +if pgrep -x "rofi" >/dev/null; then + pkill rofi + exit 0 +fi + +# main function + +while true; do + result=$( + rofi -i -dmenu \ + -config "$rofi_config" \ + -mesg "$result = $calc_result" + ) + + if [ $? -ne 0 ]; then + exit + fi + + if [ -n "$result" ]; then + calc_result=$(qalc -t "$result") + echo "$calc_result" | wl-copy + fi +done diff --git a/config/hypr/scripts/RofiCalc.sh b/config/hypr/scripts/RofiCalc.sh deleted file mode 100755 index 355130de..00000000 --- a/config/hypr/scripts/RofiCalc.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ -# /* Calculator (using qalculate) and rofi */ -# /* Submitted by: https://github.com/JosephArmas */ - -rofi_config="$HOME/.config/rofi/config-calc.rasi" - -# Kill Rofi if already running before execution -if pgrep -x "rofi" >/dev/null; then - pkill rofi - exit 0 -fi - -# main function - -while true; do - result=$( - rofi -i -dmenu \ - -config "$rofi_config" \ - -mesg "$result = $calc_result" - ) - - if [ $? -ne 0 ]; then - exit - fi - - if [ -n "$result" ]; then - calc_result=$(qalc -t "$result") - echo "$calc_result" | wl-copy - fi -done -- cgit v1.2.3 From 14036bed49f3d833a2d9ee6f57936dad0c20be9a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 21:54:23 +0900 Subject: updated AGS to included thunderbird-bin and libreoffice-bin from Gentoo --- config/ags/modules/.configuration/user_options.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') diff --git a/config/ags/modules/.configuration/user_options.js b/config/ags/modules/.configuration/user_options.js index ba8c5ab6..db194395 100644 --- a/config/ags/modules/.configuration/user_options.js +++ b/config/ags/modules/.configuration/user_options.js @@ -75,8 +75,11 @@ let configOptions = { 'Minecraft* 1.20.1': "minecraft", 'gnome-tweaks': "org.gnome.tweaks", 'pavucontrol-qt': "pavucontrol", + 'thunderbird-esr': "thunderbird", 'wps': "wps-office2019-kprometheus", 'wpsoffice': "wps-office2019-kprometheus", + 'firefox-esr': "firefox", + 'soffice' : "libreoffice", '': "image-missing", } }, -- cgit v1.2.3 From 43eb8fa817632e3f14e62c081d92cdda7c09b4ac Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 23:29:04 +0900 Subject: Waybar Enhancements, groups, etc --- config/waybar/configs/[TOP] Default Laptop_v2 | 7 +- config/waybar/configs/[TOP] Default Laptop_v3 | 55 ++++ config/waybar/configs/[TOP] Default_v3 | 54 ++++ config/waybar/configs/[TOP] Simple | 10 +- config/waybar/modules | 46 +++- .../[Wallust Bordered] Chroma Simple (copy 1).css | 306 +++++++++++++++++++++ .../style/[Wallust Bordered] Chroma Simple.css | 28 +- config/waybar/wallust/colors-waybar.css | 38 +-- 8 files changed, 497 insertions(+), 47 deletions(-) create mode 100644 config/waybar/configs/[TOP] Default Laptop_v3 create mode 100644 config/waybar/configs/[TOP] Default_v3 create mode 100644 config/waybar/style/[Wallust Bordered] Chroma Simple (copy 1).css (limited to 'config') diff --git a/config/waybar/configs/[TOP] Default Laptop_v2 b/config/waybar/configs/[TOP] Default Laptop_v2 index 9021f0b1..6ddab7d8 100644 --- a/config/waybar/configs/[TOP] Default Laptop_v2 +++ b/config/waybar/configs/[TOP] Default Laptop_v2 @@ -19,7 +19,8 @@ "custom/menu", "custom/light_dark", "custom/separator#dot-line", - "group/motherboard", + "power-profiles-daemon", + "group/mobo_drawer", "custom/separator#blank", "group/laptop", "custom/separator#line", @@ -40,15 +41,15 @@ "modules-right": [ "network#speed", + "group/connections", "custom/separator#line", "tray", "mpris", - "bluetooth", "group/audio", + "custom/separator#line", "keyboard-state", "custom/keyboard", "custom/lock", - "custom/separator#dot-line", "custom/power", ], } \ No newline at end of file diff --git a/config/waybar/configs/[TOP] Default Laptop_v3 b/config/waybar/configs/[TOP] Default Laptop_v3 new file mode 100644 index 00000000..6ddab7d8 --- /dev/null +++ b/config/waybar/configs/[TOP] Default Laptop_v3 @@ -0,0 +1,55 @@ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + +// ### DEFAULT v2 (Laptop) - Top ### // +{ +"include": "~/.config/waybar/modules", +"layer": "top", +//"mode": "dock", +"exclusive": true, +"passthrough": false, +"position": "top", +"spacing": 3, +"fixed-center": true, +"ipc": true, +"margin-top": 3, +"margin-left": 8, +"margin-right": 8, + +"modules-left": [ + "custom/menu", + "custom/light_dark", + "custom/separator#dot-line", + "power-profiles-daemon", + "group/mobo_drawer", + "custom/separator#blank", + "group/laptop", + "custom/separator#line", + "custom/weather", + ], + +"modules-center": [ + "custom/swaync", + "custom/cava_mviz", + "custom/separator#dot-line", + "clock", + "custom/separator#line", + "hyprland/workspaces#roman", + "custom/separator#dot-line", + "idle_inhibitor", + "custom/hint", + ], + +"modules-right": [ + "network#speed", + "group/connections", + "custom/separator#line", + "tray", + "mpris", + "group/audio", + "custom/separator#line", + "keyboard-state", + "custom/keyboard", + "custom/lock", + "custom/power", + ], +} \ No newline at end of file diff --git a/config/waybar/configs/[TOP] Default_v3 b/config/waybar/configs/[TOP] Default_v3 new file mode 100644 index 00000000..d32f24eb --- /dev/null +++ b/config/waybar/configs/[TOP] Default_v3 @@ -0,0 +1,54 @@ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + +// ### DEFAULT v3 - Top ### // +{ +"include": "~/.config/waybar/modules", +"layer": "top", +//"mode": "dock", +"exclusive": true, +"passthrough": false, +"position": "top", +"spacing": 3, +"fixed-center": true, +"ipc": true, +"margin-top": 3, +"margin-left": 8, +"margin-right": 8, + +"modules-left": [ + "custom/menu", + "custom/light_dark", + "custom/separator#dot-line", + "power-profiles-daemon", + "group/mobo_drawer", + "custom/separator#blank", + "custom/separator#line", + "custom/weather", + ], + +"modules-center": [ + "custom/swaync", + "custom/cava_mviz", + "custom/separator#dot-line", + "clock", + "custom/separator#line", + "hyprland/workspaces#roman", + "custom/separator#dot-line", + "idle_inhibitor", + "custom/hint", + ], + +"modules-right": [ + "network#speed", + "group/connections", + "custom/separator#line", + "tray", + "mpris", + "group/audio", + "custom/separator#line", + "keyboard-state", + "custom/keyboard", + "custom/lock", + "custom/power", + ], +} \ No newline at end of file diff --git a/config/waybar/configs/[TOP] Simple b/config/waybar/configs/[TOP] Simple index 505ea63f..09488c54 100644 --- a/config/waybar/configs/[TOP] Simple +++ b/config/waybar/configs/[TOP] Simple @@ -15,9 +15,10 @@ "modules-left": [ "idle_inhibitor", + "group/mobo_drawer", "hyprland/workspaces#rw", + "tray", "mpris", - "hyprland/window" ], "modules-center": [ @@ -25,10 +26,9 @@ ], "modules-right": [ - "tray", - "battery", - "pulseaudio", - "pulseaudio#microphone", + "hyprland/window", + "battery", + "group/audio", "custom/power", ], } diff --git a/config/waybar/modules b/config/waybar/modules index c1f46871..071efb34 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -170,20 +170,51 @@ "disk", ] }, +"group/mobo_drawer": { + "orientation": "inherit", + "drawer": { + "transition-duration": 500, + "children-class": "cpu", + "transition-left-to-right": true + }, + "modules": [ + "temperature", + "cpu", + "memory", + "disk", + ] +}, "group/laptop": { - "orientation": "horizontal", + "orientation": "inherit", "modules": [ "backlight", "battery", ] }, "group/audio": { - "orientation": "horizontal", + "orientation": "inherit", + "drawer": { + "transition-duration": 500, + "children-class": "pulseaudio", + "transition-left-to-right": true + }, "modules": [ "pulseaudio", "pulseaudio#microphone", ] }, +"group/connections": { + "orientation": "inherit", + "drawer": { + "transition-duration": 500, + "children-class": "bluetooth", + "transition-left-to-right": true + }, + "modules": [ + "network", + "bluetooth", + ] +}, "backlight": { "interval": 2, "align": 0, @@ -414,6 +445,17 @@ "󰤯", "󰤟", "󰤢", "󰤥", "󰤨" ] }, +"power-profiles-daemon": { + "format": "{icon}", + "tooltip-format": "Power profile: {profile}\nDriver: {driver}", + "tooltip": true, + "format-icons": { + "default": "", + "performance": "", + "balanced": "", + "power-saver": "" + } +}, "pulseaudio": { "format": "{icon} {volume}%", "format-bluetooth": "{icon} 󰂰 {volume}%", diff --git a/config/waybar/style/[Wallust Bordered] Chroma Simple (copy 1).css b/config/waybar/style/[Wallust Bordered] Chroma Simple (copy 1).css new file mode 100644 index 00000000..9475f417 --- /dev/null +++ b/config/waybar/style/[Wallust Bordered] Chroma Simple (copy 1).css @@ -0,0 +1,306 @@ +/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */ +/* Wallust Bordered*/ + +@import '../../.config/waybar/wallust/colors-waybar.css'; + + +* { + font-family: "JetBrainsMono Nerd Font"; + font-weight: bold; + /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ + font-size: 97%; + min-height: 0; +} + +window#waybar { + background-color: transparent; + color: @foreground; + padding-left: 15px; + padding-right: 15px; +} + +window#waybar.empty #window { + background-color: transparent; + border-color: transparent; + padding-left: 15px; + padding-right: 15px; +} + +tooltip { + background-color: transparent; + color: @color12; + border-radius: 10px; + border-width: 1.5px; + border-style: solid; + border-color: @color9; + transition: 0.3s; + opacity: 0.9; +} + +#workspaces { + border-radius: 20px; + background: @background; + opacity: 1; + padding: 0px 10px; + margin: 0; + margin-top: 5px; + border: 2px solid @color12; +} + +#workspaces button { + color: @color10; + box-shadow: none; + text-shadow: none; + padding-right: 12px; + border-radius: 9px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682); +} + +#taskbar button.active, +#workspaces button.active { + color: @color12; + padding-right: 12px; + background-color: @background; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); +} + +#workspaces button.urgent { + color: #11111b; + border-radius: 10px; +} + +#taskbar button:hover, +#workspaces button:hover { + color: @color12; + padding-left: 0px; + padding-right: 2px; + animation: gradient_f 20s ease-in infinite; + transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); +} + +#backlight, +#backlight-slider, +#battery, +#bluetooth, +#clock, +#cpu, +#disk, +#idle_inhibitor, +#keyboard-state, +#memory, +#mode, +#network, +#pulseaudio, +#pulseaudio-slider, +#taskbar, +#temperature, +#tray, +#window, +#wireplumber, +#custom-backlight, +#custom-cava_mviz, +#custom-cycle_wall, +#custom-hint, +#custom-keyboard, +#custom-light_dark, +#custom-lock, +#custom-menu, +#custom-power_vertical, +#custom-power, +#custom-swaync, +#custom-updater, +#custom-weather, +#custom-weather.clearNight, +#custom-weather.cloudyFoggyDay, +#custom-weather.cloudyFoggyNight, +#custom-weather.default, +#custom-weather.rainyDay, +#custom-weather.rainyNight, +#custom-weather.severe, +#custom-weather.showyIcyDay, +#custom-weather.snowyIcyNight, +#custom-weather.sunnyDay { + border-radius: 20px; + background: @background; + opacity: 1; + padding: 0px 10px; + margin: 0; + margin-top: 5px; + border: 2px solid @color13; +} + +#cpu { + border: 2px solid @color5; + color: @color12; +} + +#memory { + color: @color10; +} + +#disk { + color: @color13; + border: 2px solid @color13; +} + +#temperature{ + color: @color11; +} + +#temperature.critical { + color: red; + border: 2px solid red; +} + +#custom-power { + color: red; + padding-left: 10px; + padding-right: 2px; + border: 2px solid red; +} + +#backlight { + color: #f9e2af; + padding-right: 5px; +} + +#tray { + border-radius: 20px; + margin-right: 5px; +/* padding: 0px 4px; */ + padding-left: 15px; + padding-right: 15px; + border: 2px solid @color7; +} + +#mpris { + padding-left: 15px; +} +#tray.empty { + background-color: transparent; + border-color: transparent; + border: 0px; +} + +#window { + margin-left: 5px; + margin-right: 5px; + border: 2px solid @color9; +} + +#clock { + color: #fab387; +} + +#network { + color: #a6adc8; + padding-right: 12px; + padding-left: 5px; + border: 2px solid @color10; +} + +#network.disconnected { + color: #f5c2e7; + border-left: 2px solid #a6e3a1; + border-top: 2px solid #a6e3a1; + border-right: 0px; + border-bottom: 2px solid @color10; +} + +#bluetooth { + color: #b4befe; + margin-right: 10px +} + +#pulseaudio.microphone, +#pulseaudio { + color: #89b4fa; + border: 2px solid @color13; +} + +#pulseaudio.muted { + color: #f38ba8; + padding-right: 20px; +} + +#battery { + color: #a6e3a1; + margin-right: 5px; + padding-right: 15px; + border: 2px solid @color14; +} + +#idle_inhibitor.activated { + color: @color12; + border: 2px solid @color12; +} + +#battery.good { + color: #ffd57a; + border: 2px solid @color15; +} + +#battery.warning { + color: #fab387; + border-left: 0px; + border: 2px solid @color12; +} + +#battery.charging { + color: #a6e3a1; +} + +#battery.critical { + color: #f38ba8; + border-left: 0px; + border: 2px solid @color8; +} + +#custom-weather { + color: #8eacf3; + border-right: 0px; + margin-left: 0px; + margin-right: 5px; +} + +#pulseaudio-slider slider { + min-width: 0px; + min-height: 0px; + opacity: 0; + background-image: none; + border: none; + box-shadow: none; +} + +#pulseaudio-slider trough { + min-width: 80px; + min-height: 5px; + border-radius: 5px; +} + +#pulseaudio-slider highlight { + min-height: 10px; + border-radius: 5px; +} + +#backlight-slider slider { + min-width: 0px; + min-height: 0px; + opacity: 0; + background-image: none; + border: none; + box-shadow: none; +} + +#backlight-slider trough { + min-width: 80px; + min-height: 10px; + border-radius: 5px; +} + +#backlight-slider highlight { + min-width: 10px; + border-radius: 5px; +} diff --git a/config/waybar/style/[Wallust Bordered] Chroma Simple.css b/config/waybar/style/[Wallust Bordered] Chroma Simple.css index 9475f417..4024c0bf 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Simple.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Simple.css @@ -92,6 +92,7 @@ tooltip { #memory, #mode, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, @@ -133,20 +134,24 @@ tooltip { #cpu { border: 2px solid @color5; - color: @color12; + color: @foreground; + background: @color12; } #memory { - color: @color10; + color: @foreground; + background: @color12; } #disk { - color: @color13; + color: @foreground; + background: @color12; border: 2px solid @color13; } #temperature{ - color: @color11; + color: @foreground; + background: @color12; } #temperature.critical { @@ -194,20 +199,6 @@ tooltip { color: #fab387; } -#network { - color: #a6adc8; - padding-right: 12px; - padding-left: 5px; - border: 2px solid @color10; -} - -#network.disconnected { - color: #f5c2e7; - border-left: 2px solid #a6e3a1; - border-top: 2px solid #a6e3a1; - border-right: 0px; - border-bottom: 2px solid @color10; -} #bluetooth { color: #b4befe; @@ -216,6 +207,7 @@ tooltip { #pulseaudio.microphone, #pulseaudio { + background-color: @color12; color: #89b4fa; border: 2px solid @color13; } diff --git a/config/waybar/wallust/colors-waybar.css b/config/waybar/wallust/colors-waybar.css index a9c70909..8a28025e 100644 --- a/config/waybar/wallust/colors-waybar.css +++ b/config/waybar/wallust/colors-waybar.css @@ -1,20 +1,20 @@ -@define-color foreground #D1F8FD; -@define-color background rgba(6,4,2,0.25); -@define-color cursor #D1F8FD; +@define-color foreground #FDF1E6; +@define-color background rgba(1,4,7,0.25); +@define-color cursor #FDF1E6; -@define-color color0 #060402; -@define-color color1 #7A6835; -@define-color color2 #677762; -@define-color color3 #2586B5; -@define-color color4 #998C72; -@define-color color5 #94A7B8; -@define-color color6 #5CB1BC; -@define-color color7 #B5EDF4; -@define-color color8 #7EA6AB; -@define-color color9 #A38A46; -@define-color color10 #899F83; -@define-color color11 #31B2F1; -@define-color color12 #CCBA98; -@define-color color13 #C6DEF5; -@define-color color14 #7BECFA; -@define-color color15 #B5EDF4; +@define-color color0 #010407; +@define-color color1 #6F2229; +@define-color color2 #5B4E57; +@define-color color3 #A63D3A; +@define-color color4 #1B6C77; +@define-color color5 #9B6F77; +@define-color color6 #BBA189; +@define-color color7 #F4E2D3; +@define-color color8 #AA9E93; +@define-color color9 #942D37; +@define-color color10 #7A6874; +@define-color color11 #DE514D; +@define-color color12 #24909F; +@define-color color13 #CF949F; +@define-color color14 #F9D6B7; +@define-color color15 #F4E2D3; -- cgit v1.2.3 From 2fdd1298bf4f0544f38f440c4b10cd93f3fb4b81 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 24 May 2024 00:32:47 +0900 Subject: updated waybar styles to add power-profiles-daemon style --- config/waybar/style/[Black & White] Monochrome.css | 1 + config/waybar/style/[Catppuccin] Latte.css | 1 + config/waybar/style/[Catppuccin] Mocha.css | 1 + config/waybar/style/[Colored] Chroma Glow.css | 1 + config/waybar/style/[Colored] Translucent.css | 1 + config/waybar/style/[Colorful] Aurora Blossom.css | 1 + config/waybar/style/[Colorful] Aurora.css | 1 + .../waybar/style/[Colorful] Rainbow Spectrum.css | 1 + config/waybar/style/[Dark] Golden Noir.css | 1 + config/waybar/style/[Dark] Half-Moon.css | 1 + .../waybar/style/[Dark] Latte-Wallust combined.css | 1 + config/waybar/style/[Dark] Purpl.css | 1 + .../waybar/style/[Dark] Wallust Obsidian Edge.css | 1 + config/waybar/style/[Extra] Crimson.css | 1 + config/waybar/style/[Extra] Mauve.css | 1 + config/waybar/style/[Extra] Rose Pine.css | 1 + config/waybar/style/[Extra] Simple Pink.css | 1 + .../waybar/style/[Light] Monochrome Contrast.css | 1 + config/waybar/style/[Light] Obsidian Glow.css | 1 + config/waybar/style/[Retro] Simple Style.css | 1 + .../waybar/style/[Transparent] Crystal Clear.css | 1 + .../[Wallust Bordered] Chroma Fusion Edge.css | 1 + .../[Wallust Bordered] Chroma Simple (copy 1).css | 306 --------------------- .../style/[Wallust Bordered] Chroma Simple.css | 4 +- .../style/[Wallust Transparent] Crystal Clear.css | 1 + config/waybar/style/[Wallust] Chroma Edge.css | 1 + config/waybar/style/[Wallust] Chroma Fusion.css | 1 + config/waybar/style/[Wallust] Chroma Tally.css | 1 + config/waybar/style/[Wallust] Colored.css | 1 + config/waybar/style/[Wallust] Simple.css | 1 + 30 files changed, 30 insertions(+), 308 deletions(-) delete mode 100644 config/waybar/style/[Wallust Bordered] Chroma Simple (copy 1).css (limited to 'config') diff --git a/config/waybar/style/[Black & White] Monochrome.css b/config/waybar/style/[Black & White] Monochrome.css index d4ee32df..430289c6 100644 --- a/config/waybar/style/[Black & White] Monochrome.css +++ b/config/waybar/style/[Black & White] Monochrome.css @@ -118,6 +118,7 @@ tooltip label{ #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Catppuccin] Latte.css b/config/waybar/style/[Catppuccin] Latte.css index 3f344079..c8d50dc4 100644 --- a/config/waybar/style/[Catppuccin] Latte.css +++ b/config/waybar/style/[Catppuccin] Latte.css @@ -57,6 +57,7 @@ window#waybar.hidden { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar button, diff --git a/config/waybar/style/[Catppuccin] Mocha.css b/config/waybar/style/[Catppuccin] Mocha.css index 5ce97eac..c8401815 100644 --- a/config/waybar/style/[Catppuccin] Mocha.css +++ b/config/waybar/style/[Catppuccin] Mocha.css @@ -63,6 +63,7 @@ window#waybar.hidden { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar button, diff --git a/config/waybar/style/[Colored] Chroma Glow.css b/config/waybar/style/[Colored] Chroma Glow.css index 1a995dec..f8649a8f 100644 --- a/config/waybar/style/[Colored] Chroma Glow.css +++ b/config/waybar/style/[Colored] Chroma Glow.css @@ -106,6 +106,7 @@ tooltip label{ #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Colored] Translucent.css b/config/waybar/style/[Colored] Translucent.css index 37931d58..c8ca561f 100644 --- a/config/waybar/style/[Colored] Translucent.css +++ b/config/waybar/style/[Colored] Translucent.css @@ -116,6 +116,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Colorful] Aurora Blossom.css b/config/waybar/style/[Colorful] Aurora Blossom.css index d785453c..6b0b65c4 100644 --- a/config/waybar/style/[Colorful] Aurora Blossom.css +++ b/config/waybar/style/[Colorful] Aurora Blossom.css @@ -107,6 +107,7 @@ tooltip label{ #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar button, diff --git a/config/waybar/style/[Colorful] Aurora.css b/config/waybar/style/[Colorful] Aurora.css index 3c17abfd..8fe0e3f1 100644 --- a/config/waybar/style/[Colorful] Aurora.css +++ b/config/waybar/style/[Colorful] Aurora.css @@ -97,6 +97,7 @@ tooltip label{ #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Colorful] Rainbow Spectrum.css b/config/waybar/style/[Colorful] Rainbow Spectrum.css index df8808b4..e862d490 100644 --- a/config/waybar/style/[Colorful] Rainbow Spectrum.css +++ b/config/waybar/style/[Colorful] Rainbow Spectrum.css @@ -61,6 +61,7 @@ tooltip label{ #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar button, diff --git a/config/waybar/style/[Dark] Golden Noir.css b/config/waybar/style/[Dark] Golden Noir.css index 00baff3e..c80c9486 100644 --- a/config/waybar/style/[Dark] Golden Noir.css +++ b/config/waybar/style/[Dark] Golden Noir.css @@ -132,6 +132,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Dark] Half-Moon.css b/config/waybar/style/[Dark] Half-Moon.css index 5ae593bd..947bde9b 100644 --- a/config/waybar/style/[Dark] Half-Moon.css +++ b/config/waybar/style/[Dark] Half-Moon.css @@ -128,6 +128,7 @@ color: #F3F4F5; padding: 2px 15px; } +#power-profiles-daemon, #custom-cycle_wall, #cpu { color: #F3F4F5; diff --git a/config/waybar/style/[Dark] Latte-Wallust combined.css b/config/waybar/style/[Dark] Latte-Wallust combined.css index ad8d1b7f..aa85b75d 100644 --- a/config/waybar/style/[Dark] Latte-Wallust combined.css +++ b/config/waybar/style/[Dark] Latte-Wallust combined.css @@ -163,6 +163,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Dark] Purpl.css b/config/waybar/style/[Dark] Purpl.css index 0e463834..976cd86f 100644 --- a/config/waybar/style/[Dark] Purpl.css +++ b/config/waybar/style/[Dark] Purpl.css @@ -129,6 +129,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Dark] Wallust Obsidian Edge.css b/config/waybar/style/[Dark] Wallust Obsidian Edge.css index 1a507fe4..39b84cca 100644 --- a/config/waybar/style/[Dark] Wallust Obsidian Edge.css +++ b/config/waybar/style/[Dark] Wallust Obsidian Edge.css @@ -125,6 +125,7 @@ tooltip label { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Extra] Crimson.css b/config/waybar/style/[Extra] Crimson.css index c6530e11..79fc2fbe 100644 --- a/config/waybar/style/[Extra] Crimson.css +++ b/config/waybar/style/[Extra] Crimson.css @@ -119,6 +119,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Extra] Mauve.css b/config/waybar/style/[Extra] Mauve.css index 448932c2..af90af8e 100644 --- a/config/waybar/style/[Extra] Mauve.css +++ b/config/waybar/style/[Extra] Mauve.css @@ -140,6 +140,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Extra] Rose Pine.css b/config/waybar/style/[Extra] Rose Pine.css index 783ea1da..9954cf4a 100644 --- a/config/waybar/style/[Extra] Rose Pine.css +++ b/config/waybar/style/[Extra] Rose Pine.css @@ -110,6 +110,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #temperature, diff --git a/config/waybar/style/[Extra] Simple Pink.css b/config/waybar/style/[Extra] Simple Pink.css index 2f41cbb4..df7056b9 100644 --- a/config/waybar/style/[Extra] Simple Pink.css +++ b/config/waybar/style/[Extra] Simple Pink.css @@ -133,6 +133,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar button, diff --git a/config/waybar/style/[Light] Monochrome Contrast.css b/config/waybar/style/[Light] Monochrome Contrast.css index 9b3d5687..18eefd93 100644 --- a/config/waybar/style/[Light] Monochrome Contrast.css +++ b/config/waybar/style/[Light] Monochrome Contrast.css @@ -119,6 +119,7 @@ tooltip label{ #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Light] Obsidian Glow.css b/config/waybar/style/[Light] Obsidian Glow.css index c245a596..d41742c5 100644 --- a/config/waybar/style/[Light] Obsidian Glow.css +++ b/config/waybar/style/[Light] Obsidian Glow.css @@ -94,6 +94,7 @@ tooltip label { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Retro] Simple Style.css b/config/waybar/style/[Retro] Simple Style.css index ca811682..83c26494 100644 --- a/config/waybar/style/[Retro] Simple Style.css +++ b/config/waybar/style/[Retro] Simple Style.css @@ -56,6 +56,7 @@ window#waybar { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar button, diff --git a/config/waybar/style/[Transparent] Crystal Clear.css b/config/waybar/style/[Transparent] Crystal Clear.css index 0003efed..84788e7a 100644 --- a/config/waybar/style/[Transparent] Crystal Clear.css +++ b/config/waybar/style/[Transparent] Crystal Clear.css @@ -98,6 +98,7 @@ window#waybar.empty #window { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #taskbar, #temperature, diff --git a/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css b/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css index 0a418ad4..ec3ecbf7 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css @@ -68,6 +68,7 @@ tooltip { #memory, #mode, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar button, diff --git a/config/waybar/style/[Wallust Bordered] Chroma Simple (copy 1).css b/config/waybar/style/[Wallust Bordered] Chroma Simple (copy 1).css deleted file mode 100644 index 9475f417..00000000 --- a/config/waybar/style/[Wallust Bordered] Chroma Simple (copy 1).css +++ /dev/null @@ -1,306 +0,0 @@ -/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */ -/* Wallust Bordered*/ - -@import '../../.config/waybar/wallust/colors-waybar.css'; - - -* { - font-family: "JetBrainsMono Nerd Font"; - font-weight: bold; - /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ - font-size: 97%; - min-height: 0; -} - -window#waybar { - background-color: transparent; - color: @foreground; - padding-left: 15px; - padding-right: 15px; -} - -window#waybar.empty #window { - background-color: transparent; - border-color: transparent; - padding-left: 15px; - padding-right: 15px; -} - -tooltip { - background-color: transparent; - color: @color12; - border-radius: 10px; - border-width: 1.5px; - border-style: solid; - border-color: @color9; - transition: 0.3s; - opacity: 0.9; -} - -#workspaces { - border-radius: 20px; - background: @background; - opacity: 1; - padding: 0px 10px; - margin: 0; - margin-top: 5px; - border: 2px solid @color12; -} - -#workspaces button { - color: @color10; - box-shadow: none; - text-shadow: none; - padding-right: 12px; - border-radius: 9px; - animation: gradient_f 20s ease-in infinite; - transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682); -} - -#taskbar button.active, -#workspaces button.active { - color: @color12; - padding-right: 12px; - background-color: @background; - animation: gradient_f 20s ease-in infinite; - transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); -} - -#workspaces button.urgent { - color: #11111b; - border-radius: 10px; -} - -#taskbar button:hover, -#workspaces button:hover { - color: @color12; - padding-left: 0px; - padding-right: 2px; - animation: gradient_f 20s ease-in infinite; - transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); -} - -#backlight, -#backlight-slider, -#battery, -#bluetooth, -#clock, -#cpu, -#disk, -#idle_inhibitor, -#keyboard-state, -#memory, -#mode, -#network, -#pulseaudio, -#pulseaudio-slider, -#taskbar, -#temperature, -#tray, -#window, -#wireplumber, -#custom-backlight, -#custom-cava_mviz, -#custom-cycle_wall, -#custom-hint, -#custom-keyboard, -#custom-light_dark, -#custom-lock, -#custom-menu, -#custom-power_vertical, -#custom-power, -#custom-swaync, -#custom-updater, -#custom-weather, -#custom-weather.clearNight, -#custom-weather.cloudyFoggyDay, -#custom-weather.cloudyFoggyNight, -#custom-weather.default, -#custom-weather.rainyDay, -#custom-weather.rainyNight, -#custom-weather.severe, -#custom-weather.showyIcyDay, -#custom-weather.snowyIcyNight, -#custom-weather.sunnyDay { - border-radius: 20px; - background: @background; - opacity: 1; - padding: 0px 10px; - margin: 0; - margin-top: 5px; - border: 2px solid @color13; -} - -#cpu { - border: 2px solid @color5; - color: @color12; -} - -#memory { - color: @color10; -} - -#disk { - color: @color13; - border: 2px solid @color13; -} - -#temperature{ - color: @color11; -} - -#temperature.critical { - color: red; - border: 2px solid red; -} - -#custom-power { - color: red; - padding-left: 10px; - padding-right: 2px; - border: 2px solid red; -} - -#backlight { - color: #f9e2af; - padding-right: 5px; -} - -#tray { - border-radius: 20px; - margin-right: 5px; -/* padding: 0px 4px; */ - padding-left: 15px; - padding-right: 15px; - border: 2px solid @color7; -} - -#mpris { - padding-left: 15px; -} -#tray.empty { - background-color: transparent; - border-color: transparent; - border: 0px; -} - -#window { - margin-left: 5px; - margin-right: 5px; - border: 2px solid @color9; -} - -#clock { - color: #fab387; -} - -#network { - color: #a6adc8; - padding-right: 12px; - padding-left: 5px; - border: 2px solid @color10; -} - -#network.disconnected { - color: #f5c2e7; - border-left: 2px solid #a6e3a1; - border-top: 2px solid #a6e3a1; - border-right: 0px; - border-bottom: 2px solid @color10; -} - -#bluetooth { - color: #b4befe; - margin-right: 10px -} - -#pulseaudio.microphone, -#pulseaudio { - color: #89b4fa; - border: 2px solid @color13; -} - -#pulseaudio.muted { - color: #f38ba8; - padding-right: 20px; -} - -#battery { - color: #a6e3a1; - margin-right: 5px; - padding-right: 15px; - border: 2px solid @color14; -} - -#idle_inhibitor.activated { - color: @color12; - border: 2px solid @color12; -} - -#battery.good { - color: #ffd57a; - border: 2px solid @color15; -} - -#battery.warning { - color: #fab387; - border-left: 0px; - border: 2px solid @color12; -} - -#battery.charging { - color: #a6e3a1; -} - -#battery.critical { - color: #f38ba8; - border-left: 0px; - border: 2px solid @color8; -} - -#custom-weather { - color: #8eacf3; - border-right: 0px; - margin-left: 0px; - margin-right: 5px; -} - -#pulseaudio-slider slider { - min-width: 0px; - min-height: 0px; - opacity: 0; - background-image: none; - border: none; - box-shadow: none; -} - -#pulseaudio-slider trough { - min-width: 80px; - min-height: 5px; - border-radius: 5px; -} - -#pulseaudio-slider highlight { - min-height: 10px; - border-radius: 5px; -} - -#backlight-slider slider { - min-width: 0px; - min-height: 0px; - opacity: 0; - background-image: none; - border: none; - box-shadow: none; -} - -#backlight-slider trough { - min-width: 80px; - min-height: 10px; - border-radius: 5px; -} - -#backlight-slider highlight { - min-width: 10px; - border-radius: 5px; -} diff --git a/config/waybar/style/[Wallust Bordered] Chroma Simple.css b/config/waybar/style/[Wallust Bordered] Chroma Simple.css index 4024c0bf..8fcf4514 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Simple.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Simple.css @@ -27,8 +27,8 @@ window#waybar.empty #window { } tooltip { - background-color: transparent; - color: @color12; + background-color: @color12; + color: @foreground; border-radius: 10px; border-width: 1.5px; border-style: solid; diff --git a/config/waybar/style/[Wallust Transparent] Crystal Clear.css b/config/waybar/style/[Wallust Transparent] Crystal Clear.css index 189be61f..8b9ded8d 100644 --- a/config/waybar/style/[Wallust Transparent] Crystal Clear.css +++ b/config/waybar/style/[Wallust Transparent] Crystal Clear.css @@ -108,6 +108,7 @@ window#waybar.empty #window { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #temperature, #tray, diff --git a/config/waybar/style/[Wallust] Chroma Edge.css b/config/waybar/style/[Wallust] Chroma Edge.css index 9ee29a21..f24db6fd 100644 --- a/config/waybar/style/[Wallust] Chroma Edge.css +++ b/config/waybar/style/[Wallust] Chroma Edge.css @@ -99,6 +99,7 @@ tooltip label{ #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Wallust] Chroma Fusion.css b/config/waybar/style/[Wallust] Chroma Fusion.css index e8a04270..519dd5c6 100644 --- a/config/waybar/style/[Wallust] Chroma Fusion.css +++ b/config/waybar/style/[Wallust] Chroma Fusion.css @@ -67,6 +67,7 @@ tooltip { #memory, #mode, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar button, diff --git a/config/waybar/style/[Wallust] Chroma Tally.css b/config/waybar/style/[Wallust] Chroma Tally.css index 24f08dfd..98c13984 100644 --- a/config/waybar/style/[Wallust] Chroma Tally.css +++ b/config/waybar/style/[Wallust] Chroma Tally.css @@ -81,6 +81,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Wallust] Colored.css b/config/waybar/style/[Wallust] Colored.css index 8bc12221..5b78d073 100644 --- a/config/waybar/style/[Wallust] Colored.css +++ b/config/waybar/style/[Wallust] Colored.css @@ -126,6 +126,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar, diff --git a/config/waybar/style/[Wallust] Simple.css b/config/waybar/style/[Wallust] Simple.css index 77d39c60..b69f686a 100644 --- a/config/waybar/style/[Wallust] Simple.css +++ b/config/waybar/style/[Wallust] Simple.css @@ -113,6 +113,7 @@ tooltip { #mode, #mpris, #network, +#power-profiles-daemon, #pulseaudio, #pulseaudio-slider, #taskbar button, -- cgit v1.2.3 From cfb76213a52940bedded3f55af1bf7c9296e1046 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 24 May 2024 00:43:56 +0900 Subject: updated copy.sh --- config/hypr/initial-boot.sh | 2 +- copy.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 794415aa..b05d6865 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -11,7 +11,7 @@ wallpaper=$HOME/Pictures/wallpapers/Fantasy-Waterfall.png waybar_style="$HOME/.config/waybar/style/[Dark] Latte-Wallust combined.css" kvantum_theme="Catppuccin-Mocha" color_scheme="prefer-dark" -gtk_theme="Tokyonight-Dark-Moon-BL-LB" +gtk_theme="Andromeda-dark" icon_theme="Flat-Remix-Blue-Dark" cursor_theme="Bibata-Modern-Ice" diff --git a/copy.sh b/copy.sh index e9039b69..e91e8f07 100755 --- a/copy.sh +++ b/copy.sh @@ -5,6 +5,8 @@ clear wallpaper=$HOME/Pictures/wallpapers/Fantasy-Waterfall.png waybar_style="$HOME/.config/waybar/style/[Dark] Latte-Wallust combined.css" +waybar_config="$HOME/.config/waybar/configs/[TOP] Default_v3" +waybar_config_laptop="$HOME/.config/waybar/configs/[TOP] Default Laptop_v3" # Check if running as root. If root, script will exit if [[ $EUID -eq 0 ]]; then @@ -249,12 +251,12 @@ printf "\n%.0s" {1..2} # Detect machine type and set Waybar configurations accordingly, logging the output if hostnamectl | grep -q 'Chassis: desktop'; then # Configurations for a desktop - ln -sf "$HOME/.config/waybar/configs/[TOP] Default_v2" "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG" + ln -sf $waybar_config "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG" rm -r "$HOME/.config/waybar/configs/[TOP] Default Laptop" "$HOME/.config/waybar/configs/[BOT] Default Laptop" 2>&1 | tee -a "$LOG" rm -r "$HOME/.config/waybar/configs/[TOP] Default Laptop_v2" "$HOME/.config/waybar/configs/[TOP] Default Laptop_v3" 2>&1 | tee -a "$LOG" else # Configurations for a laptop or any system other than desktop - ln -sf "$HOME/.config/waybar/configs/[TOP] Default Laptop_v2" "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG" + ln -sf $waybar_config_laptop "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG" rm -r "$HOME/.config/waybar/configs/[TOP] Default" "$HOME/.config/waybar/configs/[BOT] Default" 2>&1 | tee -a "$LOG" rm -r "$HOME/.config/waybar/configs/[TOP] Default_v2" "$HOME/.config/waybar/configs/[TOP] Default_v3" 2>&1 | tee -a "$LOG" fi -- cgit v1.2.3 From 7968e96b79b087f7db20d403ee4c53c1dc29410a Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Thu, 23 May 2024 21:26:12 +0530 Subject: window-rules: add Vesktop, JetBrains IDEs, and Warp file transfer --- config/hypr/UserConfigs/WindowRules.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 3a04ba3b..3193d26c 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -17,6 +17,7 @@ windowrulev2 = workspace 5, class:^([Ss]team)$ windowrulev2 = workspace 5, class:^([Ll]utris)$ windowrulev2 = workspace 7, class:^([Dd]iscord)$ windowrulev2 = workspace 7, class:^([Ww]ebCord)$ +windowrulev2 = workspace 7, class:^([Vv]esktop)$ # windowrule v2 move to workspace (silent) windowrulev2 = workspace 6 silent, class:^(virt-manager)$ @@ -70,12 +71,12 @@ 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:^(VSCode|code-url-handler)$ -windowrulev2 = opacity 0.9 0.8, class:^(jetbrains-studio)$ # Android Studio -windowrulev2 = opacity 0.9 0.8, class:^(jetbrains-phpstorm)$ # PHPStorm -windowrulev2 = opacity 0.94 0.86, class:^(discord)$ -windowrulev2 = opacity 0.9 0.8, class:^(org.telegram.desktop)$ +windowrulev2 = opacity 0.9 0.8, class:^(jetbrains-.+)$ # JetBrains IDEs +windowrulev2 = opacity 0.94 0.86, class:^([Dd]iscord|[Vv]esktop)$ +windowrulev2 = opacity 0.9 0.8, class:^(org.telegram.desktop|io.github.tdesktop_x64.TDesktop)$ windowrulev2 = opacity 0.94 0.86, class:^(gnome-disks|evince|wihotspot-gui|org.gnome.baobab)$ windowrulev2 = opacity 0.9 0.8, class:^(file-roller|org.gnome.FileRoller)$ # archive manager +windowrulev2 = opacity 0.8 0.7, class:^(app.drey.Warp)$ # Warp file transfer 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 -- cgit v1.2.3 From 6e1073cd7bad09baeec81611fb960312ec49613e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 24 May 2024 12:00:32 +0900 Subject: default kitty font size bump to 16 from 15 --- config/kitty/kitty.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf index aebd1fb4..1437ce07 100644 --- a/config/kitty/kitty.conf +++ b/config/kitty/kitty.conf @@ -1,5 +1,5 @@ font_family Fira Code SemiBold -font_size 15.0 +font_size 16.0 bold_font auto italic_font auto bold_italic_font auto -- cgit v1.2.3 From 5a2b126f223af444bebd2fc9caed795468cf2886 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Fri, 24 May 2024 09:41:40 +0530 Subject: fastfetch: add config-compact.jsonc it can be used by setting an alias alias cfastfetch="fastfetch --config ~/.config/fastfetch/config-compact.jsonc" --- config/fastfetch/config-compact.jsonc | 63 +++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 config/fastfetch/config-compact.jsonc (limited to 'config') diff --git a/config/fastfetch/config-compact.jsonc b/config/fastfetch/config-compact.jsonc new file mode 100644 index 00000000..58df7ed1 --- /dev/null +++ b/config/fastfetch/config-compact.jsonc @@ -0,0 +1,63 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "small" + }, + "display": { + "separator": " -> " + }, + "modules": [ + "break", + { + "type": "custom", + "format": " ╭───────┤ \u001b[35m\u001b[1m NixOS\u001b[0m ├───────╮" + }, + { + "type": "kernel", + "key": " ", + "keyColor": "yellow" + }, + { + "type": "wm", + "key": " ", + "keyColor": "blue" + }, + { + "type": "shell", + "key": " ", + "keyColor": "yellow" + }, + { + "type": "terminal", + "key": " ", + "keyColor": "blue" + }, + /* + { + "type": "packages", + "key": "󰏖 ", + "keyColor": "yellow" + }, + */ + { + "type": "memory", + "key": "󰍛 ", + "keyColor": "green", + // format: used / total + "format": "{1} / {2}" + }, + { + "type": "uptime", + "key": "󰔛 ", + "keyColor": "green" + }, + { + "type": "custom", + "format": " ╰─────────────────────────╯" + }, + { + "type": "custom", + "format": " \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[30m " + } + ] +} \ No newline at end of file -- cgit v1.2.3 From ba44152db0d538410290b0efa7e59a31333a1a15 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Fri, 24 May 2024 13:42:35 +0900 Subject: Update config-compact.jsonc tinkered abit, basically removed the nixos part to be more universal and have added on top the host name. --- config/fastfetch/config-compact.jsonc | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'config') diff --git a/config/fastfetch/config-compact.jsonc b/config/fastfetch/config-compact.jsonc index 58df7ed1..f8b1e12e 100644 --- a/config/fastfetch/config-compact.jsonc +++ b/config/fastfetch/config-compact.jsonc @@ -1,6 +1,9 @@ { "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", "logo": { + "padding": { + "top": 2 + }, "type": "small" }, "display": { @@ -8,9 +11,14 @@ }, "modules": [ "break", + { + "type": "title", + "keyWidth": 10, + "format": " {6}{7}{8}" + }, { "type": "custom", - "format": " ╭───────┤ \u001b[35m\u001b[1m NixOS\u001b[0m ├───────╮" + "format": " ╭───────────────────────╮" }, { "type": "kernel", @@ -42,7 +50,7 @@ { "type": "memory", "key": "󰍛 ", - "keyColor": "green", + "keyColor": "magenta", // format: used / total "format": "{1} / {2}" }, @@ -53,11 +61,12 @@ }, { "type": "custom", - "format": " ╰─────────────────────────╯" + "format": " ╰───────────────────────╯" }, { "type": "custom", - "format": " \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[30m " - } + "format": " \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[90m " + }, + "break", ] -} \ No newline at end of file +} -- cgit v1.2.3