From 275f85824cf88a2db76e97c17a5159d6809a7123 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 20 Feb 2025 00:49:59 +0900 Subject: rofi tweaks --- config/rofi/config-edit.rasi | 1 + 1 file changed, 1 insertion(+) (limited to 'config/rofi/config-edit.rasi') diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index 1e2bc848..23acbfbd 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -18,6 +18,7 @@ configuration { /* ---- Window ---- */ window { width: 50%; + height: inherit; } -- cgit v1.2.3 From ebd0987574d18da0ba767ae703427cb73e280117 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 20 Feb 2025 12:44:10 +0900 Subject: some minor rofi configs improvement --- config/rofi/config-clipboard.rasi | 4 ++-- config/rofi/config-edit.rasi | 1 + config/rofi/config-rofi-Beats.rasi | 4 ++-- config/rofi/themes/KooL_style-2-Dark.rasi | 10 +++++----- config/rofi/themes/KooL_style-2-Light.rasi | 8 +++----- 5 files changed, 13 insertions(+), 14 deletions(-) (limited to 'config/rofi/config-edit.rasi') diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index f5c086a7..4006e646 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -24,8 +24,8 @@ entry { /* ---- Listview ---- */ listview { columns: 1; - lines: 15; - fixed-height: false; + lines: 8; + fixed-height: true; } /* ---- Elements ---- */ diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index 23acbfbd..79fbbbd9 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -46,5 +46,6 @@ element-icon { } element-text { horizontal-align: 0.0; + padding-left: 0px; margin: 5px 30px 5px 30px; } \ No newline at end of file diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 9e646868..9be65e09 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -14,10 +14,10 @@ mainbox { children: [ "inputbar", "listview"]; } -R + /* ---- Entry ---- */ entry { - placeholder: " πŸ“» Choose Media or Stations to play"; + placeholder: "πŸ“» Choose Media or Stations to play"; } /* ---- Listview ---- */ diff --git a/config/rofi/themes/KooL_style-2-Dark.rasi b/config/rofi/themes/KooL_style-2-Dark.rasi index 7be669d8..81e233e4 100644 --- a/config/rofi/themes/KooL_style-2-Dark.rasi +++ b/config/rofi/themes/KooL_style-2-Dark.rasi @@ -53,7 +53,7 @@ mainbox { enabled: true; spacing: 20px; margin: 10px; - padding: 20px; + padding: 15px; border-radius: 12px; background-color: black/90%; children: [ "inputbar", "mode-switcher", "message", "listview" ]; @@ -64,7 +64,7 @@ inputbar { enabled: true; spacing: 0px; margin: 0px; - padding: 0px 0px 10px 0px; + padding: 20px 0px 20px 0px; border: 0px 0px 2px 0px; border-radius: 0px; border-color: gray/20%; @@ -98,7 +98,7 @@ listview { spacing: 40px; margin: 0px; - padding: 20px 0px 0px 0px; + padding: 0px; border: 0px solid; background-color: transparent; cursor: "default"; @@ -119,7 +119,7 @@ element { enabled: true; spacing: 10px; margin: 0px; - padding: 15px; + padding: 20px 0px 20px 0px; border: 1px solid; border-radius: 8px; border-color: white/30%; @@ -188,4 +188,4 @@ textbox { text-color: inherit; vertical-align: 0.5; horizontal-align: 0.5; -} +} \ No newline at end of file diff --git a/config/rofi/themes/KooL_style-2-Light.rasi b/config/rofi/themes/KooL_style-2-Light.rasi index 551759db..2e0b4e6e 100644 --- a/config/rofi/themes/KooL_style-2-Light.rasi +++ b/config/rofi/themes/KooL_style-2-Light.rasi @@ -108,7 +108,7 @@ listview { scrollbar { border: 0px; border-radius: 10px; - background-color: transparent; + background-color: inherit; handle-color: gray/50%; handle-width: 2px ; padding: 0; @@ -119,7 +119,7 @@ element { enabled: true; spacing: 10px; margin: 0px; - padding: 15px; + padding: 20px 0px 20px 0px; border: 1px solid; border-radius: 8px; border-color: gray/30%; @@ -162,7 +162,6 @@ mode-switcher{ text-color: white; } button { - font: "JetBrainsMono Nerd Font SemiBold 10"; padding: 6px; border: 0px solid; border-radius: 100%; @@ -189,5 +188,4 @@ textbox { text-color: inherit; vertical-align: 0.5; horizontal-align: 0.5; -} - +} \ No newline at end of file -- cgit v1.2.3 From c35b1026d16cff151b763ee484d9fc773952aeb1 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 21 Feb 2025 16:14:38 +0900 Subject: pushing for monitor profiles, changed the version to dev first indicating still in dev branch. Enhance functionality of KooL Quick Settings --- config/hypr/Monitor_Profiles/README | 9 +++ config/hypr/Monitor_Profiles/default.conf | 52 ++++++++++++++++ config/hypr/UserConfigs/UserKeybinds.conf | 2 +- config/hypr/UserConfigs/WindowRules.conf | 10 ++-- config/hypr/UserScripts/Kool_Quick_Settings.sh | 83 ++++++++++++++++++++++++++ config/hypr/UserScripts/QuickEdit.sh | 72 ---------------------- config/hypr/hyprland.conf | 4 +- config/hypr/scripts/KeyHints.sh | 2 +- config/hypr/scripts/MonitorProfiles.sh | 42 +++++++++++++ config/hypr/v2.3.12 | 5 -- config/hypr/v2.3.12-dev | 5 ++ config/rofi/config-Monitors.rasi | 41 +++++++++++++ config/rofi/config-edit.rasi | 3 +- config/waybar/ModulesCustom | 4 +- 14 files changed, 245 insertions(+), 89 deletions(-) create mode 100644 config/hypr/Monitor_Profiles/README create mode 100644 config/hypr/Monitor_Profiles/default.conf create mode 100755 config/hypr/UserScripts/Kool_Quick_Settings.sh delete mode 100755 config/hypr/UserScripts/QuickEdit.sh create mode 100755 config/hypr/scripts/MonitorProfiles.sh delete mode 100644 config/hypr/v2.3.12 create mode 100644 config/hypr/v2.3.12-dev create mode 100644 config/rofi/config-Monitors.rasi (limited to 'config/rofi/config-edit.rasi') diff --git a/config/hypr/Monitor_Profiles/README b/config/hypr/Monitor_Profiles/README new file mode 100644 index 00000000..b2e218c5 --- /dev/null +++ b/config/hypr/Monitor_Profiles/README @@ -0,0 +1,9 @@ +# Create a Monitor profile you want to on this directory + +# Create a unique file name i.e. Mirror, or Office, Scale, etc etc + +# tip: You can easily create a profile using nwg-displays +# after which, you can copy the ~/.config/hypr/monitors.conf file in this directory + +# Note, after selecting Profiles wanted, it will copy contents into ~/.config/hypr/monitors.conf + diff --git a/config/hypr/Monitor_Profiles/default.conf b/config/hypr/Monitor_Profiles/default.conf new file mode 100644 index 00000000..a96cac7d --- /dev/null +++ b/config/hypr/Monitor_Profiles/default.conf @@ -0,0 +1,52 @@ +# /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ # +# default Monitor config + +# Monitor Configuration +# See Hyprland wiki for more details +# https://wiki.hyprland.org/Configuring/Monitors/ +# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info. + +# Monitors +monitor=,preferred,auto,1 + +# High Refresh Rate +monitor=,highrr,auto,1 + +# High Resolution +monitor=,highres,auto,1 + +# NOTE: for laptop, kindly check notes in Laptops.conf regarding display +# Created this inorder for the monitor display to not wake up if not intended. +# See here: https://github.com/hyprwm/Hyprland/issues/4090 + +# Some examples to set your own monitor +#monitor = eDP-1, preferred, auto, 1 +#monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen +#monitor = DP-3, 1920x1080@240, auto, 1 +#monitor = DP-1, preferred, auto, 1 +#monitor = HDMI-A-1, preferred,auto,1 + +# QEMU-KVM, virtual box or vmware +#monitor = Virtual-1, 1920x1080@60,auto,1 + +# to disable a monitor +#monitor=name,disable + +# Mirror samples +#monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2 +#monitor=,preferred,auto,1,mirror,eDP-1 +#monitor=HDMI-A-1,2560x1440@144,0x0,1,mirror,eDP-1 + +# 10 bit monitor support - See wiki https://wiki.hyprland.org/Configuring/Monitors/#10-bit-support - See NOTES below +# NOTE: Colors registered in Hyprland (e.g. the border color) do not support 10 bit. +# NOTE: Some applications do not support screen capture with 10 bit enabled. (Screen captures like OBS may render black screen) +# monitor=,preferred,auto,1,bitdepth,10 + +#monitor=eDP-1,transform,0 +#monitor=eDP-1,addreserved,10,10,10,49 + +# workspaces - Monitor rules +# https://wiki.hyprland.org/Configuring/Workspace-Rules/ +# SUPER E - Workspace-Rules +# See ~/.config/hypr/UserConfigs/WorkspaceRules.conf + diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 0538ee72..16557059 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -44,7 +44,7 @@ bind = $mainMod CTRL, B, exec, $scriptsDir/WaybarStyles.sh # Waybar Styles Menu bind = $mainMod ALT, B, exec, $scriptsDir/WaybarLayout.sh # Waybar Layout Menu # FEATURES / EXTRAS (UserScripts) -bind = $mainMod SHIFT, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings +bind = $mainMod SHIFT, E, exec, $UserScripts/Kool_Quick_Settings.sh # Settings Menu KooL Hyprland Settings bind = $mainMod SHIFT, M, exec, $UserScripts/RofiBeats.sh # online music using rofi bind = $mainMod, W, exec, $UserScripts/WallpaperSelect.sh # Select wallpaper to apply bind = $mainMod SHIFT, W, exec, $UserScripts/WallpaperEffects.sh # Wallpaper Effects by imagemagick diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 05db62f1..faecbfa5 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -13,8 +13,8 @@ windowrulev2 = tag +browser, class:^(Brave-browser(-beta|-dev|-unstable)?)$ windowrulev2 = tag +browser, class:^([Tt]horium-browser|[Cc]achy-browser)$ windowrulev2 = tag +browser, class:^(zen-alpha|zen)$ windowrulev2 = tag +notif, class:^(swaync-control-center|swaync-notification-window|swaync-client|class)$ - -windowrulev2 = tag +nwg, class:^(nwg-displays|nwg-look)$ +windowrulev2 = tag +KooL_Settings, title:^(KooL Hyprland Settings)$ +windowrulev2 = tag +KooL-Settings, class:^(nwg-displays|nwg-look)$ # terminal tags windowrulev2 = tag +terminal, class:^(Alacritty|kitty|kitty-dropterm)$ @@ -69,7 +69,7 @@ windowrulev2 = tag +settings, title:(Kvantum Manager) windowrulev2 = tag +settings, class:^(file-roller|org.gnome.FileRoller)$ # archive manager windowrulev2 = tag +settings, class:^(nm-applet|nm-connection-editor|blueman-manager)$ windowrulev2 = tag +settings, class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$ -windowrulev2 = tag +settings, class:^(nwg-look|qt5ct|qt6ct|[Yy]ad)$ +windowrulev2 = tag +settings, class:^(qt5ct|qt6ct|[Yy]ad)$ windowrulev2 = tag +settings, class:(xdg-desktop-portal-gtk) windowrulev2 = tag +settings, class:^(org.kde.polkit-kde-authentication-agent-1)$ windowrulev2 = tag +settings, class:^([Rr]ofi)$ @@ -84,7 +84,7 @@ windowrulev2 = tag +viewer, class:^(eog|org.gnome.Loupe)$ # image viewer windowrulev2 = center, title:^(KooL Quick Cheat Sheet)$ windowrulev2 = center, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*) windowrulev2 = center, title:^(ROG Control)$ -windowrulev2 = center, tag:nwg* +windowrulev2 = center, tag:KooL_Settings* windowrulev2 = center, title:^(Keybindings)$ windowrulev2 = center, class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$ windowrulev2 = center, class:^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$ @@ -117,7 +117,7 @@ windowrulev2 = float, title:^(KooL Quick Cheat Sheet)$ windowrulev2 = float, tag:wallpaper* windowrulev2 = float, tag:settings* windowrulev2 = float, tag:viewer* -windowrulev2 = float, tag:nwg* +windowrulev2 = float, tag:KooL_Settings* windowrulev2 = float, class:([Zz]oom|onedriver|onedriver-launcher)$ windowrulev2 = float, class:(org.gnome.Calculator), title:(Calculator) windowrulev2 = float, class:^(mpv|com.github.rafostar.Clapper)$ diff --git a/config/hypr/UserScripts/Kool_Quick_Settings.sh b/config/hypr/UserScripts/Kool_Quick_Settings.sh new file mode 100755 index 00000000..7b2f7f0e --- /dev/null +++ b/config/hypr/UserScripts/Kool_Quick_Settings.sh @@ -0,0 +1,83 @@ +#!/bin/bash +# /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ ## +# Rofi menu for Quick Edit/View of Settings (SUPER SHIFT E) + +# Define preferred text editor and terminal +edit=${EDITOR:-nano} +tty=kitty + +# variables +configs="$HOME/.config/hypr/configs" +UserConfigs="$HOME/.config/hypr/UserConfigs" +rofi_theme="~/.config/rofi/config-edit.rasi" +msg=' ⁉️ Choose what to do ⁉️' +iDIR="$HOME/.config/swaync/images" +scriptsDir="$HOME/.config/hypr/scripts" +UserScripts="$HOME/.config/hypr/UserScripts" + +# Function to display the menu options +menu() { + cat </dev/null; then + notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" + exit 1 + fi + nwg-displays ;; + 11) if ! command -v nwg-displays &>/dev/null; then + notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" + exit 1 + fi + nwg-displays ;; + 12) $scriptsDir/Animations.sh ;; + 13) $scriptsDir/MonitorProfiles.sh ;; + 14) $scriptsDir/RofiThemeSelector.sh ;; + 15) $scriptsDir/KeyBinds.sh ;; + + *) return ;; # Do nothing for invalid choices + esac + + # Open the selected file in the terminal with the text editor + if [ -n "$file" ]; then + $tty -e $edit "$file" + fi +} + +# Check if rofi is already running +if pidof rofi > /dev/null; then + pkill rofi +fi + +main \ No newline at end of file diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh deleted file mode 100755 index 2964ef3d..00000000 --- a/config/hypr/UserScripts/QuickEdit.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/bash -# /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ ## -# Rofi menu for Quick Edit/View of Settings (SUPER E) - -# Define preferred text editor and terminal -edit=${EDITOR:-nano} -tty=kitty - -# variables -configs="$HOME/.config/hypr/configs" -UserConfigs="$HOME/.config/hypr/UserConfigs" -rofi_theme="~/.config/rofi/config-edit.rasi" -msg=' ⁉️ Choose which config to View or Edit ⁉️' -iDIR="$HOME/.config/swaync/images" - -# Function to display the menu options -menu() { - cat </dev/null; then - notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" - exit 1 - fi - nwg-displays ;; - 11) if ! command -v nwg-displays &>/dev/null; then - notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" - exit 1 - fi - nwg-displays ;; - *) return ;; # Do nothing for invalid choices - esac - - # Open the selected file in the terminal with the text editor - if [ -n "$file" ]; then - $tty -e $edit "$file" - fi -} - -# Check if rofi is already running -if pidof rofi > /dev/null; then - pkill rofi -fi - -main \ No newline at end of file diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 1469db06..0c6b7fc4 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -19,7 +19,7 @@ source= $UserConfigs/Startup_Apps.conf # put your start-up packages on this file source= $UserConfigs/ENVariables.conf # Environment variables to load -#source= $UserConfigs/Monitors.conf # Its all about your monitor config (old builds) +#source= $UserConfigs/Monitors.conf # Its all about your monitor config (old dots #source= $UserConfigs/WorkspaceRules.conf # Hyprland workspaces (old dots) source= $UserConfigs/Laptops.conf # For laptop related @@ -36,6 +36,6 @@ source= $UserConfigs/UserKeybinds.conf # Put your own keybinds here source= $UserConfigs/UserSettings.conf # Main Hyprland Settings. -# nwg displays +# nwg-displays source= $HOME/.config/hypr/monitors.conf source= $HOME/.config/hypr/workspaces.conf \ No newline at end of file diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index 60b2d689..973ca6b6 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -25,7 +25,7 @@ GDK_BACKEND=$BACKEND yad \ --timeout-indicator=bottom \ "ESC" "close this app" "" "ξ―† = ο…Ί" "SUPER KEY (Windows Key Button)" "(SUPER KEY)" \ "ξ―† SHIFT K" "Searchable Keybinds" "(Search all Keybinds via rofi)" \ -"ξ―† SHIFT E" "View or EDIT Keybinds, Settings, Monitor" "" \ +"ξ―† SHIFT E" "KooL Hyprland Settings Menu" "" \ "" "" "" \ "ξ―† enter" "Terminal" "(kitty)" \ "ξ―† SHIFT enter" "DropDown Terminal" "(Not available in Debian and Ubuntu)" \ diff --git a/config/hypr/scripts/MonitorProfiles.sh b/config/hypr/scripts/MonitorProfiles.sh new file mode 100755 index 00000000..ebab0144 --- /dev/null +++ b/config/hypr/scripts/MonitorProfiles.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ ## +# For applying Pre-configured Monitor Profiles + +# Check if rofi is already running +if pidof rofi > /dev/null; then + pkill rofi +fi + +# Variables +iDIR="$HOME/.config/swaync/images" +SCRIPTSDIR="$HOME/.config/hypr/scripts" +monitor_dir="$HOME/.config/hypr/Monitor_Profiles" +target="$HOME/.config/hypr/monitors.conf" +rofi_theme="~/.config/rofi/config-Monitors.rasi" +msg='❗NOTE:❗ This will overwrite ~/.config/hypr/monitors.conf' + +# Define the list of files to ignore +ignore_files=( + "README" +) + +# list of Monitor Profiles, sorted alphabetically with numbers first +mon_profiles_list=$(find -L "$monitor_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//' | sort -V) + +# Remove ignored files from the list +for ignored_file in "${ignore_files[@]}"; do + mon_profiles_list=$(echo "$mon_profiles_list" | grep -v -E "^$ignored_file$") +done + +# Rofi Menu +chosen_file=$(echo "$mon_profiles_list" | rofi -i -dmenu -config $rofi_theme -mesg "$msg") + +# Check if a file was selected +if [[ -n "$chosen_file" ]]; then + full_path="$monitor_dir/$chosen_file.conf" + cp -r "$target" "$monitor_dir/Previous_Profile.conf" && cp "$full_path" "$target" + notify-send -u low -i "$iDIR/ja.png" "$chosen_file" "Monitor Profile Loaded" +fi + +sleep 1 +"$SCRIPTSDIR/RefreshNoWaybar.sh" diff --git a/config/hypr/v2.3.12 b/config/hypr/v2.3.12 deleted file mode 100644 index 31b3414d..00000000 --- a/config/hypr/v2.3.12 +++ /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.3.12-dev b/config/hypr/v2.3.12-dev new file mode 100644 index 00000000..31b3414d --- /dev/null +++ b/config/hypr/v2.3.12-dev @@ -0,0 +1,5 @@ +### https://github.com/JaKooLit ### +## https://github.com/JaKooLit/Hyprland-Dots +## This is to have a reference of which version would be + +## note that this will always be higher than the released versions \ No newline at end of file diff --git a/config/rofi/config-Monitors.rasi b/config/rofi/config-Monitors.rasi new file mode 100644 index 00000000..4e9c2284 --- /dev/null +++ b/config/rofi/config-Monitors.rasi @@ -0,0 +1,41 @@ +/* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ +/* Monitor Profiles Menu */ + +@import "~/.config/rofi/config.rasi" + +/* ---- Mainbox ---- */ +mainbox { + children: + [ "inputbar", "message", "listview"]; +} + +/* ---- Window ---- */ +window { + width: 45%; + height: inherit; +} + +/* ---- Entry ---- */ +entry { + width: 43%; + placeholder: " πŸ’» Search / Choose which Monitor Profiles to load"; +} + +/* ---- Listview ---- */ +listview { + columns: 1; + lines: 5; + fixed-height: false; + margin: 10px; + scrollbar: true; +} + +/* ---- Elements ---- */ +element-icon { + size: 0%; +} +element-text { + horizontal-align: 0.0; + vertical-align: 0.0; + margin: 5px 30px 5px 30px; +} diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index 79fbbbd9..b8a90345 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -1,5 +1,5 @@ /* ---- πŸ’« https://github.com/JaKooLit πŸ’« ---- */ -/* Main Config (compact) */ +/* KooL Hyprland Edit Rofi Config */ @import "~/.config/rofi/config.rasi" @@ -27,6 +27,7 @@ listview { columns: 2; lines: 6; fixed-height: false; + scrollbar: true; } /* ---- Entry input ---- */ diff --git a/config/waybar/ModulesCustom b/config/waybar/ModulesCustom index ba9c77ba..06feedfe 100644 --- a/config/waybar/ModulesCustom +++ b/config/waybar/ModulesCustom @@ -40,9 +40,9 @@ "custom/settings": { "format": "ξ­‘ ", - "on-click": "$HOME/.config/hypr/UserScripts/QuickEdit.sh", + "on-click": "$HOME/.config/hypr/UserScripts/Kool_Quick_Settings.sh", "tooltip": true, - "tooltip-format": "Launch Quick Edit", + "tooltip-format": "Launch KooL Hyprland Settings Menu", }, "custom/cycle_wall": { -- cgit v1.2.3 From cac7771a124a3a480bc8cf7c91896d560d917e43 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 21 Feb 2025 23:04:38 +0900 Subject: adjusted rofi configs to have better compatibility? --- config/hypr/UserScripts/Kool_Quick_Settings.sh | 87 +++++++++++++------------- config/rofi/config-Animations.rasi | 6 +- config/rofi/config-clipboard.rasi | 7 ++- config/rofi/config-edit.rasi | 7 ++- config/rofi/config-emoji.rasi | 5 +- config/rofi/config-keybinds.rasi | 3 + config/rofi/config-rofi-Beats-menu.rasi | 2 + config/rofi/config-rofi-Beats.rasi | 5 +- config/rofi/config-rofi-theme.rasi | 8 ++- config/rofi/config-wallpaper-effect.rasi | 8 ++- config/rofi/config-wallpaper.rasi | 15 ++--- config/rofi/config-waybar-layout.rasi | 4 +- config/rofi/config-waybar-style.rasi | 4 +- 13 files changed, 94 insertions(+), 67 deletions(-) (limited to 'config/rofi/config-edit.rasi') diff --git a/config/hypr/UserScripts/Kool_Quick_Settings.sh b/config/hypr/UserScripts/Kool_Quick_Settings.sh index 663b51ed..a6dc2885 100755 --- a/config/hypr/UserScripts/Kool_Quick_Settings.sh +++ b/config/hypr/UserScripts/Kool_Quick_Settings.sh @@ -15,57 +15,58 @@ iDIR="$HOME/.config/swaync/images" scriptsDir="$HOME/.config/hypr/scripts" UserScripts="$HOME/.config/hypr/UserScripts" -# Function to display the menu options +# Function to display the menu options without numbers menu() { cat </dev/null; then - notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" - exit 1 - fi - nwg-displays ;; - 11) if ! command -v nwg-displays &>/dev/null; then - notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" - exit 1 - fi - nwg-displays ;; - 12) $scriptsDir/Animations.sh ;; - 13) $scriptsDir/MonitorProfiles.sh ;; - 14) $scriptsDir/RofiThemeSelector.sh ;; - 15) $scriptsDir/KeyBinds.sh ;; - + case "$choice" in + "view/edit ENV variables") file="$UserConfigs/ENVariables.conf" ;; + "view/edit Window Rules") file="$UserConfigs/WindowRules.conf" ;; + "view/edit User Keybinds") file="$UserConfigs/UserKeybinds.conf" ;; + "view/edit User Settings") file="$UserConfigs/UserSettings.conf" ;; + "view/edit Startup Apps") file="$UserConfigs/Startup_Apps.conf" ;; + "view/edit Decorations") file="$UserConfigs/UserDecorations.conf" ;; + "view/edit Animations") file="$UserConfigs/UserAnimations.conf" ;; + "view/edit Laptop Keybinds") file="$UserConfigs/Laptops.conf" ;; + "view/edit Default Keybinds") file="$configs/Keybinds.conf" ;; + "Configure Monitors (nwg-displays)") + if ! command -v nwg-displays &>/dev/null; then + notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" + exit 1 + fi + nwg-displays ;; + "Configure Workspace Rules (nwg-displays)") + if ! command -v nwg-displays &>/dev/null; then + notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first" + exit 1 + fi + nwg-displays ;; + "Choose Hyprland Animations") $scriptsDir/Animations.sh ;; + "Choose Monitor Profiles") $scriptsDir/MonitorProfiles.sh ;; + "Choose Rofi Themes") $scriptsDir/RofiThemeSelector.sh ;; + "Search for Keybinds") $scriptsDir/KeyBinds.sh ;; *) return ;; # Do nothing for invalid choices esac @@ -80,4 +81,4 @@ if pidof rofi > /dev/null; then pkill rofi fi -main \ No newline at end of file +main diff --git a/config/rofi/config-Animations.rasi b/config/rofi/config-Animations.rasi index c7a86361..f26eecd6 100644 --- a/config/rofi/config-Animations.rasi +++ b/config/rofi/config-Animations.rasi @@ -11,7 +11,7 @@ mainbox { /* ---- Window ---- */ window { - width: 45%; + width: inherit; height: inherit; } @@ -28,6 +28,7 @@ listview { fixed-height: false; margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -37,5 +38,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.0; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index 4006e646..d0d3d3ae 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 50%; + width: inherit; height: inherit; } @@ -17,7 +17,7 @@ mainbox { /* ---- Entry ---- */ entry { - width: 47%; + width: inherit; placeholder: " πŸ“‹ Search Clipboard "; } @@ -26,6 +26,7 @@ listview { columns: 1; lines: 8; fixed-height: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -40,4 +41,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.5; + margin: 0px; + padding: 0px; } diff --git a/config/rofi/config-edit.rasi b/config/rofi/config-edit.rasi index b8a90345..4f5215ef 100644 --- a/config/rofi/config-edit.rasi +++ b/config/rofi/config-edit.rasi @@ -17,7 +17,7 @@ configuration { /* ---- Window ---- */ window { - width: 50%; + width: inherit; height: inherit; } @@ -28,6 +28,7 @@ listview { lines: 6; fixed-height: false; scrollbar: true; + spacing: 6px; } /* ---- Entry input ---- */ @@ -47,6 +48,6 @@ element-icon { } element-text { horizontal-align: 0.0; - padding-left: 0px; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi index 79135a10..3ab498e3 100644 --- a/config/rofi/config-emoji.rasi +++ b/config/rofi/config-emoji.rasi @@ -11,7 +11,7 @@ mainbox { /* ---- Window ---- */ window { - width: 45%; + width: inherit; height: inherit; } @@ -28,6 +28,7 @@ listview { lines: 7; fixed-height: false; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -42,4 +43,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.5; + padding: 0px; + margin: 0px; } \ No newline at end of file diff --git a/config/rofi/config-keybinds.rasi b/config/rofi/config-keybinds.rasi index 1deeccca..256c2e87 100644 --- a/config/rofi/config-keybinds.rasi +++ b/config/rofi/config-keybinds.rasi @@ -22,6 +22,7 @@ listview { lines: 8; fixed-height: false; scrollbar: true; + spacing: 6px; } window { @@ -41,4 +42,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.5; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-rofi-Beats-menu.rasi b/config/rofi/config-rofi-Beats-menu.rasi index e2728ff5..ea20a09c 100644 --- a/config/rofi/config-rofi-Beats-menu.rasi +++ b/config/rofi/config-rofi-Beats-menu.rasi @@ -31,6 +31,7 @@ listview { scrollbar: false; colums: 1; lines: 3; + spacing: 6px; } /* ---- Element ---- */ @@ -39,4 +40,5 @@ element-icon { } element-text { horizontal-align: 0.5; + } \ No newline at end of file diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 9be65e09..9c67f4e4 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 45%; + width: inherit; height: inherit; } @@ -27,6 +27,7 @@ listview { fixed-height: false; margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -41,4 +42,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.5; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-rofi-theme.rasi b/config/rofi/config-rofi-theme.rasi index 81b20ded..83975f64 100644 --- a/config/rofi/config-rofi-theme.rasi +++ b/config/rofi/config-rofi-theme.rasi @@ -5,7 +5,7 @@ /* ---- Window ---- */ window { - width: 45%; + width: inherit; height: inherit; } @@ -26,8 +26,9 @@ listview { columns: 2; lines: 7; fixed-height: false; - margin: 0px; + margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -36,6 +37,7 @@ element-icon { } element-text { horizontal-align: 0.0; - vertical-align: 0.0; + vertical-align: 0.5; margin: 0px; + padding: 0px; } diff --git a/config/rofi/config-wallpaper-effect.rasi b/config/rofi/config-wallpaper-effect.rasi index 0909bae4..61d68a76 100644 --- a/config/rofi/config-wallpaper-effect.rasi +++ b/config/rofi/config-wallpaper-effect.rasi @@ -12,13 +12,13 @@ mainbox { /* ---- Entry ---- */ entry { + width: 32%; placeholder: " πŸ™οΈ Search / Choose desired wallpaper effect"; - padding: 12px; } /* ---- Window ---- */ window { - width: 35%; + width: inherit; height: inherit; } @@ -28,6 +28,7 @@ listview { lines: 7; fixed-height: false; scrollbar: true; + spacing: 6px; } /* ---- Inputbar ---- */ @@ -43,5 +44,6 @@ element-icon { element-text { horizontal-align: 0.0; vertical-align: 0.0; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi index aa96932f..99f68098 100644 --- a/config/rofi/config-wallpaper.rasi +++ b/config/rofi/config-wallpaper.rasi @@ -31,6 +31,7 @@ listview { columns: 6; lines: 2; spacing: 20px; + padding: 10px; columns: 6; lines: 2; flow: horizontal; @@ -41,6 +42,8 @@ listview { /* ---- Element ---- */ element { orientation: vertical; + padding: 0px; + spacing: 0px; border-radius: 10px; padding: 0px; margin: 0px; @@ -48,20 +51,18 @@ element { element selected.normal { background-color: transparent; - } element-icon { - text-color: inherit; - size: 1%; - margin: -30px; - cursor: inherit; - + text-color: inherit; + size: 10%; + margin: -30px; + cursor: inherit; } element-text { vertical-align: 0.5; horizontal-align: 0.5; - padding: 20px; + padding: 10px; margin: 0px; } diff --git a/config/rofi/config-waybar-layout.rasi b/config/rofi/config-waybar-layout.rasi index 0d98a1ad..97ebe96f 100644 --- a/config/rofi/config-waybar-layout.rasi +++ b/config/rofi/config-waybar-layout.rasi @@ -33,6 +33,7 @@ listview { fixed-height: false; margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -41,5 +42,6 @@ element-icon { } element-text { horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } \ No newline at end of file diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index fd91e94f..bf9b11f2 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -32,6 +32,7 @@ listview { fixed-height: false; margin: 10px; scrollbar: true; + spacing: 6px; } /* ---- Elements ---- */ @@ -40,5 +41,6 @@ element-icon { } element-text { horizontal-align: 0.0; - margin: 5px 30px 5px 30px; + margin: 0px; + padding: 0px; } -- cgit v1.2.3