Updates
This commit is contained in:
1 parent
cffd9482e9
commit
662fb5ff83
15 files changed
+615
-670
No files matched your search
@@ -14,7 +14,7 @@ env = XDG_SESSION_TYPE,wayland
|
||||
#env = WLR_RENDERER,vulkan
|
||||
|
||||
# firefox
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
env = MOZ_ENABLE_WAYLAND,1 firefox
|
||||
|
||||
# Cursor size
|
||||
env = XCURSOR_SIZE,6
|
||||
@@ -38,7 +38,7 @@ exec-once = wl-paste --type text --watch cliphist store
|
||||
exec-once = wl-paste --type image --watch cliphist store
|
||||
|
||||
# Rainbow borders
|
||||
exec-once = $RunCMD rainbowborder
|
||||
#exec-once = $RunCMD rainbowborder
|
||||
|
||||
# sway-idle with lock only
|
||||
#exec-once = swayidle -w timeout 900 '$lock'
|
||||
|
||||
@@ -20,7 +20,7 @@ if [ ! -f $HOME/cache/.initial_startup_done ]; then
|
||||
swww init || swww query && $swww "$wallpaper" $effect
|
||||
|
||||
# For Symbolic Link
|
||||
"$RunCMD linker" > /dev/null 2>&1
|
||||
$RunCMD linker > /dev/null 2>&1
|
||||
|
||||
# initiate GTK dark mode and apply icon and cursor theme
|
||||
gsettings set org.gnome.desktop.interface gtk-theme Tokyonight-Dark-BL-LB > /dev/null 2>&1 &
|
||||
|
||||
@@ -26,13 +26,13 @@ play_music() {
|
||||
local choice="$1"
|
||||
local link="${menu_options[$choice]}"
|
||||
|
||||
notification "Playing now: $choice"
|
||||
|
||||
# Check if the link is a playlist
|
||||
if [[ $link == *playlist* ]]; then
|
||||
mpv --shuffle --vid=no --no-resume-playback "$link"
|
||||
else
|
||||
notification "Playing now: $choice"
|
||||
elif [[ -n $link ]]; then
|
||||
mpv "$link"
|
||||
notification "Playing now: $choice"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ FPS1=30
|
||||
TYPE1="wipe"
|
||||
DURATION1=1
|
||||
BEZIER1=".43,1.19,1,.4"
|
||||
SWWW_PARAMS1="--transition-fps $FPS1 --transition-type $TYPE1 --transition-duration $DURATION1"
|
||||
SWWW_PARAMS1="--transition-fps $FPS1 --transition-type $TYPE1 --transition-duration $DURATION1 --transition-bezier ${BEZIER1}"
|
||||
|
||||
|
||||
# For Keyboard Layout Switcher
|
||||
|
||||
@@ -211,6 +211,6 @@ hyprctl dispatch exec "[float;size 45% 80%;center 1] kitty keyb -k '$CONFIG'"
|
||||
|
||||
# Emoji (ALT SLASH)
|
||||
emoji() {
|
||||
A="$(rofi -dmenu -l 10 -p "Emoji:" -config ~/.config/rofi/config-long.rasi < "$HOME/.config/hypr/configs/emojis" | cut -d' ' -f1 | tr -d '\n')"
|
||||
A="$(rofi -dmenu -p "Emoji:" -config ~/.config/rofi/config-long.rasi < "$HOME/.config/hypr/configs/emojis" | cut -d ' ' -f 1 | tr -d '\n')"
|
||||
[[ -n "$A" ]] && wl-copy -- "$A"
|
||||
}
|
||||
@@ -51,12 +51,6 @@ reloadall() {
|
||||
waybar &
|
||||
sleep 0.5
|
||||
swaync > /dev/null 2>&1 &
|
||||
sleep 1
|
||||
|
||||
script_path="${UserSCRIPTSDIR}/RainbowBorders.sh"
|
||||
if file_exists "$script_path"; then
|
||||
"$script_path" &
|
||||
fi
|
||||
}
|
||||
reload_waybar() {
|
||||
_ps=(waybar rofi)
|
||||
@@ -82,14 +76,6 @@ reload_hypr() {
|
||||
hyprctl reload
|
||||
notify-send -u low -i $notif 'Reload Hyprland'
|
||||
}
|
||||
restart_waybar_if_needed() {
|
||||
if pgrep -x "waybar" >/dev/null; then
|
||||
pkill waybar
|
||||
sleep 0.1 # Delay for Waybar to completely terminate
|
||||
fi
|
||||
reload_waybar &
|
||||
}
|
||||
|
||||
lock_screen() {
|
||||
LOCKCONFIG="$HOME/.config/swaylock/config"
|
||||
sleep 0.5s
|
||||
|
||||
@@ -69,7 +69,7 @@ randomwall() {
|
||||
if [[ ${#PICS[@]} -gt 0 ]]; then
|
||||
RANDOMPICS=${PICS[RANDOM % ${#PICS[@]}]} # Select a random image
|
||||
swww img "${RANDOMPICS}" ${SWWW_PARAMS} # Set the randomly selected wallpaper
|
||||
linker
|
||||
$linker
|
||||
else
|
||||
echo "No images found in ${wallDIR}"
|
||||
fi
|
||||
@@ -84,7 +84,7 @@ autowall() {
|
||||
while true; do
|
||||
find "$wallDIR" -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \) -print0 \
|
||||
| shuf -z -n 1 \
|
||||
| xargs -0 -I {} swww img "{}" ${SWWW_PARAMS} && linker
|
||||
| xargs -0 -I {} swww img "{}" ${SWWW_PARAMS} && $linker
|
||||
|
||||
sleep $INTERVAL
|
||||
done
|
||||
@@ -113,43 +113,13 @@ selectwall() {
|
||||
choice=$(find "$wallDIR" -type f -maxdepth 1 -printf "%f\n" | shuf -n1)
|
||||
fi
|
||||
wallpaper="$wallDIR/${choice#*icon\x1f}"
|
||||
swww img $SWWW_PARAMS1 "$wallpaper" && linker
|
||||
swww img $SWWW_PARAMS1 "$wallpaper" && $linker
|
||||
else
|
||||
echo "No wallpaper selected. Exiting."
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
select_wall(){
|
||||
# Set some variables
|
||||
rofi_command="rofi -dmenu -theme ${HOME}/.config/rofi/WallSelect.rasi -theme-str ${rofi_override}"
|
||||
|
||||
rofi_override="element-icon{size:${monitor_res}px;border-radius:0px;}"
|
||||
|
||||
|
||||
# Launch rofi
|
||||
wall_selection=$(find "${wallDIR}" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.webp" \) -exec basename {} \; | sort | while read -r A ; do echo -en "$A\x00icon\x1f""${wallDIR}"/"$A\n" ; done | $rofi_command)
|
||||
|
||||
# Set wallpaper
|
||||
[[ -n "$wall_selection" ]] || exit 1
|
||||
swww img $SWWW_PARAMS1 "${wallDIR}"/"${wall_selection}" && linker
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
sr() {
|
||||
if pgrep -x "wf-recorder" > /dev/null; then
|
||||
pkill -SIGTERM wf-recorder
|
||||
wait "$(pgrep -o wf-recorder)" || true
|
||||
notify-send "Screen recording stopped."
|
||||
else
|
||||
wf-recorder --force-yuv -c libx264rgb -t -f "$HOME/Videos/sr--$(date +'%I:%M:%S_%p_%d-%m-%Y.mp4')" --audio=alsa_output.pci-0000_03_00.6.analog-stereo.monitor &
|
||||
disown
|
||||
notify-send "Screen recording started."
|
||||
fi
|
||||
}
|
||||
|
||||
# Waybar Layout (ALT W)
|
||||
waybarl() {
|
||||
menu() {
|
||||
@@ -167,7 +137,7 @@ restart_waybar_if_needed() {
|
||||
$RunCMD reload_waybar &
|
||||
}
|
||||
main() {
|
||||
choice=$(menu | rofi -dmenu -p " Choose Waybar Layout")
|
||||
choice=$(menu | rofi -dmenu -p " Choose Waybar Layout")
|
||||
|
||||
[[ -z "$choice" ]] && { echo "No option selected. Exiting."; exit 0; }
|
||||
|
||||
@@ -239,6 +209,7 @@ echo "$new_layout" > "$layout_f"
|
||||
notify-send -u low -i "$notif" "Keyboad Layout Changed to $new_layout"
|
||||
}
|
||||
|
||||
# Symbolic link for wallpaper
|
||||
linker() {
|
||||
# Define the path to the swww cache directory
|
||||
cache_dir="$HOME/.cache/swww/"
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
// # z0mbi3 - https://github.com/gh0stzk/dotfiles
|
||||
|
||||
configuration {
|
||||
modi: "drun";
|
||||
show-icons: true;
|
||||
drun-display-format: "{name}";
|
||||
font: "JetBrainsMono NF Bold 11";
|
||||
|
||||
//hover-select: true;
|
||||
//me-select-entry: "";
|
||||
//me-accept-entry: "MousePrimary";
|
||||
}
|
||||
|
||||
//----- Global Properties -----//
|
||||
|
||||
* {
|
||||
main-bg: #282828E6;
|
||||
main-fg: #fbf1c7;
|
||||
select-bg: #d79921;
|
||||
select-fg: #282828;
|
||||
}
|
||||
|
||||
//----- Main Window -----//
|
||||
|
||||
window {
|
||||
enabled: true;
|
||||
fullscreen: false;
|
||||
width: 100%;
|
||||
transparency: "real";
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
//----- Main Box -----//
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
children: [ "listview" ];
|
||||
background-color: @main-bg;
|
||||
}
|
||||
|
||||
//----- Listview -----//
|
||||
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 50px;
|
||||
padding: 20px 30px;
|
||||
cycle: true;
|
||||
dynamic: false;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: true;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
text-color: @main-fg;
|
||||
}
|
||||
|
||||
//----- Elements -----//
|
||||
|
||||
element {
|
||||
enabled: true;
|
||||
orientation: horizontal;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border-radius: 20px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @main-fg;
|
||||
}
|
||||
|
||||
@media(max-aspect-ratio: 1.8) {
|
||||
element {
|
||||
orientation: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: #7AA2F7FF;
|
||||
text-color: @select-fg;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 33%;
|
||||
cursor: inherit;
|
||||
border-radius: 0px;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
padding: 20px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
+130
-110
@@ -1,118 +1,75 @@
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
/* ---- Configuration ---- */
|
||||
configuration {
|
||||
modi: "drun,run,filebrowser";
|
||||
show-icons: false;
|
||||
modi: "drun,run,filebrowser,calc";
|
||||
font: "Fira Code SemiBold 12";
|
||||
show-icons: true;
|
||||
display-drun: "🐧";
|
||||
display-run: "📦";
|
||||
display-filebrowser: "📂";
|
||||
display-window: "🗄️";
|
||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
display-calc: "calc";
|
||||
drun-display-format: "{name}";
|
||||
hover-select: true;
|
||||
me-select-entry: "MouseSecondary";
|
||||
me-accept-entry: "MousePrimary";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
icon-theme: "Tokyonight-Dark";
|
||||
dpi: 1;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
font: "JetBrainsMono Nerd Font 12";
|
||||
|
||||
background: #1E1D2FFF;
|
||||
background-alt: #282839FF;
|
||||
foreground: #D9E0EEFF;
|
||||
selected: #7AA2F7FF;
|
||||
active: #ABE9B3FF;
|
||||
urgent: #F28FADFF;
|
||||
|
||||
|
||||
border-colour: var(selected);
|
||||
handle-colour: var(selected);
|
||||
background-colour: var(background);
|
||||
foreground-colour: var(foreground);
|
||||
alternate-background: var(background-alt);
|
||||
normal-background: var(background);
|
||||
normal-foreground: var(foreground);
|
||||
urgent-background: var(urgent);
|
||||
urgent-foreground: var(background);
|
||||
active-background: var(active);
|
||||
active-foreground: var(background);
|
||||
|
||||
background: #11111be6;
|
||||
foreground: #cdd6f4ff;
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
|
||||
/* ---- Window ---- */
|
||||
window {
|
||||
width: 700px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
spacing: 0px;
|
||||
padding: 2px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
border: 2px;
|
||||
border-color: @foreground;
|
||||
border-color: #7aa2f7;
|
||||
cursor: "default";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
border-radius: 12px;
|
||||
enabled: true;
|
||||
border-radius: 15px;
|
||||
border-radius: 15px;
|
||||
background-color: transparent;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/*****----- Main Box -----*****/
|
||||
/* ---- Mainbox ---- */
|
||||
mainbox {
|
||||
enabled: true;
|
||||
orientation: vertical;
|
||||
padding: 8px;
|
||||
border-radius: 12px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
children: [ "inputbar", "listbox"];
|
||||
background-image: url("~/.config/rofi/.current_wallpaper", height);
|
||||
enabled: true;
|
||||
orientation: vertical;
|
||||
padding: 8px;
|
||||
children: [ "inputbar", "imagebox", "mode-switcher" ];
|
||||
border-radius: 12px;
|
||||
background-image: url("~/.config/rofi/.current_wallpaper", height);
|
||||
|
||||
}
|
||||
|
||||
/*****----- Inputbar -----*****/
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
padding: 14px;
|
||||
border-radius: 10px;
|
||||
border: 1px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
text-color: #FFFF00;
|
||||
children: [ "prompt", "textbox-prompt-colon", "entry" ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
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: "";
|
||||
placeholder-color: inherit;
|
||||
/* ---- Imagebox ---- */
|
||||
imagebox {
|
||||
background-color: transparent;
|
||||
orientation: horizontal;
|
||||
children: [ "listbox"];
|
||||
}
|
||||
|
||||
/* ---- Listbox ---- */
|
||||
listbox {
|
||||
spacing: 4px;
|
||||
padding: 1px;
|
||||
orientation: vertical;
|
||||
children: [ "listview" ];
|
||||
border-radius: 10px;
|
||||
border: 1px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
children: ["listview" ];
|
||||
padding: 0px;
|
||||
border-radius: 12px;
|
||||
border-color: #7aa2f7;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* ---- Dummy ---- */
|
||||
@@ -120,27 +77,91 @@ dummy {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---- Inputbar ---- */
|
||||
inputbar {
|
||||
enabled: true;
|
||||
padding: 2px;
|
||||
text-color: @foreground;
|
||||
spacing: 10px;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
children: [ "prompt", "textbox-prompt-colon","entry" ];
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 12px;
|
||||
border-color: #7aa2f7;
|
||||
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 6px 0px 6px 10px;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
padding: 6px 0px 6px 10px;
|
||||
expand: false;
|
||||
str: "";
|
||||
text-color: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: true;
|
||||
padding: 6px 6px 6px 6px;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "";
|
||||
placeholder-color: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---- Mode Switcher ---- */
|
||||
mode-switcher{
|
||||
orientation: horizontal;
|
||||
enabled: true;
|
||||
spacing: 20px;
|
||||
padding: 2px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 5px 5px 5px 5px;
|
||||
border-radius: 10px;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-color: #7aa2f7;
|
||||
}
|
||||
|
||||
button selected {
|
||||
background-color: rgb(92, 107, 192, 0.8);
|
||||
text-color: @foreground;
|
||||
border: 1px;
|
||||
border-color: @background;
|
||||
|
||||
}
|
||||
|
||||
/* ---- Listview ---- */
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 10;
|
||||
spacing: 4px;
|
||||
dynamic: true;
|
||||
cycle: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: false;
|
||||
background-color: transparent;
|
||||
border-radius: 10px;
|
||||
}
|
||||
scrollbar {
|
||||
handle-width: 1px ;
|
||||
handle-color: @handle-colour;
|
||||
border-radius: 1px;
|
||||
background-color: @alternate-background;
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 9;
|
||||
spacing: 4px;
|
||||
padding: 4px;
|
||||
dynamic: true;
|
||||
cycle: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
background-color: transparent;
|
||||
border-radius: 15px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
/* ---- Element ---- */
|
||||
@@ -170,7 +191,7 @@ element normal.active {
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: @selected;
|
||||
background-color: rgb(92, 107, 192, 0.7);
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
@@ -202,35 +223,34 @@ element alternate.active {
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
size: 32px;
|
||||
size: 37px;
|
||||
cursor: inherit;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: #FFFF00;
|
||||
text-color: #e6ede8;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
horizontal-align: 0;
|
||||
}
|
||||
|
||||
/*****----- Message -----*****/
|
||||
message {
|
||||
background-color: @background;
|
||||
margin: 20px 0px 0px 0px;
|
||||
border-radius: 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 15px;
|
||||
background-color: @background;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
error-message {
|
||||
padding: 15px;
|
||||
border-radius: 20px;
|
||||
background-color: @background;
|
||||
border-radius: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* --- Configuration for Rofi Power ---- */
|
||||
|
||||
/* ---- Configuration ---- */
|
||||
configuration {
|
||||
@@ -7,13 +6,8 @@ configuration {
|
||||
|
||||
* {
|
||||
font: "Fira Code SemiBold 12";
|
||||
|
||||
background: #1E1D2FFF;
|
||||
background-alt: #282839FF;
|
||||
foreground: #D9E0EEFF;
|
||||
selected: #7AA2F7FF;
|
||||
active: #ABE9B3FF;
|
||||
urgent: #F28FADFF;
|
||||
background: #11111be6;
|
||||
foreground: #cdd6f4ff;
|
||||
}
|
||||
|
||||
|
||||
@@ -29,9 +23,9 @@ window {
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 15px;
|
||||
border-color: @foreground;
|
||||
border-color: #7aa2f7;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* ---- Main Box ---- */
|
||||
@@ -43,8 +37,8 @@ mainbox {
|
||||
border: 0px solid;
|
||||
border-radius: 0px;
|
||||
background-image: url("~/.config/rofi/.current_wallpaper", width);
|
||||
border-color: @foreground;
|
||||
background-color: @foreground;
|
||||
border-color: #7aa2f7;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
children: [ "inputbar", "listview", "message" ];
|
||||
}
|
||||
|
||||
@@ -52,7 +46,7 @@ mainbox {
|
||||
inputbar {
|
||||
enabled: true;
|
||||
padding: 20px;
|
||||
background-color: transparent;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
orientation: horizontal;
|
||||
children: ["prompt"];
|
||||
}
|
||||
@@ -62,8 +56,8 @@ prompt {
|
||||
padding: 10px;
|
||||
border-radius: 15px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
text-color: #FFFF00;
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
text-color: @foreground;
|
||||
cursor: text;
|
||||
|
||||
}
|
||||
@@ -82,10 +76,10 @@ listview {
|
||||
fixed-columns: true;
|
||||
spacing: 40px;
|
||||
padding: 4% 40px;
|
||||
background-color: transparent;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
cursor: "default";
|
||||
border: 0px;
|
||||
border-color: @foreground;
|
||||
border-color: #7aa2f7;
|
||||
}
|
||||
|
||||
/* ---- Elements ---- */
|
||||
@@ -94,7 +88,7 @@ element {
|
||||
padding: 20px;
|
||||
border-radius: 30px;
|
||||
background-color: transparent;
|
||||
text-color: #FFFF00;
|
||||
text-color: @foreground;
|
||||
cursor: pointer;
|
||||
}
|
||||
element-text {
|
||||
@@ -106,7 +100,7 @@ element-text {
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected;
|
||||
background-color: rgb(92, 107, 192, 0.8);
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
|
||||
+158
-133
@@ -1,224 +1,249 @@
|
||||
|
||||
/* ---- Configuration ---- */
|
||||
configuration {
|
||||
modi: "drun,run,filebrowser";
|
||||
font: "Fira Code SemiBold 12";
|
||||
show-icons: true;
|
||||
modi: "drun,run,filebrowser,calc";
|
||||
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}";
|
||||
dpi: 1;
|
||||
|
||||
display-calc: "calc";
|
||||
drun-display-format: "{name}";
|
||||
hover-select: true;
|
||||
me-select-entry: "MouseSecondary";
|
||||
me-accept-entry: "MousePrimary";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
icon-theme: "Tokyonight-Dark";
|
||||
dpi: 1;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
background: #1E1D2FFF;
|
||||
background-alt: #282839FF;
|
||||
foreground: #D9E0EEFF;
|
||||
selected: #7AA2F7FF;
|
||||
active: #ABE9B3FF;
|
||||
urgent: #F28FADFF;
|
||||
background: #11111be6;
|
||||
foreground: #cdd6f4ff;
|
||||
}
|
||||
|
||||
|
||||
/* ---- Window ---- */
|
||||
window {
|
||||
width: 700px;
|
||||
/*height: 450px;*/
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
spacing: 0px;
|
||||
padding: 2px;
|
||||
margin: 0px;
|
||||
border: 2px;
|
||||
border-color: @foreground;
|
||||
cursor: "default";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
border-radius: 12px;
|
||||
border-radius: 12px;
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/rofi/.current_wallpaper", height);
|
||||
width: 750px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
border: 2px;
|
||||
border-color: #7aa2f7;
|
||||
cursor: "default";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
border-radius: 12px;
|
||||
enabled: true;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* ---- Mainbox ---- */
|
||||
mainbox {
|
||||
enabled: true;
|
||||
orientation: horizontal;
|
||||
padding: 8px;
|
||||
children: [ "imagebox"];
|
||||
border-radius: 12px;
|
||||
background-color: transparent;
|
||||
enabled: true;
|
||||
orientation: vertical;
|
||||
padding: 8px;
|
||||
children: [ "inputbar", "imagebox", "mode-switcher" ];
|
||||
border-radius: 12px;
|
||||
background-image: url("~/.config/rofi/.current_wallpaper", height);
|
||||
|
||||
}
|
||||
|
||||
/* ---- Imagebox ---- */
|
||||
imagebox {
|
||||
background-color: transparent;
|
||||
orientation: vertical;
|
||||
children: [ "inputbar", "listbox"];
|
||||
background-color: transparent;
|
||||
orientation: horizontal;
|
||||
children: [ "listbox"];
|
||||
}
|
||||
|
||||
/* ---- Listbox ---- */
|
||||
listbox {
|
||||
spacing: 4px;
|
||||
orientation: vertical;
|
||||
children: [ "listview" ];
|
||||
border-radius: 10px;
|
||||
border: 1px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
spacing: 4px;
|
||||
orientation: vertical;
|
||||
children: ["listview" ];
|
||||
padding: 0px;
|
||||
border-radius: 12px;
|
||||
border-color: #7aa2f7;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* ---- Dummy ---- */
|
||||
dummy {
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---- Inputbar ---- */
|
||||
inputbar {
|
||||
enabled: true;
|
||||
text-color: #FFFF00;
|
||||
spacing: 10px;
|
||||
padding: 8px;
|
||||
border-radius: 10px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
children: [ "textbox-prompt-colon", "entry" ];
|
||||
border: 1px;
|
||||
border-color: @foreground;
|
||||
enabled: true;
|
||||
padding: 2px;
|
||||
text-color: @foreground;
|
||||
spacing: 10px;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
children: [ "textbox-prompt-colon","entry" ];
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 12px;
|
||||
border-color: #7aa2f7;
|
||||
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
str: " ";
|
||||
text-color: #FFFF00;
|
||||
background-color: transparent;
|
||||
enabled: true;
|
||||
padding: 6px 0px 6px 10px;
|
||||
expand: false;
|
||||
str: " ";
|
||||
text-color: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: true;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "Choose Wallpaper";
|
||||
placeholder-color: inherit;
|
||||
background-color: transparent;
|
||||
enabled: true;
|
||||
padding: 6px 6px 6px 6px;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "Choose Wallpaper";
|
||||
placeholder-color: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---- Mode Switcher ---- */
|
||||
mode-switcher{
|
||||
orientation: horizontal;
|
||||
enabled: true;
|
||||
spacing: 20px;
|
||||
padding: 2px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 5px 5px 5px 5px;
|
||||
border-radius: 10px;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-color: #7aa2f7;
|
||||
}
|
||||
|
||||
button selected {
|
||||
background-color: rgb(92, 107, 192, 0.8);
|
||||
text-color: @foreground;
|
||||
border: 1px;
|
||||
border-color: @background;
|
||||
|
||||
}
|
||||
|
||||
/* ---- Listview ---- */
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 4;
|
||||
lines: 3;
|
||||
spacing: 4px;
|
||||
dynamic: true;
|
||||
cycle: true;
|
||||
scrollbar: true;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: false;
|
||||
background-color: transparent;
|
||||
border-radius: 10px;
|
||||
enabled: true;
|
||||
columns: 2;
|
||||
lines: 6;
|
||||
spacing: 4px;
|
||||
padding: 4px;
|
||||
dynamic: true;
|
||||
cycle: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
background-color: transparent;
|
||||
border-radius: 15px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
/* ---- Element ---- */
|
||||
element {
|
||||
enabled: true;
|
||||
padding: 5px;
|
||||
margin: 2px;
|
||||
cursor: pointer;
|
||||
orientation: vertical;
|
||||
background-color: transparent;
|
||||
border-radius: 10px;
|
||||
border: 0px;
|
||||
enabled: true;
|
||||
padding: 5px;
|
||||
margin: 2px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
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;
|
||||
text-color: @foreground;
|
||||
background-color: rgb(92, 107, 192, 0.7);
|
||||
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: 130px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
size: 37px;
|
||||
cursor: inherit;
|
||||
}
|
||||
|
||||
|
||||
element-text {
|
||||
font: "Fira Code SemiBold 8";
|
||||
background-color: transparent;
|
||||
text-color: #FFFF00;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
background-color: transparent;
|
||||
text-color: #e6ede8;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0;
|
||||
}
|
||||
|
||||
/*****----- Message -----*****/
|
||||
message {
|
||||
background-color: transparent;
|
||||
margin: 20px 0px 0px 0px;
|
||||
border-radius: 10px;
|
||||
background-color: @background;
|
||||
margin: 20px 0px 0px 0px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 15px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
error-message {
|
||||
padding: 15px;
|
||||
border-radius: 20px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
padding: 15px;
|
||||
border-radius: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
+133
-113
@@ -1,118 +1,75 @@
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
/* ---- Configuration ---- */
|
||||
configuration {
|
||||
modi: "drun,run,filebrowser";
|
||||
show-icons: false;
|
||||
modi: "drun,run,filebrowser,calc";
|
||||
font: "Fira Code SemiBold 12";
|
||||
show-icons: true;
|
||||
display-drun: "🐧";
|
||||
display-run: "📦";
|
||||
display-filebrowser: "📂";
|
||||
display-window: "🗄️";
|
||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
display-calc: "calc";
|
||||
drun-display-format: "{name}";
|
||||
hover-select: true;
|
||||
me-select-entry: "MouseSecondary";
|
||||
me-accept-entry: "MousePrimary";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
icon-theme: "Tokyonight-Dark";
|
||||
dpi: 1;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
font: "JetBrainsMono Nerd Font 12";
|
||||
|
||||
background: #1E1D2FFF;
|
||||
background-alt: #282839FF;
|
||||
foreground: #D9E0EEFF;
|
||||
selected: #7AA2F7FF;
|
||||
active: #ABE9B3FF;
|
||||
urgent: #F28FADFF;
|
||||
|
||||
|
||||
border-colour: var(selected);
|
||||
handle-colour: var(selected);
|
||||
background-colour: var(background);
|
||||
foreground-colour: var(foreground);
|
||||
alternate-background: var(background-alt);
|
||||
normal-background: var(background);
|
||||
normal-foreground: var(foreground);
|
||||
urgent-background: var(urgent);
|
||||
urgent-foreground: var(background);
|
||||
active-background: var(active);
|
||||
active-foreground: var(background);
|
||||
|
||||
background: #11111be6;
|
||||
foreground: #cdd6f4ff;
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
|
||||
/* ---- Window ---- */
|
||||
window {
|
||||
width: 500px;
|
||||
width: 600px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
spacing: 0px;
|
||||
padding: 2px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
border: 2px;
|
||||
border-color: @foreground;
|
||||
border-color: #7aa2f7;
|
||||
cursor: "default";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
border-radius: 12px;
|
||||
enabled: true;
|
||||
border-radius: 15px;
|
||||
border-radius: 15px;
|
||||
background-color: transparent;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/*****----- Main Box -----*****/
|
||||
/* ---- Mainbox ---- */
|
||||
mainbox {
|
||||
enabled: true;
|
||||
orientation: vertical;
|
||||
padding: 8px;
|
||||
border-radius: 12px;
|
||||
border-color: @border-colour;
|
||||
background-color: transparent;
|
||||
children: [ "inputbar", "listbox"];
|
||||
background-image: url("~/.config/rofi/.current_wallpaper", height);
|
||||
enabled: true;
|
||||
orientation: vertical;
|
||||
padding: 8px;
|
||||
children: [ "inputbar", "imagebox", "mode-switcher" ];
|
||||
border-radius: 12px;
|
||||
background-image: url("~/.config/rofi/.current_wallpaper", height);
|
||||
|
||||
}
|
||||
|
||||
/*****----- Inputbar -----*****/
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
padding: 14px;
|
||||
border-radius: 10px;
|
||||
border: 1px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
text-color: #FFFF00;
|
||||
children: [ "prompt", "textbox-prompt-colon", "entry" ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
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: "";
|
||||
placeholder-color: inherit;
|
||||
/* ---- Imagebox ---- */
|
||||
imagebox {
|
||||
background-color: transparent;
|
||||
orientation: horizontal;
|
||||
children: [ "listbox"];
|
||||
}
|
||||
|
||||
/* ---- Listbox ---- */
|
||||
listbox {
|
||||
spacing: 4px;
|
||||
padding: 1px;
|
||||
orientation: vertical;
|
||||
children: [ "listview" ];
|
||||
border-radius: 10px;
|
||||
border: 1px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
children: ["listview" ];
|
||||
padding: 0px;
|
||||
border-radius: 12px;
|
||||
border-color: #7aa2f7;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* ---- Dummy ---- */
|
||||
@@ -120,27 +77,91 @@ dummy {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---- Inputbar ---- */
|
||||
inputbar {
|
||||
enabled: true;
|
||||
padding: 2px;
|
||||
text-color: @foreground;
|
||||
spacing: 10px;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
children: [ "prompt", "textbox-prompt-colon","entry" ];
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 12px;
|
||||
border-color: #7aa2f7;
|
||||
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
background-color: transparent;
|
||||
padding: 6px 0px 6px 10px;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
padding: 6px 0px 6px 10px;
|
||||
expand: false;
|
||||
str: "";
|
||||
text-color: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: true;
|
||||
padding: 6px 6px 6px 6px;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "";
|
||||
placeholder-color: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---- Mode Switcher ---- */
|
||||
mode-switcher{
|
||||
orientation: horizontal;
|
||||
enabled: true;
|
||||
spacing: 20px;
|
||||
padding: 2px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 5px 5px 5px 5px;
|
||||
border-radius: 10px;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-color: #7aa2f7;
|
||||
}
|
||||
|
||||
button selected {
|
||||
background-color: rgb(92, 107, 192, 0.8);
|
||||
text-color: @foreground;
|
||||
border: 1px;
|
||||
border-color: @background;
|
||||
|
||||
}
|
||||
|
||||
/* ---- Listview ---- */
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 10;
|
||||
spacing: 4px;
|
||||
dynamic: true;
|
||||
cycle: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: false;
|
||||
background-color: transparent;
|
||||
border-radius: 10px;
|
||||
}
|
||||
scrollbar {
|
||||
handle-width: 1px ;
|
||||
handle-color: @handle-colour;
|
||||
border-radius: 1px;
|
||||
background-color: @alternate-background;
|
||||
enabled: true;
|
||||
columns: 2;
|
||||
lines: 6;
|
||||
spacing: 4px;
|
||||
padding: 4px;
|
||||
dynamic: true;
|
||||
cycle: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
background-color: transparent;
|
||||
border-radius: 15px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
/* ---- Element ---- */
|
||||
@@ -156,12 +177,12 @@ element {
|
||||
|
||||
element normal.normal {
|
||||
background-color: inherit;
|
||||
text-color: #1e1e2e;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element normal.urgent {
|
||||
background-color: inherit;
|
||||
text-color: #1e1e2e;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element normal.active {
|
||||
@@ -170,7 +191,7 @@ element normal.active {
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: @selected;
|
||||
background-color: rgb(92, 107, 192, 0.7);
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
@@ -202,35 +223,34 @@ element alternate.active {
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
size: 32px;
|
||||
size: 37px;
|
||||
cursor: inherit;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: #FFFF00;
|
||||
text-color: #e6ede8;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
horizontal-align: 0;
|
||||
}
|
||||
|
||||
/*****----- Message -----*****/
|
||||
message {
|
||||
background-color: @background;
|
||||
margin: 20px 0px 0px 0px;
|
||||
border-radius: 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 15px;
|
||||
background-color: @background;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
error-message {
|
||||
padding: 15px;
|
||||
border-radius: 20px;
|
||||
background-color: @background;
|
||||
border-radius: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
+156
-131
@@ -1,136 +1,170 @@
|
||||
|
||||
|
||||
* {
|
||||
font: "JetBrainsMono Nerd Font 12";
|
||||
|
||||
background: #1E1D2FFF;
|
||||
background-alt: #282839FF;
|
||||
foreground: #D9E0EEFF;
|
||||
selected: #7AA2F7FF;
|
||||
active: #ABE9B3FF;
|
||||
urgent: #F28FADFF;
|
||||
text: #C05737;
|
||||
}
|
||||
|
||||
/* ---- Configuration ---- */
|
||||
configuration {
|
||||
modi: "drun,window,run";
|
||||
modi: "drun,run,filebrowser,calc";
|
||||
font: "Fira Code SemiBold 12";
|
||||
show-icons: true;
|
||||
display-drun: "🐧";
|
||||
display-run: "📦";
|
||||
display-filebrowser: "📂";
|
||||
display-window: "🗄️";
|
||||
drun-display-format: "{name}";
|
||||
window-format: "{w}{c}";
|
||||
show-icons: true;
|
||||
display-calc: "calc";
|
||||
drun-display-format: "{name}";
|
||||
hover-select: true;
|
||||
me-select-entry: "MouseSecondary";
|
||||
me-accept-entry: "MousePrimary";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
icon-theme: "Tokyonight-Dark";
|
||||
dpi: 1;
|
||||
dpi: 1;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
background: #11111be6;
|
||||
foreground: #cdd6f4ff;
|
||||
}
|
||||
|
||||
|
||||
/* ---- Window ---- */
|
||||
window {
|
||||
/* properties for window widget */
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 30%;
|
||||
height: 31%;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @foreground;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
width: 530px;
|
||||
height: 400px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
border: 2px;
|
||||
border-color: #7aa2f7;
|
||||
cursor: "default";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
border-radius: 12px;
|
||||
enabled: true;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---- Mainbox ---- */
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 8px;
|
||||
border: 0px;
|
||||
border-radius: 12px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
children: ["inputbar","mode-switcher", "listview"];
|
||||
background-image: url("~/.config/rofi/.current_wallpaper", height);
|
||||
enabled: true;
|
||||
orientation: vertical;
|
||||
padding: 8px;
|
||||
children: [ "inputbar", "imagebox", "mode-switcher" ];
|
||||
border-radius: 12px;
|
||||
background-image: url("~/.config/rofi/.current_wallpaper", height);
|
||||
|
||||
}
|
||||
|
||||
/* ---- Imagebox ---- */
|
||||
imagebox {
|
||||
background-color: transparent;
|
||||
orientation: horizontal;
|
||||
children: [ "listbox"];
|
||||
}
|
||||
|
||||
/* ---- Listbox ---- */
|
||||
listbox {
|
||||
spacing: 4px;
|
||||
orientation: vertical;
|
||||
children: ["listview" ];
|
||||
padding: 0px;
|
||||
border-radius: 12px;
|
||||
border-color: #7aa2f7;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* ---- Dummy ---- */
|
||||
dummy {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---- Inputbar ---- */
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px 0px 10px 0px;
|
||||
padding: 5px 10px;
|
||||
border: 1px;
|
||||
border-radius: 10px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
text-color: #FFFF00;
|
||||
children: ["textbox-prompt-colon", "entry"];
|
||||
enabled: true;
|
||||
padding: 2px;
|
||||
text-color: @foreground;
|
||||
spacing: 10px;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
children: [ "textbox-prompt-colon","entry" ];
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 12px;
|
||||
border-color: #7aa2f7;
|
||||
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
padding: 6px 0px 6px 10px;
|
||||
expand: false;
|
||||
str: "🐧";
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
enabled: true;
|
||||
padding: 6px 0px 6px 10px;
|
||||
expand: false;
|
||||
str: "🔎";
|
||||
text-color: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: true;
|
||||
padding: 6px 0px 0px 0px;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "Search...(ctrl+tab to select windows)";
|
||||
placeholder-color: inherit;
|
||||
enabled: true;
|
||||
padding: 6px 6px 6px 6px;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "Search.(ctrl+tab to select windows)";
|
||||
placeholder-color: inherit;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---- Mode Switcher ---- */
|
||||
mode-switcher{
|
||||
orientation: horizontal;
|
||||
enabled: true;
|
||||
spacing: 20px;
|
||||
padding: 2px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 5px 5px 5px 5px;
|
||||
border-radius: 10px;
|
||||
background-color: @background;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-color: #7aa2f7;
|
||||
}
|
||||
|
||||
button selected {
|
||||
background-color: rgb(92, 107, 192, 0.8);
|
||||
text-color: @foreground;
|
||||
border: 1px;
|
||||
border-color: @background;
|
||||
|
||||
}
|
||||
|
||||
/* ---- Listview ---- */
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 2;
|
||||
lines: 6;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: true;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
|
||||
spacing: 2px;
|
||||
padding: 6px;
|
||||
border: 0px 1.5px 1.5px 1.5px ;
|
||||
border-radius: 0px 0px 10px 10px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: "default";
|
||||
}
|
||||
scrollbar {
|
||||
handle-width: 5px ;
|
||||
handle-color: @foreground;
|
||||
border-radius: 10px;
|
||||
background-color: @background-alt;
|
||||
enabled: true;
|
||||
columns: 2;
|
||||
lines: 6;
|
||||
spacing: 4px;
|
||||
padding: 4px;
|
||||
dynamic: true;
|
||||
cycle: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
background-color: transparent;
|
||||
border-radius: 15px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
/* ---- Element ---- */
|
||||
element {
|
||||
enabled: true;
|
||||
padding: 5px;
|
||||
margin: 2px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
border-radius: 10px;
|
||||
border: 0px;
|
||||
}
|
||||
@@ -151,7 +185,7 @@ element normal.active {
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: @selected;
|
||||
background-color: rgb(92, 107, 192, 0.7);
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
@@ -183,43 +217,34 @@ element alternate.active {
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
size: 32px;
|
||||
size: 37px;
|
||||
cursor: inherit;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: #FFFF00;
|
||||
text-color: #e6ede8;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
horizontal-align: 0;
|
||||
}
|
||||
|
||||
mode-switcher{
|
||||
enabled: true;
|
||||
expand: false;
|
||||
spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
text-color: @text;
|
||||
/*****----- Message -----*****/
|
||||
message {
|
||||
background-color: @background;
|
||||
margin: 20px 0px 0px 0px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
button {
|
||||
padding: 10px;
|
||||
border: 0px 0px 1.5px 0px ;
|
||||
border-radius: 10px 10px 0px 0px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: pointer;
|
||||
|
||||
textbox {
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
button selected {
|
||||
border: 1.5px 1.5px 0px 1.5px ;
|
||||
border-radius: 10px 10px 0px 0px;
|
||||
border-color: @foreground;
|
||||
background-color: transparent;
|
||||
text-color: @text;
|
||||
|
||||
error-message {
|
||||
padding: 15px;
|
||||
border-radius: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
+12
-2
@@ -293,8 +293,8 @@
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": " ",
|
||||
"deactivated": " ",
|
||||
"activated": " ",
|
||||
"deactivated": " ",
|
||||
}
|
||||
},
|
||||
|
||||
@@ -432,6 +432,16 @@
|
||||
"max-length": 30,
|
||||
},
|
||||
|
||||
"custom/clip": {
|
||||
"format": "",
|
||||
"exec": "echo ; echo Copying List Menu",
|
||||
"on-click": "~/.config/hypr/scripts/RunCMD.sh clip",
|
||||
"on-click-right": "~/.config/hypr/scripts/RunCMD.sh clip",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true,
|
||||
|
||||
},
|
||||
|
||||
// This is a custom cava visualizer
|
||||
"custom/music": {
|
||||
"format": "{icon}{}",
|
||||
|
||||
Reference in new issue
Block a user