first commit
This commit is contained in:
1
wofi/config
Normal file
1
wofi/config
Normal file
@@ -0,0 +1 @@
|
||||
allow_images=true
|
||||
14
wofi/spotify/config
Normal file
14
wofi/spotify/config
Normal file
@@ -0,0 +1,14 @@
|
||||
# Расположение меню (top, center, bottom, left, right и т.д.)
|
||||
location=center
|
||||
# Отступы от краев экрана
|
||||
margin_top=20%
|
||||
margin_bottom=20%
|
||||
# Ширина и высота меню
|
||||
width=300
|
||||
height=250
|
||||
# Не показывать строку поиска
|
||||
show_search=false
|
||||
# Не показывать иконки (мы используем свои в тексте)
|
||||
show_icons=false
|
||||
# Количество колонок
|
||||
columns=1
|
||||
38
wofi/spotify/style.css
Normal file
38
wofi/spotify/style.css
Normal file
@@ -0,0 +1,38 @@
|
||||
/* Общий стиль окна */
|
||||
window {
|
||||
background-color: rgba(25, 25, 25, 0.7); /* Темно-серый, полупрозрачный фон */
|
||||
border: 2px solid #ffffff; /* Белая рамка */
|
||||
border-radius: 15px; /* Скругленные углы */
|
||||
font-family: "JetBrainsMono Nerd Font", sans-serif; /* Укажите ваш Nerd Font */
|
||||
}
|
||||
|
||||
/* Скрытие поля ввода (оно нам не нужно) */
|
||||
#input {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Скрытие внешней рамки */
|
||||
#outer-box {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* Стиль для каждого пункта меню */
|
||||
#entry {
|
||||
padding: 10px;
|
||||
color: #e0e0e0; /* Светло-серый текст */
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* Стиль для выбранного пункта меню при навигации */
|
||||
#entry:selected {
|
||||
background-color: rgba(255, 255, 255, 0.1); /* Легкая белая подсветка */
|
||||
color: #ffffff; /* Белый текст */
|
||||
}
|
||||
|
||||
/* Стиль текста в заголовке (prompt) */
|
||||
#text:selected {
|
||||
color: #ffffff;
|
||||
}
|
||||
56
wofi/style.css
Normal file
56
wofi/style.css
Normal file
@@ -0,0 +1,56 @@
|
||||
|
||||
|
||||
|
||||
window {
|
||||
|
||||
background-color: rgba(26, 27, 38, 0.1);
|
||||
|
||||
border-radius: 15px;
|
||||
|
||||
/* Можно добавить рамку, чтобы скругление было лучше видно */
|
||||
border: 2px solid #f5f5f5;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ---- Поле ввода ---- */
|
||||
#input {
|
||||
margin: 10px;
|
||||
padding: 8px;
|
||||
background-color: rgba(40, 42, 54, 0.9);
|
||||
color: #f5f5f5;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
|
||||
#inner-box {
|
||||
margin: 5px;
|
||||
padding: 10px;
|
||||
background-color: transparent; /
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#text {
|
||||
padding: 5px;
|
||||
color: #f5f5f5;
|
||||
}
|
||||
|
||||
/* ---- Выбранный элемент списка ---- */
|
||||
#entry:selected {
|
||||
background-color: #f5f5f5;
|
||||
color: #0e0e0e;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#entry:selected #text {
|
||||
color: #0e0e0e;
|
||||
}
|
||||
7
wofi/wofi_toggle.sh
Executable file
7
wofi/wofi_toggle.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if pgrep -x wofi > /dev/null; then
|
||||
pkill -x wofi
|
||||
else
|
||||
wofi --show drun
|
||||
fi
|
||||
Reference in New Issue
Block a user