From 8f2b0a6d7437e73f777cfad809fb950c0f2c9491 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 10:34:28 +0900 Subject: initial boot script to for pywal & wallpaper set --- config/hypr/initial-boot.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 config/hypr/initial-boot.sh (limited to 'config/hypr/initial-boot.sh') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh new file mode 100644 index 00000000..a024ce63 --- /dev/null +++ b/config/hypr/initial-boot.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# THIS SCRIPT CAN BE DELETED ONCE BOOTED!! + +# A bash script designed to ran it only once dotfiles installed +# Check if a marker file exists. +if [ ! -f ~/.hyprland_startup_done ]; then + + # Check if the ~/.cache/wal directory exists + if [ ! -d ~/.cache/wal ]; then + printf " Initializing pywal........\n\n" + # Check if the ~/Pictures/wallpapers directory exists + if [ -d ~/Pictures/wallpapers ]; then + # Run wal with random wallpapers from ~/Pictures/wallpapers + wal -i ~/Pictures/wallpapers/* + echo "Pywal initialized" + fi + fi + + # Initializing the initial wallpaper and wal + exec ~/.config/hypr/scripts/Wallpaper.sh + + # Create a marker file to indicate that the script has been executed. + touch ~/.hyprland_startup_done +fi + + -- cgit v1.2.3 From 7b058a7d9573d87c1e0b6c551c77e6a8f009be58 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 11:28:38 +0900 Subject: Fixed the initial startup --- config/hypr/initial-boot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/hypr/initial-boot.sh') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index a024ce63..0e68f792 100644 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -12,13 +12,13 @@ if [ ! -f ~/.hyprland_startup_done ]; then # Check if the ~/Pictures/wallpapers directory exists if [ -d ~/Pictures/wallpapers ]; then # Run wal with random wallpapers from ~/Pictures/wallpapers - wal -i ~/Pictures/wallpapers/* + wal -i ~/Pictures/wallpapers/* echo "Pywal initialized" fi fi # Initializing the initial wallpaper and wal - exec ~/.config/hypr/scripts/Wallpaper.sh + exec ~/.config/hypr/scripts/Wallpaper.sh & # Create a marker file to indicate that the script has been executed. touch ~/.hyprland_startup_done -- cgit v1.2.3 From 747a78071eb4a717b19f37dc69fb41ba707312a9 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 19:06:05 +0900 Subject: small tweak for rofi --- config/hypr/initial-boot.sh | 3 + config/hypr/scripts/DarkLight.sh | 10 +- config/rofi/.current_wallpaper | Bin 1772664 -> 2245985 bytes config/rofi/config-cliphist.rasi | 265 +++++++++++++++--------------- config/rofi/config-compact.rasi | 266 +++++++++++++++---------------- config/rofi/config-long.rasi | 265 +++++++++++++++--------------- config/rofi/config-power.rasi | 242 ---------------------------- config/rofi/config-rofi-Beats.rasi | 266 +++++++++++++++---------------- config/rofi/config-short.rasi | 265 +++++++++++++++--------------- config/rofi/config.rasi | 265 +++++++++++++++--------------- config/rofi/pywal-color/Readme.md | 3 + config/rofi/pywal-color/pywal-theme.rasi | 1 + 12 files changed, 798 insertions(+), 1053 deletions(-) delete mode 100644 config/rofi/config-power.rasi create mode 100644 config/rofi/pywal-color/Readme.md create mode 100644 config/rofi/pywal-color/pywal-theme.rasi (limited to 'config/hypr/initial-boot.sh') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 0e68f792..6b0bd72a 100644 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -14,6 +14,9 @@ if [ ! -f ~/.hyprland_startup_done ]; then # Run wal with random wallpapers from ~/Pictures/wallpapers wal -i ~/Pictures/wallpapers/* echo "Pywal initialized" + + #initial symlink for Pywal Dark and Light for Rofi Themes + ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" fi fi diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 80f30b38..f20dc337 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -45,11 +45,11 @@ ln -sf "${waybar_config}/style/style-pywal.css" "${waybar_config}/style.css" ln -sf "${dunst_config}/styles/dunstrc-${next_mode}" "${dunst_config}/styles/dunstrc" # Symlink for rofi theme -#if [ "$next_mode" = "dark" ]; then -# ln -sf $dark_rofi_pywal "$HOME/.config/rofi/pywal-theme.rasi" -#else -# ln -sf $light_rofi_pywal "$HOME/.config/rofi/pywal-theme.rasi" -#fi +if [ "$next_mode" = "dark" ]; then + ln -sf $dark_rofi_pywal "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" +else + ln -sf $light_rofi_pywal "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" +fi gtk_theme="${next_mode}_gtk_theme" icon_theme="${next_mode}_icon_theme" diff --git a/config/rofi/.current_wallpaper b/config/rofi/.current_wallpaper index 87f78670..53f37844 100644 Binary files a/config/rofi/.current_wallpaper and b/config/rofi/.current_wallpaper differ diff --git a/config/rofi/config-cliphist.rasi b/config/rofi/config-cliphist.rasi index 78447700..c92eed9a 100644 --- a/config/rofi/config-cliphist.rasi +++ b/config/rofi/config-cliphist.rasi @@ -9,7 +9,7 @@ configuration { display-run: "๏„ "; display-filebrowser: "๏ป"; display-window: "๏‹"; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,226 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 600px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 12px; - background-color: transparent; + width: 30%; + height: 30%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.4); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "๎š "; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "๐Ÿ”Ž "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Clipboard Search"; - placeholder-color: inherit; - border-radius: 10px; - border: 0px; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: inherit; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.6); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 10px; - margin: 5px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 0px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: inherit; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; } element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; } /*****----- Message -----*****/ message { - background-color: transparent; - border:0px; - margin:20px 0px 0px 0px; - padding:0px; - spacing:0px; - border-radius: 10px; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index a4109e89..c92eed9a 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -9,7 +9,7 @@ configuration { display-run: "๏„ "; display-filebrowser: "๏ป"; display-window: "๏‹"; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,227 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" - +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 900px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 30%; + height: 30%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["imagebox","listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "๐Ÿ”"; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "๐Ÿ”Ž "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: rgba(0,0,0,0.5); - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 2px; - margin: 2px; - cursor: pointer; - background-color: rgba(0,0,0,0); - border-radius: 10px; - border: 0px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; } element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; } /*****----- Message -----*****/ message { - background-color: transparent; - border:0px; - margin:20px 0px 0px 0px; - padding:0px; - spacing:0px; - border-radius: 10px; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 10px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index 5d4bedc3..fa41def3 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -9,7 +9,7 @@ configuration { display-run: "๏„ "; display-filebrowser: "๏ป"; display-window: "๏‹"; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,226 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 400px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 20%; + height: 50%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "๐Ÿ”Ž "; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "๐Ÿ”Ž "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 14; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 5px; - margin: 2px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 2px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; } element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; } /*****----- Message -----*****/ message { - background-color: transparent; - border:0px; - margin:20px 0px 0px 0px; - padding:0px; - spacing:0px; - border-radius: 10px; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config-power.rasi b/config/rofi/config-power.rasi deleted file mode 100644 index 76817e31..00000000 --- a/config/rofi/config-power.rasi +++ /dev/null @@ -1,242 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ - -/* ---- Configuration ---- */ -configuration { - modi: "drun,run"; - font: "Fira Code SemiBold 12"; - show-icons: true; - display-drun: "๎ฏ†"; - display-run: "๏„ "; - display-filebrowser: "๏ป"; - display-window: "๏‹"; - drun-display-format: "{name}"; - hover-select: true; - me-select-entry: "MouseSecondary"; - me-accept-entry: "MousePrimary"; - window-format: "{w} ยท {c} ยท {t}"; - -} - -/* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" - -/* ---- Window ---- */ -window { - width: 400px; - x-offset: -14px; - y-offset: 65px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 3px; - border-color: #FFFFFF; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; -} - -/* ---- Mainbox ---- */ -mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["listbox"]; -} - -/* ---- Imagebox ---- */ -imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -/* ---- Listbox ---- */ -listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "listview" ]; -} - -/* ---- Dummy ---- */ -dummy { - background-color: transparent; -} - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 0px; - border-color: @foreground; - background-color: @background; - children: [ "textbox-prompt-colon", "entry" ]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: "๏€‚"; - background-color: transparent; - text-color: inherit; -} - -entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} - -button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; -} - -button selected { - background-color: @selected-normal-background;; - text-color: @foreground; -} - -/* ---- Listview ---- */ -listview { - enabled: true; - columns: 1; - lines: 2; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: @background; - border:0px; -} - -/* ---- Element ---- */ -element { - enabled: true; - padding: 10px; - margin: 5px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 2px; -} - -element normal.normal { - background-color: inherit; - text-color: @foreground; -} - -element normal.urgent { - background-color: inherit; - text-color: @foreground; -} - -element normal.active { - background-color: inherit; - text-color: @foreground; -} - -element selected.normal { - background-color: @selected-normal-background;; - text-color: @foreground; -} - -element selected.urgent { - background-color: inherit; - text-color: @foreground; -} - -element selected.active { - background-color: inherit; - text-color: @foreground; -} - -element alternate.normal { - background-color: inherit; - text-color: @foreground; -} - -element alternate.urgent { - background-color: inherit; - text-color: @foreground; -} - -element alternate.active { - background-color: inherit; - text-color: @foreground; -} - -element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; -} - -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Message -----*****/ -message { - background-color: transparent; - border:0px; - margin:20px 0px 0px 0px; - padding:0px; - spacing:0px; - border-radius: 10px; -} - -textbox { - padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 37c3f052..4830c974 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -9,7 +9,7 @@ configuration { display-run: "๏„ "; display-filebrowser: "๏ป"; display-window: "๏‹"; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,227 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" - +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 900px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 30%; + height: 34%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["imagebox","listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "๐ŸŽง ๐ŸŽถ"; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "๐Ÿ”Ž "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: rgba(0,0,0,0.5); - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 12; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 2px; - margin: 2px; - cursor: pointer; - background-color: rgba(0,0,0,0); - border-radius: 10px; - border: 0px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; } element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; } /*****----- Message -----*****/ message { - background-color: transparent; - border:0px; - margin:20px 0px 0px 0px; - padding:0px; - spacing:0px; - border-radius: 10px; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 10px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config-short.rasi b/config/rofi/config-short.rasi index 6c9be9af..fa41def3 100644 --- a/config/rofi/config-short.rasi +++ b/config/rofi/config-short.rasi @@ -9,7 +9,7 @@ configuration { display-run: "๏„ "; display-filebrowser: "๏ป"; display-window: "๏‹"; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,226 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 400px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 20%; + height: 50%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "๐Ÿ”Ž "; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "๐Ÿ”Ž "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 5px; - margin: 2px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 2px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; } element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; } /*****----- Message -----*****/ message { - background-color: transparent; - border:0px; - margin:20px 0px 0px 0px; - padding:0px; - spacing:0px; - border-radius: 10px; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index c10e60d5..c92eed9a 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -9,7 +9,7 @@ configuration { display-run: "๏„ "; display-filebrowser: "๏ป"; display-window: "๏‹"; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,226 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 900px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 30%; + height: 30%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: [ "imagebox", "listbox" ]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "๐Ÿ”Ž "; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "๐Ÿ”Ž "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 5px; - margin: 2px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 0px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; } element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; } /*****----- Message -----*****/ message { - background-color: transparent; - border:0px; - margin:20px 0px 0px 0px; - padding:0px; - spacing:0px; - border-radius: 10px; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/pywal-color/Readme.md b/config/rofi/pywal-color/Readme.md new file mode 100644 index 00000000..5e2da85d --- /dev/null +++ b/config/rofi/pywal-color/Readme.md @@ -0,0 +1,3 @@ +# NOTE!! + +This is symlink from ~/.cache/wal/colors-rofi-dark.rasi or ~/.cache/wal/colors-rofi-dark.rasi. Do not delete this folder and files else rofi theme wont be loaded. \ No newline at end of file diff --git a/config/rofi/pywal-color/pywal-theme.rasi b/config/rofi/pywal-color/pywal-theme.rasi new file mode 100644 index 00000000..845132aa --- /dev/null +++ b/config/rofi/pywal-color/pywal-theme.rasi @@ -0,0 +1 @@ +This is for symlink. DO NOT delete \ No newline at end of file -- cgit v1.2.3 From e5eba26138fbc6212bf8fc36967ff545215c2133 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 22:25:12 +0900 Subject: small adjustment --- config/hypr/initial-boot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/hypr/initial-boot.sh') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 6b0bd72a..c7353cdd 100644 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -14,12 +14,12 @@ if [ ! -f ~/.hyprland_startup_done ]; then # Run wal with random wallpapers from ~/Pictures/wallpapers wal -i ~/Pictures/wallpapers/* echo "Pywal initialized" - - #initial symlink for Pywal Dark and Light for Rofi Themes - ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" fi fi + #initial symlink for Pywal Dark and Light for Rofi Themes + ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" + # Initializing the initial wallpaper and wal exec ~/.config/hypr/scripts/Wallpaper.sh & -- cgit v1.2.3 From f32804856c0516ddfdb7b252fb5808cdc3e90282 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 7 Nov 2023 10:30:33 +0900 Subject: Initial boot --- config/hypr/initial-boot.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'config/hypr/initial-boot.sh') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index c7353cdd..62d4c375 100644 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -4,7 +4,7 @@ # A bash script designed to ran it only once dotfiles installed # Check if a marker file exists. -if [ ! -f ~/.hyprland_startup_done ]; then +if [ ! -f ~/.config/hypr/.initial_startup_done ]; then # Check if the ~/.cache/wal directory exists if [ ! -d ~/.cache/wal ]; then @@ -12,7 +12,7 @@ if [ ! -f ~/.hyprland_startup_done ]; then # Check if the ~/Pictures/wallpapers directory exists if [ -d ~/Pictures/wallpapers ]; then # Run wal with random wallpapers from ~/Pictures/wallpapers - wal -i ~/Pictures/wallpapers/* + wal -i ~/Pictures/wallpapers/mecha-nostalgia.png echo "Pywal initialized" fi fi @@ -20,11 +20,16 @@ if [ ! -f ~/.hyprland_startup_done ]; then #initial symlink for Pywal Dark and Light for Rofi Themes ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" - # Initializing the initial wallpaper and wal - exec ~/.config/hypr/scripts/Wallpaper.sh & + # Setting initial wallpaper + exec swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png & + + # Initial scripts inorder to have a proper waybar and pywal themes + exec $HOME/.config/hypr/scripts/PywalSwww.sh & + + exec $HOME/.config/hypr/scripts/Refresh.sh # Create a marker file to indicate that the script has been executed. - touch ~/.hyprland_startup_done + touch ~/.config/hypr/.initial_startup_done fi -- cgit v1.2.3 From 123d24bcc4c09bf66972c5d61e80c8f610a27641 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 7 Nov 2023 12:35:54 +0900 Subject: initial boot fix --- config/hypr/initial-boot.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'config/hypr/initial-boot.sh') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 62d4c375..d5ce3233 100644 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -20,14 +20,9 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then #initial symlink for Pywal Dark and Light for Rofi Themes ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" - # Setting initial wallpaper - exec swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png & - - # Initial scripts inorder to have a proper waybar and pywal themes - exec $HOME/.config/hypr/scripts/PywalSwww.sh & + # Initial scripts to load inorder to have a proper wallpaper waybar and pywal themes + exec $HOME/.config/hypr/scripts/Wallpaper.sh & - exec $HOME/.config/hypr/scripts/Refresh.sh - # Create a marker file to indicate that the script has been executed. touch ~/.config/hypr/.initial_startup_done fi -- cgit v1.2.3