This commit is contained in:
sankalp committed 2024-03-08 11:55:51 +05:45
1 parent 75e52b850b
commit 754ea81164
23 files changed
+760 -883

No files matched your search

+1
View File
@@ -47,3 +47,4 @@ yandeu.five-server
YoavBls.pretty-ts-errors
YuTengjing.vscode-colorize-plus
ziglang.vscode-zig
dlasagno.wal-theme
+3 -3
View File
@@ -2,10 +2,10 @@
// open json editor for settings
"workbench.settings.editor": "json",
// Theme
"workbench.colorTheme": "Catppuccin Macchiato",
"workbench.preferredDarkColorTheme": "Catppuccin Macchiato",
"workbench.colorTheme": "Wal Bordered",
"workbench.preferredDarkColorTheme": "Wal Bordered",
"workbench.iconTheme": "catppuccin-perfect-mocha",
"workbench.preferredHighContrastColorTheme": "Catppuccin Macchiato",
"workbench.preferredHighContrastColorTheme": "Wal Bordered",
"catppuccin.accentColor": "lavender",
"catppuccin.extraBordersEnabled": true,
"catppuccin.italicComments": true,
+9 -8
View File
@@ -7,7 +7,7 @@
# Variables
RunCMD=$HOME/.config/hypr/scripts/RunCMD.sh
wallpaper=$HOME/Pictures/wallpapers/1.png
wallpaper=$HOME/Pictures/wallpapers/47.png
kvantum_theme="Tokyo-Night"
swww="swww img"
@@ -16,11 +16,15 @@ effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type
# Check if a marker file exists.
if [ ! -f $HOME/cache/.initial_startup_done ]; then
# Initial scripts to load in order to have a proper wallpaper
swww init || swww query && $swww "$wallpaper" $effect
# Initialize pywal and wallpaper
if [ -f "$wallpaper" ]; then
wal -i $wallpaper -s -t > /dev/null
swww init && $swww $wallpaper $effect
$RunCMD linker > /dev/null 2>&1 &
fi
# For Symbolic Link
$RunCMD linker > /dev/null 2>&1
# 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" > /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 &
@@ -35,9 +39,6 @@ if [ ! -f $HOME/cache/.initial_startup_done ]; then
#initiate the kb_layout
grep 'kb_layout=' "$HOME/.config/hypr/UserConfigs/UserSettings.conf" | cut -d '=' -f 2 | cut -d ',' -f 1 2>/dev/null > $HOME/.cache/kb_layout
# Refreshing waybar, dunst, rofi etc.
$RunCMD reload_all > /dev/null 2>&1 &
# Create a marker file to indicate that the script has been executed.
touch $HOME/.cache/.initial_startup_done
+1 -1
View File
@@ -8,7 +8,7 @@
music(){
# Directory for icons
iDIR="$HOME/.config/swaync/icons"
iDIR="$HOME/dotfiles/swaync/icons"
# Note: You can add more options below with the following format:
# ["TITLE"]="link"
+4 -4
View File
@@ -75,7 +75,7 @@ main
clip() {
while true; do
result=$(rofi -dmenu -kb-custom-1 "Control-Delete" -kb-custom-2 "Alt-Delete" -p "CTRL Del - Cliphist del || Alt Del - cliphist wipe" -config ~/.config/rofi/config-long.rasi < <(cliphist list))
result=$(rofi -dmenu -kb-custom-1 "Control-Delete" -kb-custom-2 "Alt-Delete" -p "CTRL Del - Cliphist del || Alt Del - cliphist wipe" -config ~/dotfiles/rofi/config-long.rasi < <(cliphist list))
case "$?" in
1) exit ;;
@@ -115,9 +115,9 @@ edit() {
######################################
keybind() {
CONFIG=$(rofi -show file-browser-extended -file-browser-stdout -file-browser-dir "$HOME"/.config/keyb/bindings -config ~/.config/rofi/config-long.rasi)
CONFIG=$(fd --base-directory "$HOME/.config/keyb/bindings" --type f . | rofi -dmenu -config ~/dotfiles/rofi/config-long.rasi)
hyprctl dispatch exec "[float;size 45% 80%;center 1] kitty keyb -k '$CONFIG'"
hyprctl dispatch exec "[float;size 45% 80%;center 1] kitty keyb -k '$HOME/.config/keyb/bindings/$CONFIG'"
}
######################################
@@ -127,7 +127,7 @@ hyprctl dispatch exec "[float;size 45% 80%;center 1] kitty keyb -k '$CONFIG'"
######################################
emoji() {
A="$(rofi -dmenu -p "Emoji:" -config ~/.config/rofi/config-long.rasi < "$HOME/.config/hypr/configs/emojis" | cut -d ' ' -f 1 | tr -d '\n')"
A="$(rofi -dmenu -p "Emoji:" -config ~/dotfiles/rofi/config-long.rasi < "$HOME/.config/hypr/configs/emojis" | cut -d ' ' -f 1 | tr -d '\n')"
[[ -n "$A" ]] && wl-copy -- "$A"
}
+5 -189
View File
@@ -68,6 +68,8 @@ reload_all() {
waybar &
sleep 0.5
swaync > /dev/null 2>&1 &
# for cava-pywal (note, need to manually restart cava once wallpaper changes)
ln -sf "$HOME/.cache/wal/cava-colors" "$HOME/dotfiles/cava/config" || true
}
######################################
@@ -90,17 +92,7 @@ reload_waybar() {
waybar &
fi
notify-send -u low -i $notif "Reload Waybar"
}
######################################
# #
# Update Waybar #
# #
######################################
update_waybar() {
pkill -RTMIN+4 waybar
notify-send -u low -i $notif 'Refresh Waybar'
}
######################################
@@ -111,194 +103,18 @@ update_waybar() {
reload_hypr() {
hyprctl reload
$RunCMD linker
notify-send -u low -i $notif 'Reload Hyprland'
}
######################################
# #
# lockscreen(swaylock) #
# lockscreen(hyprlock) #
# #
######################################
lock_screen() {
LOCKCONFIG="$HOME/.config/swaylock/config"
sleep 0.5s
swaylock --config ${LOCKCONFIG} &
disown
}
######################################
# #
# Volume Controller #
# #
######################################
volume() {
get_volume() {
volume=$(pamixer --get-volume)
if [[ "$volume" -eq "0" ]]; then
echo "Muted"
else
echo "$volume%"
fi
}
get_icon() {
current=$(get_volume)
if [[ "$current" == "Muted" ]]; then
echo "$iDIR/volume-mute.png"
elif [[ "${current%\%}" -le 30 ]]; then
echo "$iDIR/volume-low.png"
elif [[ "${current%\%}" -le 60 ]]; then
echo "$iDIR/volume-mid.png"
else
echo "$iDIR/volume-high.png"
fi
}
notify_user() {
if [[ "$(get_volume)" == "Muted" ]]; then
notify-send -e -h string:x-canonical-private-synchronous:volume_notif -u low -i "$(get_icon)" "Volume: Muted"
else
notify-send -e -h int:value:"$(get_volume | sed 's/%//')" -h string:x-canonical-private-synchronous:volume_notif -u low -i "$(get_icon)" "Volume: $(get_volume)"
fi
}
inc_volume() {
if [ "$(pamixer --get-mute)" == "true" ]; then
pamixer -u && notify_user
fi
pamixer -i 5 && notify_user
}
dec_volume() {
if [ "$(pamixer --get-mute)" == "true" ]; then
pamixer -u && notify_user
fi
pamixer -d 5 && notify_user
}
toggle_mute() {
if [ "$(pamixer --get-mute)" == "false" ]; then
pamixer -m && notify-send -e -u low -i "$iDIR/volume-mute.png" "Volume Switched OFF"
elif [ "$(pamixer --get-mute)" == "true" ]; then
pamixer -u && notify-send -e -u low -i "$(get_icon)" "Volume Switched ON"
fi
}
toggle_mic() {
if [ "$(pamixer --default-source --get-mute)" == "false" ]; then
pamixer --default-source -m && notify-send -e -u low -i "$iDIR/microphone-mute.png" "Microphone Switched OFF"
elif [ "$(pamixer --default-source --get-mute)" == "true" ]; then
pamixer -u --default-source u && notify-send -e -u low -i "$iDIR/microphone.png" "Microphone Switched ON"
fi
}
get_mic_icon() {
current=$(pamixer --default-source --get-volume)
if [[ "$current" -eq "0" ]]; then
echo "$iDIR/microphone-mute.png"
else
echo "$iDIR/microphone.png"
fi
}
get_mic_volume() {
volume=$(pamixer --default-source --get-volume)
if [[ "$volume" -eq "0" ]]; then
echo "Muted"
else
echo "$volume%"
fi
}
notify_mic_user() {
volume=$(get_mic_volume)
icon=$(get_mic_icon)
notify-send -e -h int:value:"$volume" -h "string:x-canonical-private-synchronous:volume_notif" -u low -i "$icon" "Mic-Level: $volume"
}
inc_mic_volume() {
if [ "$(pamixer --default-source --get-mute)" == "true" ]; then
pamixer --default-source -u && notify_mic_user
fi
pamixer --default-source -i 5 && notify_mic_user
}
dec_mic_volume() {
if [ "$(pamixer --default-source --get-mute)" == "true" ]; then
pamixer --default-source -u && notify_mic_user
fi
pamixer --default-source -d 5 && notify_mic_user
}
if [[ "$1" == "--get" ]]; then
get_volume
elif [[ "$1" == "--inc" ]]; then
inc_volume
elif [[ "$1" == "--dec" ]]; then
dec_volume
elif [[ "$1" == "--toggle" ]]; then
toggle_mute
elif [[ "$1" == "--toggle-mic" ]]; then
toggle_mic
elif [[ "$1" == "--get-icon" ]]; then
get_icon
elif [[ "$1" == "--get-mic-icon" ]]; then
get_mic_icon
elif [[ "$1" == "--mic-inc" ]]; then
inc_mic_volume
elif [[ "$1" == "--mic-dec" ]]; then
dec_mic_volume
else
get_volume
fi
}
############################################################
# #
# Brightness Controller both keyboard & screen #
# #
############################################################
brightness() {
notification_timeout=1000
get_backlight() {
echo $(brightnessctl -m | cut -d, -f4)
}
get_kbd_backlight() {
brightnessctl -d '*::kbd_backlight' -m | cut -d, -f4 | tr -d '%'
}
get_icon() {
current=$(get_backlight | sed 's/%//')
[ "$current" -le "20" ] && icon="$iDIR/brightness-20.png" ||
[ "$current" -le "40" ] && icon="$iDIR/brightness-40.png" ||
[ "$current" -le "60" ] && icon="$iDIR/brightness-60.png" ||
[ "$current" -le "80" ] && icon="$iDIR/brightness-80.png" ||
icon="$iDIR/brightness-100.png"
}
notify_user() {
notify-send -e -h string:x-canonical-private-synchronous:brightness_notif -h int:value:$current -u low -i "$icon" "Brightness: $current%"
}
change_backlight() {
brightnessctl set "$1" && get_icon && notify_user
}
change_kbd_backlight() {
brightnessctl -d '*::kbd_backlight' set "$1" && get_icon && notify_user
}
case "$1" in
"--get")
get_backlight
;;
"--inc")
change_backlight "+5%"
;;
"--dec")
change_backlight "5%-"
;;
"--get-kbd")
get_kbd_backlight
;;
"--inc-kbd")
change_kbd_backlight "+30%"
;;
"--dec-kbd")
change_kbd_backlight "30%-"
;;
*)
get_backlight
;;
esac
hyprlock
}
######################################
+40 -19
View File
@@ -105,6 +105,7 @@ random_wall() {
RANDOMPICS=${PICS[RANDOM % ${#PICS[@]}]} # Select a random image
swww img "${RANDOMPICS}" ${SWWW_PARAMS} # Set the randomly selected wallpaper
$linker
$RunCMD reload_all
else
echo "No images found in ${wallDIR}"
fi
@@ -122,7 +123,7 @@ auto_wall() {
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 && $RunCMD reload_all
sleep $INTERVAL
done
}
@@ -145,13 +146,13 @@ select_wall() {
exit 1
fi
images=$(find "$wallDIR" -maxdepth 1 -type f -printf "%f\x00icon\x1f$wallDIR/%f\n" | sort -n)
choice=$(echo -en "$images\nRandom Choice" | rofi -dmenu -i -show-icons -theme-str "$(build_theme 3 5 6)" -config ~/.config/rofi/config-wallpaper.rasi)
choice=$(echo -en "$images\nRandom Choice" | rofi -dmenu -i -show-icons -theme-str "$(build_theme 3 5 6)" -config ~/dotfiles/rofi/config-wallpaper.rasi)
if [ -n "$choice" ]; then
if [ "$choice" = "Random Choice" ]; then
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 && $RunCMD reload_all
else
echo "No wallpaper selected. Exiting."
exit 0
@@ -207,7 +208,7 @@ gamemode() {
else
notify-send -e -u normal -i "$notif" "All animations normal"
hyprctl keyword animations:enabled 1
swww init && swww img "$HOME/.config/rofi/.current_wallpaper"
swww init && swww img "$HOME/dotfiles/rofi/.current_wallpaper"
fi
}
@@ -265,23 +266,43 @@ notify-send -u low -i "$notif" "Keyboad Layout Changed to $new_layout"
######################################
linker() {
cache_dir="$HOME/.cache/swww/" # Define the path to the swww cache directory
monitor_outputs=("$cache_dir"/*) # Get a list of monitor outputs
ln_success=false # Initialize a flag to determine if the ln command was executed
for cache_file in "${monitor_outputs[@]}"; do # Loop through monitor outputs
if [ -f "$cache_file" ]; then # Check if the cache file exists for the current monitor output
wallpaper_path=$(<"$cache_file") # Get the wallpaper path from the cache file
if ln -sf "$wallpaper_path" "$HOME/dotfiles/rofi/.current_wallpaper"; then # Copy the wallpaper to the location Rofi can access
ln_success=true # Set the flag to true upon successful execution
break # Exit the loop after processing the first found monitor output
fi
# Define the path to the swww cache directory
cache_dir="$HOME/.cache/swww/"
# Get a list of monitor outputs
monitor_outputs=($(ls "$cache_dir"))
# Initialize a flag to determine if the ln command was executed
ln_success=false
# Get first valid monitor
current_monitor=$(hyprctl -j monitors | jq -r '.[0].name')
echo $current_monitor
# Construct the full path to the cache file
cache_file="$cache_dir$current_monitor"
echo $cache_file
# Check if the cache file exists for the current monitor output
if [ -f "$cache_file" ]; then
# Get the wallpaper path from the cache file
wallpaper_path=$(cat "$cache_file")
echo $wallpaper_path
# Copy the wallpaper to the location Rofi can access
if ln -sf "$wallpaper_path" "$HOME/dotfiles/rofi/.current_wallpaper"; then
ln_success=true # Set the flag to true upon successful execution
fi
done
if $ln_success; then # Add a message indicating whether the ln command was successful
echo "Wallpaper linked successfully."
else
echo "Failed to link wallpaper."
fi
# Check the flag before executing further commands
if [ "$ln_success" = true ]; then
# execute pywal
# wal -i "$wallpaper_path"
echo 'about to execute wal'
# execute pywal skipping tty and terminal changes
wal -i "$wallpaper_path" -s -t &
fi
# for cava-pywal (note, need to manually restart cava once wallpaper changes)
ln -sf "$HOME/.cache/wal/cava-colors" "$HOME/dotfiles/cava/config" || true
}
-249
View File
@@ -1,249 +0,0 @@
/* ---- Configuration ---- */
configuration {
modi: "drun,run,filebrowser";
font: "Fira Code SemiBold 12";
show-icons: true;
display-drun: "🐧";
display-run: "📦";
display-filebrowser: "📂";
display-window: "🗄️";
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: #11111be6;
foreground: #cdd6f4ff;
}
/* ---- Window ---- */
window {
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: 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;
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;
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: "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: 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;
border-radius: 10px;
border: 0px;
}
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: rgb(92, 107, 192, 0.7);
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: 37px;
cursor: inherit;
}
element-text {
background-color: transparent;
text-color: #e6ede8;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0;
}
/*****----- Message -----*****/
message {
background-color: @background;
margin: 20px 0px 0px 0px;
border-radius: 12px;
}
textbox {
padding: 10px;
background-color: @background;
text-color: @foreground;
}
error-message {
padding: 15px;
border-radius: 12px;
background-color: @background;
text-color: @foreground;
}
+14 -16
View File
@@ -1,6 +1,6 @@
/* ---- Configuration ---- */
configuration {
modi: "drun,run,file-browser-extended";
modi: "drun,run,filebrowser";
font: "Fira Code SemiBold 12";
show-icons: true;
display-drun: "🐧";
@@ -18,10 +18,8 @@ configuration {
}
* {
background: #11111be6;
foreground: #cdd6f4ff;
}
/* ---- Load pywal colors (custom wal template) ---- */
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
/* ---- Window ---- */
@@ -33,14 +31,13 @@ window {
padding: 0px;
margin: 0px;
border: 2px;
border-color: #7aa2f7;
border-color: @active-background;
cursor: "default";
location: center;
anchor: center;
fullscreen: false;
border-radius: 12px;
enabled: true;
background-color: rgba(0, 0, 0, 0.6);
}
/* ---- Mainbox ---- */
@@ -50,7 +47,7 @@ mainbox {
padding: 8px;
children: [ "inputbar", "imagebox", "mode-switcher" ];
border-radius: 12px;
background-image: url("~/.config/rofi/.current_wallpaper", height);
background-image: url("~/dotfiles/rofi/.current_wallpaper", height);
}
@@ -68,8 +65,8 @@ listbox {
children: ["listview" ];
padding: 0px;
border-radius: 12px;
border-color: #7aa2f7;
background-color: rgba(0, 0, 0, 0.6);
border-color: @active-background;
background-color: @background;
}
/* ---- Dummy ---- */
@@ -83,11 +80,12 @@ inputbar {
padding: 2px;
text-color: @foreground;
spacing: 10px;
background-color: rgba(0, 0, 0, 0.6);
border-color: @foreground;
background-color: @background;
children: [ "prompt", "textbox-prompt-colon","entry" ];
border: 0px 0px 2px 0px;
border-radius: 12px;
border-color: #7aa2f7;
border-color: @active-background;
}
@@ -133,12 +131,12 @@ button {
background-color: @background;
text-color: inherit;
cursor: pointer;
border: 0px 0px 2px 0px;
border-color: #7aa2f7;
border: 0px 0px 2px 0px;
border-color: @active-background;
}
button selected {
background-color: rgb(92, 107, 192, 0.8);
background-color: @selected-normal-background;
text-color: @foreground;
border: 1px;
border-color: @background;
@@ -191,7 +189,7 @@ element normal.active {
}
element selected.normal {
background-color: rgb(92, 107, 192, 0.7);
background-color: @selected-normal-background;
text-color: @foreground;
}
-121
View File
@@ -1,121 +0,0 @@
/* ---- Configuration ---- */
configuration {
show-icons: false;
}
* {
font: "Fira Code SemiBold 12";
background: #11111be6;
foreground: #cdd6f4ff;
}
/* ---- Main Window ---- */
window {
location: center;
anchor: center;
fullscreen: false;
width: 900px;
height: 400px;
x-offset: 0px;
y-offset: 0px;
padding: 0px;
border: 2px;
border-radius: 15px;
border-color: #7aa2f7;
cursor: "default";
background-color: rgba(0, 0, 0, 0.6);
}
/* ---- Main Box ---- */
mainbox {
enabled: true;
spacing: 0px;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", width);
border-color: #7aa2f7;
background-color: rgba(0, 0, 0, 0.6);
children: [ "inputbar", "listview", "message" ];
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
padding: 20px;
background-color: rgba(0, 0, 0, 0.6);
orientation: horizontal;
children: ["prompt"];
}
prompt {
enabled: true;
padding: 10px;
border-radius: 15px;
border-color: @foreground;
background-color: rgba(0, 0, 0, 0.1);
text-color: @foreground;
cursor: text;
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 3;
lines: 2;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: false;
fixed-columns: true;
spacing: 40px;
padding: 4% 40px;
background-color: rgba(0, 0, 0, 0.6);
cursor: "default";
border: 0px;
border-color: #7aa2f7;
}
/* ---- Elements ---- */
element {
enabled: true;
padding: 20px;
border-radius: 30px;
background-color: transparent;
text-color: @foreground;
cursor: pointer;
}
element-text {
font: "JetBrainsMono SemiBold 16";
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}
element selected.normal {
background-color: rgb(92, 107, 192, 0.8);
text-color: @background;
}
/* ---- Message ---- */
message {
enabled: true;
margin: 0px;
background-color: transparent;
text-color: @foreground;
border: 0px;
}
textbox {
font: "JetBrainsMono SemiBold 8";
background-color: @background;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.5;
}
+3
View File
@@ -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.
+1
View File
@@ -0,0 +1 @@
/home/sankalp/.cache/wal/colors-rofi-dark.rasi
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 245 KiB

+24 -30
View File
@@ -1,11 +1,11 @@
@import '../../.cache/wal/colors-waybar.css';
@define-color noti-border-color #7aa2f7;
@define-color noti-border-color @color2;
@define-color noti-bg rgba(0, 0, 0, 0.8);
@define-color noti-bg-alt #111111;
@define-color noti-bg-hover @color2;
@define-color text-color rgb(159, 168, 218);
@define-color text-color-alt rgb(92, 107, 192);
@define-color text-color @color2;
@define-color text-color-alt @color7;
@define-color text-color-disabled rgba(150, 150, 150, 0.8);
* {
@@ -45,13 +45,13 @@
}
.close-button {
background: #5C6BC0;
background: #f7768e;
color: @noti-bg;
text-shadow: none;
padding: 0;
border-radius: 10px;
margin-top: 15px;
margin-right: 15px;
margin-top: 5px;
margin-right: 5px;
}
.close-button:hover {
@@ -160,6 +160,7 @@
.control-center {
background: @noti-bg;
border: 2px solid @noti-border-color;
color: @text-color;
border-radius: 10px;
}
@@ -186,7 +187,6 @@
margin: 5px;
font-size: 1rem;
border-radius: 10px;
border: 1px solid @noti-border-color;
}
.widget-title>button {
@@ -194,12 +194,12 @@
color: @text-color;
border-radius: 10px;
background: transparent;
border: 1px solid @noti-border-color;
border: 0.5px solid @noti-border-color;
}
.widget-title>button:hover {
background: #7aa2f7;
color: #000000;
background: #f7768e;
color: @noti-border-color;
}
.widget-dnd {
@@ -213,7 +213,7 @@
.widget-dnd>switch {
border-radius: 10px;
border: 1px solid #7aa2f7;
/* border: 1px solid #7aa2f7; */
background: @noti-border-color;
}
@@ -232,18 +232,25 @@
border-radius: 10px
}
.widget-label {
margin: 5px;
}
.widget-label>label {
font-size: 1rem;
color: @text-color;
}
.widget-mpris {
color: #ee9bfd;
color: @text-color;
background: @noti-bg-alt;
padding: 3px 6px;
margin: 5px;
border-radius: 10px;
border: 1px solid @noti-border-color;
}
.widget-mpris > box > button {
border-radius: 10px;
border: 1px solid @noti-border-color;
}
.widget-mpris-player {
@@ -254,22 +261,12 @@
.widget-mpris-title {
font-weight: 100;
font-size: 1rem
}
.widget-mpris-subtitle {
font-size: 0.75rem
}
.widget-label {
margin: 5px;
}
.widget-label>label {
font-size: 1rem;
color: @text-color;
}
.widget-buttons-grid {
font-size: large;
color: @noti-border-color;
@@ -277,21 +274,18 @@
margin: 5px;
border-radius: 10px;
background: @noti-bg-alt;
border: 1px solid @noti-border-color;
}
.widget-buttons-grid>flowbox>flowboxchild>button {
margin: 1px;
background: @noti-bg;
border-radius: 10px;
color: @text-color;
border: 1px solid @noti-border-color;
color: @text-color
}
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
background: rgba(122, 162, 247, 0.1);
color: @text-color-alt;
border: 1px solid @noti-border-color;
color: @text-color-alt
}
.widget-menubar>box>.menu-button-bar>button {
+184
View File
@@ -0,0 +1,184 @@
## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting.
[general]
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
; mode = normal
# Accepts only non-negative values.
; framerate = 60
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
# new as of 0.6.0 autosens of low values (dynamic range)
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
; autosens = 1
; overshoot = 20
# Manual sensitivity in %. If autosens is enabled, this will only be the initial value.
# 200 means double height. Accepts only non-negative values.
; sensitivity = 100
# The number of bars (0-200). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
; bars = 0
; bar_width = 2
; bar_spacing = 1
# For SDL width and space between bars is in pixels, defaults are:
; bar_width = 20
; bar_spacing = 5
# Lower and higher cutoff frequencies for lowest and highest bars
# the bandwidth of the visualizer.
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
# Cava will automatically increase the higher cutoff if a too low band is specified.
; lower_cutoff_freq = 50
; higher_cutoff_freq = 10000
# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and
# only check for input once per second. Cava will wake up once input is detected. 0 = disable.
; sleep_timer = 0
[input]
# Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem'
# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with.
#
# All input methods uses the same config variable 'source'
# to define where it should get the audio.
#
# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
#
# For alsa 'source' will be the capture device.
# For fifo 'source' will be the path to fifo-file.
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
method = pulse
source = auto
; method = alsa
; source = hw:Loopback,1
; method = fifo
; source = /tmp/mpd.fifo
; sample_rate = 44100
; sample_bits = 16
; method = shmem
; source = /squeezelite-AA:BB:CC:DD:EE:FF
; method = portaudio
; source = auto
[output]
# Output method. Can be 'ncurses', 'noncurses', 'raw' or 'sdl'.
# 'noncurses' uses a custom framebuffer technique and prints only changes
# from frame to frame in the terminal. 'ncurses' is default if supported.
#
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
# stream of the bar heights that can be used to send to other applications.
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
#
# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context.
; method = ncurses
# Visual channels. Can be 'stereo' or 'mono'.
# 'stereo' mirrors both channels with low frequencies in center.
# 'mono' outputs left to right lowest to highest frequencies.
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
; channels = stereo
; mono_option = average
# Raw output target. A fifo will be created if target does not exist.
; raw_target = /dev/stdout
# Raw data format. Can be 'binary' or 'ascii'.
; data_format = binary
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
; bit_format = 16bit
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
; ascii_max_range = 1000
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
; bar_delimiter = 59
; frame_delimiter = 10
# sdl window size and position. -1,-1 is centered.
; sdl_width = 1000
; sdl_height = 500
; sdl_x = -1
; sdl_y= -1
[color]
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
# ncurses output method and a terminal that can change color definitions such as Gnome-terminal or rxvt.
# if supported, ncurses mode will be forced on if user defined colors are used.
# default is to keep current terminal color
; background = default
; foreground = default
# SDL only support hex code colors, these are the default:
; background = '#111111'
; foreground = '#33cccc'
# Gradient mode, only hex defined colors (and thereby ncurses mode) are supported,
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
# You can define as many as 8 different colors. They range from bottom to top of screen
# In the [color] section
[color]
gradient = 1
gradient_color_1 = '{color0}'
gradient_color_2 = '{color2}'
gradient_color_3 = '{color3}'
gradient_color_4 = '{color5}'
gradient_color_5 = '{color7}'
gradient_color_6 = '{color12}'
gradient_color_7 = '{color13}'
gradient_color_8 = '{color15}'
[smoothing]
# Percentage value for integral smoothing. Takes values from 0 - 100.
# Higher values means smoother, but less precise. 0 to disable.
; integral = 77
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
; monstercat = 0
; waves = 0
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
; gravity = 100
# In bar height, bars that would have been lower that this will not be drawn.
; ignore = 0
[eq]
# This one is tricky. You can have as much keys as you want.
# Remember to uncomment more then one key! More keys = more precision.
# Look at readme.md on github for further explanations and examples.
; 1 = 1 # bass
; 2 = 1
; 3 = 1 # midtone
; 4 = 1
; 5 = 1 # treble
+18
View File
@@ -0,0 +1,18 @@
$foregroundCol = 0xff{foreground.strip}
$backgroundCol = 0xff{background.strip}
$color0 = 0xff{color0.strip}
$color1 = 0xff{color1.strip}
$color2 = 0xff{color2.strip}
$color3 = 0xff{color3.strip}
$color4 = 0xff{color4.strip}
$color5 = 0xff{color5.strip}
$color6 = 0xff{color6.strip}
$color7 = 0xff{color7.strip}
$color8 = 0xff{color8.strip}
$color9 = 0xff{color9.strip}
$color10 = 0xff{color10.strip}
$color11 = 0xff{color11.strip}
$color12 = 0xff{color12.strip}
$color13 = 0xff{color13.strip}
$color14 = 0xff{color14.strip}
$color15 = 0xff{color15.strip}
+166
View File
@@ -0,0 +1,166 @@
* {{
active-background: {color2};
active-foreground: @foreground;
normal-background: @background;
normal-foreground: @foreground;
urgent-background: {color1};
urgent-foreground: @foreground;
alternate-active-background: @background;
alternate-active-foreground: @foreground;
alternate-normal-background: @background;
alternate-normal-foreground: @foreground;
alternate-urgent-background: @background;
alternate-urgent-foreground: @foreground;
selected-active-background: {color1};
selected-active-foreground: @foreground;
selected-normal-background: {color2};
selected-normal-foreground: @foreground;
selected-urgent-background: {color3};
selected-urgent-foreground: @foreground;
background-color: @background;
background: rgba(0,0,0,0.7);
foreground: {foreground};
border-color: @background;
spacing: 2;
}}
#window {{
background-color: @background;
border: 0;
padding: 2.5ch;
}}
#mainbox {{
border: 0;
padding: 0;
}}
#message {{
border: 2px 0px 0px;
border-color: @border-color;
padding: 1px;
}}
#textbox {{
text-color: @foreground;
}}
#inputbar {{
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}}
#textbox-prompt-colon {{
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em;
text-color: @normal-foreground;
}}
#listview {{
fixed-height: 0;
border: 2px 0px 0px;
border-color: @border-color;
spacing: 2px;
scrollbar: true;
padding: 2px 0px 0px;
}}
#element {{
border: 0;
padding: 1px;
}}
#element-text, element-icon {{
background-color: inherit;
text-color: inherit;
}}
#element.normal.normal {{
background-color: @normal-background;
text-color: @normal-foreground;
}}
#element.normal.urgent {{
background-color: @urgent-background;
text-color: @urgent-foreground;
}}
#element.normal.active {{
background-color: @active-background;
text-color: @active-foreground;
}}
#element.selected.normal {{
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}}
#element.selected.urgent {{
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}}
#element.selected.active {{
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}}
#element.alternate.normal {{
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}}
#element.alternate.urgent {{
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}}
#element.alternate.active {{
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}}
#scrollbar {{
width: 4px;
border: 0;
handle-width: 8px;
padding: 0;
}}
#sidebar {{
border: 2px 0px 0px;
border-color: @border-color;
}}
#button {{
text-color: @normal-foreground;
}}
#button.selected {{
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}}
#inputbar {{
spacing: 0;
text-color: @normal-foreground;
padding: 1px;
}}
#case-indicator {{
spacing: 0;
text-color: @normal-foreground;
}}
#entry {{
spacing: 0;
text-color: @normal-foreground;
}}
#prompt {{
spacing: 0;
text-color: @normal-foreground;
}}
+166
View File
@@ -0,0 +1,166 @@
* {{
active-background: {color2};
active-foreground: @foreground;
normal-background: @background;
normal-foreground: @foreground;
urgent-background: {color1};
urgent-foreground: @foreground;
alternate-active-background: @background;
alternate-active-foreground: @foreground;
alternate-normal-background: @background;
alternate-normal-foreground: @foreground;
alternate-urgent-background: @background;
alternate-urgent-foreground: @foreground;
selected-active-background: {color1};
selected-active-foreground: @foreground;
selected-normal-background: {color2};
selected-normal-foreground: @foreground;
selected-urgent-background: {color3};
selected-urgent-foreground: @foreground;
background-color: @background;
background: rgba(255,255,255, 0.5);
foreground: {background};
border-color: @background;
spacing: 2;
}}
#window {{
background-color: @background;
border: 0;
padding: 2.5ch;
}}
#mainbox {{
border: 0;
padding: 0;
}}
#message {{
border: 2px 0px 0px;
border-color: @border-color;
padding: 1px;
}}
#textbox {{
text-color: @foreground;
}}
#inputbar {{
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}}
#textbox-prompt-colon {{
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em;
text-color: @normal-foreground;
}}
#listview {{
fixed-height: 0;
border: 2px 0px 0px;
border-color: @border-color;
spacing: 2px;
scrollbar: true;
padding: 2px 0px 0px;
}}
#element {{
border: 0;
padding: 1px;
}}
#element-text, element-icon {{
background-color: inherit;
text-color: inherit;
}}
#element.normal.normal {{
background-color: @normal-background;
text-color: @normal-foreground;
}}
#element.normal.urgent {{
background-color: @urgent-background;
text-color: @urgent-foreground;
}}
#element.normal.active {{
background-color: @active-background;
text-color: @active-foreground;
}}
#element.selected.normal {{
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}}
#element.selected.urgent {{
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}}
#element.selected.active {{
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}}
#element.alternate.normal {{
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}}
#element.alternate.urgent {{
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}}
#element.alternate.active {{
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}}
#scrollbar {{
width: 4px;
border: 0;
handle-width: 8px;
padding: 0;
}}
#sidebar {{
border: 2px 0px 0px;
border-color: @border-color;
}}
#button {{
text-color: @normal-foreground;
}}
#button.selected {{
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}}
#inputbar {{
spacing: 0;
text-color: @normal-foreground;
padding: 1px;
}}
#case-indicator {{
spacing: 0;
text-color: @normal-foreground;
}}
#entry {{
spacing: 0;
text-color: @normal-foreground;
}}
#prompt {{
spacing: 0;
text-color: @normal-foreground;
}}
+112 -241
View File
@@ -1,118 +1,116 @@
*{
font-family: "JetBrainsMono Nerd Font";
font-weight: bold;
/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
font-size: 97%;
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
padding: 1px;
@import '../../.cache/wal/colors-waybar.css';
* {
font-family: "JetBrainsMono Nerd Font";
font-weight: bold;
min-height: 0;
/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
font-size: 96%;
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
padding: 1px;
}
/*catppuccin-mocha-themes*/
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;
@define-color text #cdd6f4;
@define-color subtext0 #a6adc8;
@define-color subtext1 #bac2de;
@define-color surface0 #313244;
@define-color surface1 #45475a;
@define-color surface2 #585b70;
@define-color overlay0 #6c7086;
@define-color overlay1 #7f849c;
@define-color overlay2 #9399b2;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color sapphire #74c7ec;
@define-color sky #89dceb;
@define-color teal #94e2d5;
@define-color green #a6e3a1;
@define-color yellow #f9e2af;
@define-color peach #fab387;
@define-color maroon #eba0ac;
@define-color red #f38ba8;
@define-color mauve #cba6f7;
@define-color pink #f5c2e7;
@define-color flamingo #f2cdcd;
@define-color rosewater #f5e0dc;
/*
Catpp
@define-color base #eff1f5;
@define-color mantle #e6e9ef;
@define-color crust #dce0e8;
@define-color text #4c4f69;
@define-color subtext0 #6c6f85;
@define-color subtext1 #5c5f77;
@define-color surface0 #ccd0da;
@define-color surface1 #bcc0cc;
@define-color surface2 #acb0be;
@define-color overlay0 #9ca0b0;
@define-color overlay1 #8c8fa1;
@define-color overlay2 #7c7f93;
@define-color blue #1e66f5;
@define-color lavender #7287fd;
@define-color sapphire #209fb5;
@define-color sky #04a5e5;
@define-color teal #179299;
@define-color green #40a02b;
@define-color yellow #df8e1d;
@define-color peach #fe640b;
@define-color maroon #e64553;
@define-color red #d20f39;
@define-color mauve #8839ef;
@define-color pink #ea76cb;
@define-color flamingo #dd7878;
@define-color rosewater #dc8a78;
*/
window#waybar {
transition-property: background-color;
transition-duration: 0.5s;
background: transparent;
/*border: 2px solid @overlay0;*/
/*background: @theme_base_color;*/
border-radius: 10px;
background: transparent;
}
window#waybar.hidden {
opacity: 0.2;
opacity: 0.5;
}
window#waybar.empty {
background: none;
background-color: @background;
}
/* This section can be use if you want to separate waybar modules */
.modules-left, .modules-center, .modules-right {
background: @theme_base_color;
border: 0.5px solid @overlay0;
window#waybar.empty #window {
padding: 0px;
border: 0px;
background-color: transparent;
}
tooltip {
background: @background;
border-radius: 10px;
border-width: 1px;
border-style: solid;
border-color: @color2;
}
/*-----module groups----*/
.modules-right {
border: 3px solid @color14;
border-radius: 40px 0px 0px 0px;
background-color: @color0;
padding-top: 2px;
padding-bottom: 2px;
padding-right: 4px;
padding-left: 4px;
border-radius: 10px;
}
.modules-left, .modules-right {
border: 1px solid @blue;
.modules-center {
border: 3px solid @color14;
border-radius: 60px 0px 60px 0px;
background-color: @background;
padding-top: 2px;
padding-bottom: 2px;
padding-right: 4px;
padding-left: 4px;
}
.modules-left {
border: 3px solid @color14;
border-radius: 0px 0px 40px 0px;
background-color: @color0;
padding-top: 2px;
padding-bottom: 2px;
padding-right: 4px;
padding-left: 4px;
}
#workspaces button {
color: @foreground;
box-shadow: none;
text-shadow: none;
padding: 0px;
border-radius: 9px;
padding-left: 0px;
padding-right: 0px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
}
#workspaces button.active {
color: @background;
background-color: @color2;
padding-left: 0px;
padding-right: 0px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
}
#workspaces button.focused {
color: @color4;
}
#workspaces button.urgent {
color: #11111b;
border-radius: 10px;
}
#workspaces button:hover {
color: @color4;
padding-left: 2px;
padding-right: 2px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
}
#clock#2 {
color: @color6;
}
#backlight,
#backlight-slider,
#language,
@@ -160,115 +158,26 @@ window#waybar.empty {
#custom-weather.showyIcyDay,
#custom-weather.snowyIcyNight,
#custom-weather.sunnyDay {
padding-top: 3px;
padding-bottom: 3px;
color: @foreground;
padding-top: 1px;
padding-bottom: 1px;
padding-right: 6px;
padding-left: 6px;
}
#idle_inhibitor {
color: @blue;
}
#bluetooth,
#backlight {
color: @blue;
}
#battery {
color: @green;
#temperature.critical {
background-color: #ff0000;
}
@keyframes blink {
to {
color: @surface0;
}
}
#battery.critical:not(.charging) {
background-color: @red;
color: @theme_text_color;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
box-shadow: inset 0 -3px transparent;
}
#clock {
color: @yellow;
}
#cpu {
color: @green;
}
#custom-keyboard,
#memory {
color: @sky;
}
#disk {
color: @sapphire;
}
#temperature {
color: @teal;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
}
#keyboard-state {
color: @flamingo;
}
#workspaces button {
box-shadow: none;
text-shadow: none;
padding: 0px;
border-radius: 9px;
padding-left: 0px;
padding-right: 0px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
}
#workspaces button.active {
color: @peach;
border-radius: 10px;
padding-left: 0px;
padding-right: 0px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
}
#workspaces button.persistent {
color: @surface2;
border-radius: 10px;
}
#workspaces button.urgent {
color: @red;
border-radius: 0px;
}
#workspaces button:hover {
border-radius: 10px;
color: @overlay0;
background-color: @surface0;
padding-left: 2px;
padding-right: 2px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
to {
color: #000000;
}
}
#taskbar button.active {
background-color: rgb(47, 46, 46);
border-radius: 30px;
padding-left: 0px;
padding-right: 0px;
animation: gradient_f 20s ease-in infinite;
@@ -278,60 +187,18 @@ window#waybar.empty {
#taskbar button:hover {
padding-left: 0px;
padding-right: 0px;
border-radius: 15px;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
}
#custom-music {
color: @mauve;
}
#custom-menu {
color: @rosewater;
}
#custom-power {
color: @red;
}
#custom-updater {
color: @red;
}
#custom-weather {
color: @lavender;
}
#custom-lock {
color: @maroon;
}
#pulseaudio {
color: @sapphire;
}
#pulseaudio.bluetooth {
color: @pink;
}
#pulseaudio.muted {
color: @red;
}
#window {
color: @mauve;
}
#custom-waybar-mpris {
color:@lavender;
}
#network {
color: @teal;
}
#network.disconnected,
#network.disabled {
background-color: @surface0;
color: @text;
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#pulseaudio-slider slider {
@@ -373,3 +240,7 @@ window#waybar.empty {
min-width: 10px;
border-radius: 5px;
}
#custom-cava_mviz {
padding-right: 10px;
}