added hyprland ecosystem configs

parent 9b6444b6
[animation]
blur = true
fade_in = true
[env]
environment = "production"
[general]
clock_format = "24-hour"
[theme]
background_color = "#B0E1D"
font_color = "#7E01FF"
font_size = 160
# This file is required to manage the hypridle utility.
# Этот файл необходим для управления утилитой hypridle.
general {
after_sleep_cmd = hyprctl dispatch dpms on
}
listener {
timeout = 150
on-timeout = brightnessctl -s set 10
on-resume = brightnessctl -r
}
listener {
timeout = 150
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0
on-resume = brightnessctl -rd rgb:kbd_backlight
}
listener {
timeout = 300
on-timeout = gtklock
}
listener {
timeout = 330
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 1800
on-timeout = systemctl suspend
}
#---------- НАСТРОЙКА МОНИТОРОВ ---- SETTING UP MONITORS
monitor=,preferred,auto,auto
#---------- ПЕРЕМЕННЫЕ ---- VARS
$mainMod = SUPER
$terminal = kitty
$filemanager = nemo
#---------- АВТОЗАПУСК ---- AUTOSTART
# Обои / Wallpaper
exec-once = hyprpaper
# Системные утилиты (пожалуйста, не редактируйте) / System utilities (please don't edit)
exec-once = gnome-keyring-daemon --start --components=secrets
exec-once = /usr/libexec/polkit-1/polkit-gnome-authentication-agent-1
exec-once = dbus-update-activation-environment --all
exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# Плагины / Plugins
#plugin = /usr/lib64/hyprland/Hyprspace.so
#plugin = /usr/lib64/hyprland/dynamic-cursors.so
# Утилиты среды рабочего стола / Desktop environment utilities
exec-once = hypridle
exec-once = waybar
exec-once = swaync
exec-once = nwg-dock-hyprland -mb 5 -i 35 -hd 7000 -d
exec-once = hyprpm reload
# Буфер обмена / clipboard
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
# XDG Autostart
# Раскоментируйте, если необходимо / Uncomment if necessary
#exec-once = wm-xdg-autostart
#---------- ПЕРЕМЕННЫЕ ОКРУЖЕНИЯ ---- ENVIRONMENT VARIABLES
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_STYLE_OVERRIDE,kvantum
#NVIDIA
#env = GBM_BACKEND,nvidia-drm
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
#env = LIBVA_DRIVER_NAME,nvidia
#env = WLR_DRM_NO_ATOMIC,1
#---------- РАСКЛАДКА КЛАВИАТУРЫ ---- KEYBOARD LAYOUT
input {
kb_layout = us,ru
kb_options = grp:win_space_toggle
follow_mouse = 1
touchpad {
natural_scroll = false
}
numlock_by_default = true
sensitivity = 0.0
}
#---------- ПРОМЕЖУТКИ, ГРАНИЦЫ, ЦВЕТА ---- GAPS, BORDERS, COLORS
general {
gaps_in = 3
gaps_out = 5
border_size = 2
no_border_on_floating = false
col.active_border = rgb(7E01FF)
col.inactive_border = rgb(808181)
resize_on_border = true
layout = dwindle
}
#---------- УКРАШЕНИЯ ДЛЯ ОКОН ---- WINDOW DECORATIONS
decoration {
rounding = 15
shadow_range = 0
shadow_render_power = 0
col.shadow = rgb(808181)
blur {
noise = 0.0
size = 6
}
}
#---------- АНИМАЦИЯ ---- ANIMATION
animations {
enabled = true
bezier = linear,0,0,1,1
animation = borderangle,1,100,linear,loop
bezier = myBezier, 0.05, 0.9, 0.1, 1.1
animation = windows, 1, 8, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 10, myBezier
}
#---------- НАСТРОЙКА МАКЕТА ---- LAYOUT SETTING
master {
new_status = slaved
}
#---------- ЖЕСТЫ ---- GESTURES
gestures {
workspace_swipe = true
workspace_swipe_distance = 700
workspace_swipe_fingers = 2
workspace_swipe_cancel_ratio = 0.2
workspace_swipe_min_speed_to_force = 5
workspace_swipe_direction_lock = true
workspace_swipe_direction_lock_threshold = 10
workspace_swipe_create_new = true
}
#---------- РАЗНОЕ ---- MISC
misc {
force_default_wallpaper = 0
allow_session_lock_restore = true
}
#---------- ПРАВИЛА РАБОТЫ С ОКНАМИ ---- WINDOW RULES
windowrulev2 = tag +images, class:(org.gnome.NautilusPreviewer)
windowrulev2 = tag +images, title:(Просмотр медиа)
windowrulev2 = tag +images, class:(imv)
windowrulev2 = tag +video, class:(mpv)
windowrulev2 = tag +video, class:(org.gnome.Showtime)
windowrulev2 = tag +media, tag:images
windowrulev2 = tag +media, tag:video
windowrulev2 = opacity 1.0, tag:media
windowrulev2 = float, tag:images
windowrulev2 = float,class:^(org.gnome.FileRoller)$
windowrulev2 = float,class:^(blueman-manager)$
windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$
#---------- ЗАПУСК ПРИЛОЖЕНИЙ ---- LAUNCHING APPLICATIONS
bind = $mainMod, E, exec, $filemanager
bind = $mainMod, RETURN, exec, $terminal
#---------- ГОРЯЧИЕ КЛАВИШИ ---- KEYBOARD SHORTCUTS
bind = $mainMod, Q, killactive,
bind = $mainMod, F, togglefloating,B
bind = $mainMod, F11, fullscreenstate, 2
bind = $mainMod, D, exec, pkill wofi || wofi --show drun
bind = $mainMod, L, exec, wlogout
bind = $mainMod, V, exec, pkill wofi || cliphist-wofi-img | wl-copy
bind = $mainMod, N, exec, swaync-client -t
bind = CTRL, B, exec, pkill -SIGUSR1 waybar
bind = $mainMod, B, exec, pkill -SIGUSR2 waybar
bind = $mainMod CTRL, B, exec, pkill waybar || waybar
# Скриншот монитора / Screenshot of the monitor
bind = , Print, exec, hyprshot -m output -o "$(xdg-user-dir PICTURES)/Снимки экрана" -f "снимок-$(date +%s).png" -z
# Скриншот региона / Screenshot of the region
bind = $mainMod, Print, exec, hyprshot -m region -o "$(xdg-user-dir PICTURES)/Снимки экрана" -f "снимок-$(date +%s).png" -z
# Скриншот окна / Screenshot of the window
bind = SHIFT, Print, exec, hyprshot -m window -o "$(xdg-user-dir PICTURES)/Снимки экрана" -f "снимок-$(date +%s).png" -z
#---------- УПРАВЛЕНИЕ ГРОМКОСТЬЮ ---- VOLUME CONTROL
binde= , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
binde= , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
binde= , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
#---------- УПРАВЛЕНИЕ ЯРКОСТЬЮ ---- BRIGHTNESS CONTROL
bind = , XF86MonBrightnessUp, exec, brightnessctl s +5%
bind = , XF86MonBrightnessDown, exec, brightnessctl s 5%-
#---------- ПЕРЕКЛЮЧЕНИЕ ФОКУСА ---- SWITCHING THE FOCUS
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = ALT,Tab,cyclenext
bind = ALT,Tab,bringactivetotop
bind = $mainMod CTRL ALT, left, movewindow, l
bind = $mainMod CTRL ALT, right, movewindow, r
bind = $mainMod CTRL ALT, up, movewindow, u
bind = $mainMod CTRL ALT, down, movewindow, d
#---------- ПЕРЕКЛЮЧЕНИЕ РАБОЧИХ ПРОСТРАНСТВ ---- SWITCHING WORKSPACES
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod ALT, left, workspace, -1
bind = $mainMod ALT, right, workspace, +1
#---------- ПЕРЕМЕЩЕНИЕ ОКНА В ДРУГОЕ РАБОЧЕЕ ПРОСТРАНСТВО ---- MOVING A WINDOW TO ANOTHER WORKSPACE
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
#---------- ПЕРЕМЕЩЕНИЕ С ПОМОЩЬЮ КОЛЕСИКА МЫШИ ---- NAVIGATE USING THE MOUSE WHEEL
bind = $mainMod, mouse_up, workspace, -1
bind = $mainMod, mouse_down, workspace, +1
#---------- ПЕРЕМЕЩЕНИЕ И ИЗМЕНЕНИЕ РАЗМЕРА ОКОН С ПОМОЩЬЮ МЫШИ ---- MOVING AND RESIZING WINDOWS WITH THE MOUSE
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
#---------- ИЗМЕНЕНИЕ РАЗМЕРА ОКОН ---- RESIZING WINDOWS
bind = $mainMod CTRL, left, resizeactive, -50 0
bind = $mainMod CTRL, right, resizeactive, 50 0
bind = $mainMod CTRL, up, resizeactive, 0 -50
bind = $mainMod CTRL, down, resizeactive, 0 50
#---------- ЗАКРЕПИТЬ ПЛАВАЮЩИЕ ОКНО ---- PIN A FLOATING WINDOW
bind = $mainMod, P, pin
#---------- НАСТРОЙКИ ПЛАГИНОВ ---- PLUGIN SETTINGS
#bindr = SUPER, A, overview:toggle
plugin {
overview {
dragAlpha=1
onBottom=false
workspaceMargin=10
reservedArea=0
centerAligned=true
drawActiveWorkspace=true
gapsIn=5
gapsOut=10
showEmptyWorkspace=false
}
}
# Здесь был Ёжик <3
# There was a Hedgehog here <3
#
# ..::::::::.
# :::::::::::::
# /. `:::::::::::
# o__,_::::::::::'
# Этот файл необходим для настройки отображения обоев.
# Загрузка обоев:
# preload = "путь к файлу"
# Отображение на мониторе:
# wallpaper = "монитор","путь к файлу"
# Отображение на всех мониторах:
# wallpaper = ,"путь к файлу"
# This file is required to configure the wallpaper display.
# Wallpaper preload:
# preload = "file path"
# Display on the monitor:
# wallpaper = "monitor","file path"
# Display on all monitors:
# wallpaper = , "file path"
preload = /usr/share/wallpapers/ximper/44.png
wallpaper = ,/usr/share/wallpapers/ximper/44.png
# Шрифты / Fonts
font_size 11.5
font_family FiraCode Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
# Текстовый курсор / Text cursor
cursor #7E01FF
cursor_shape beam
cursor_shape_unfocused hollow
cursor_beam_thickness 1.9
cursor_blink_interval 0.7
cursor_stop_blinking_after 10.0
# Обратная прокрутка / Scrollback
scrollback_lines 4000
scrollback_indicator_opacity 1.0
scrollback_fill_enlarged_window yes
wheel_scroll_multiplier 3.0
# Мышь / Mouse
url_color #7E01FF
url_style straight
open_url_with default
show_hyperlink_targets yes
# Настройка производительности / Performance tuning
input_delay 3
sync_to_monitor yes
# Терминальный звонок / Terminal bell
enable_audio_bell yes
window_alert_on_bell yes
# Расположение окон / Window layout
window_padding_width 5
# Панель вкладок / Tab bar
tab_bar_style fade
tab_bar_edge top
tab_bar_align center
tab_bar_min_tabs 2
tab_switch_strategy previous
tab_activity_symbol " ● "
tab_bar_background #060811
active_tab_foreground #a5b6cf
active_tab_background #060811
inactive_tab_foreground #4f5572
inactive_tab_background #060811
active_tab_font_style normal
inactive_tab_font_style normal
# Цветовая схема / Color scheme
background #0B0E1D
foreground #98b0d3
selection_foreground #93cee9
selection_background #1c1e27
# Чёрный / Black
color0 #151720
color8 #4f5572
# Красный / Red
color1 #dd6777
color9 #e26c7c
# Зелёный / Green
color2 #90ceaa
color10 #95d3af
# Жёлтый / Yellow
color3 #ecd3a0
color11 #f1d8a5
# Синий / Blue
color4 #86aaec
color12 #8baff1
# Пурпурный / Magenta
color5 #c296eb
color13 #c79bf0
# Голубой / Cyan
color6 #93cee9
color14 #98d3ee
# Белый / White
color7 #cbced3
color15 #d0d3d8
background_opacity 0.8
# Сочетания клавиш / Keyboard shortcuts
map kitty_mod+t new_tab
map kitty_mod+n new_window
map kitty_mod+1 goto_tab 1
map kitty_mod+2 goto_tab 2
map kitty_mod+3 goto_tab 3
map kitty_mod+4 goto_tab 4
map kitty_mod+5 goto_tab 5
map kitty_mod+6 goto_tab 6
map kitty_mod+7 goto_tab 7
map kitty_mod+8 goto_tab 8
map kitty_mod+9 goto_tab 9
map kitty_mod+0 goto_tab 10
confirm_os_window_close 0
window {
background: #0B0E1D;
border: 1px solid #5D12F3;
border-radius: 15px
}
#box {
padding: 5px
}
/*
#active {
border-bottom: solid 1px;
border-color: rgb(112, 112, 112)
}
*/
button,
image {
background: none;
border-style: none;
box-shadow: none;
color: #999
}
button {
padding: 4px;
margin-left: 4px;
margin-right: 4px;
color: #eee;
font-size: 12px
}
button:hover {
background-color: #101322;
border-radius: 10px;
}
button:focus {
box-shadow: none
}
{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "right",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"cssPriority": "user",
"control-center-width": 380,
"control-center-height": 760,
"control-center-margin-top": 2,
"control-center-margin-bottom": 2,
"control-center-margin-right": 1,
"control-center-margin-left": 0,
"notification-2fa-action": true,
"notification-inline-replies": false,
"notification-window-width": 400,
"notification-icon-size": 45,
"notification-body-image-height": 160,
"notification-body-image-width": 200,
"timeout": 4,
"timeout-low": 2,
"timeout-critical": 6,
"fit-to-screen": false,
"keyboard-shortcuts": true,
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": false,
"script-fail-notify": true,
"widgets": [
"menubar#label",
"buttons-grid",
"volume",
"mpris",
"title",
"dnd",
"notifications"
],
"widget-config": {
"title": {
"text": "Уведомления",
"clear-all-button": true,
"button-text": " 󰎟 "
},
"dnd": {
"text": "Не беспокоить"
},
"mpris": {
"image-size": 96,
"image-radius": 12
},
"volume": {
"label": "󰕾",
"show-per-app": true,
"show-per-app-label": true,
"show-per-app-icon": true
},
"menubar#label": {
"menu#powermode-buttons": {
"label": " ",
"position": "left",
"actions": [
{
"label": " Производительность",
"command": "powerprofilesctl set performance"
},
{
"label": " Баланс",
"command": "powerprofilesctl set balanced"
},
{
"label": " Энергосбережение",
"command": "powerprofilesctl set power-saver"
}
]
},
"buttons#topbar-buttons": {
"position": "right",
"actions": [
{
"label": " ",
"command": "wlogout"
}
]
}
},
"buttons-grid": {
"actions": [
{
"label": " 󰀑 ",
"type": "toggle",
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && nmcli radio wwan on || nmcli radio wwannmnm off'",
"update-command": "sh -c '[[ $(nmcli radio wwan) == \"enabled\" ]] && echo true || echo false'"
},
{
"label": "  ",
"type": "toggle",
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && nmcli radio wifi on || nmcli radio wifi off'",
"update-command": "sh -c '[[ $(nmcli radio wifi) == \"enabled\" ]] && echo true || echo false'"
},
{
"label": "  ",
"type": "toggle",
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && bluetoothctl power on || bluetoothctl power off'",
"update-command": "sh -c '[[ $(bluetoothctl show | grep 'PowerState: on') ]] && echo true || echo false'"
},
{
"label": "  "
}
]
}
}
}
\ No newline at end of file
@define-color bg #0B0E1D;
@define-color selected_bg #101322;
@define-color hover_bg #191b27;
@define-color text #D8E2EA;
@define-color selected_text #a6a7ac;
@define-color border #7E01FF;
@define-color error #bd2828;
@define-color success #e89b0b;
@define-color accent #7E01FF;
@define-color unfocused #f85656;
* {
font-size: 14px;
}
.notification {
border-radius: 15px;
background-color: @bg
}
.notification-content {
padding: 10px;
background-color: @bg;
}
.notification-default-action:hover,
.notification-action:hover {
-gtk-icon-effect: none;
background: @selected_bg;
}
.body-image {
margin-top: 6px;
background-color: @bg;
border-radius: 12px;
}
.summary {
color: @noti-text-color;
text-shadow: none;
}
.time {
color: @noti-text-color;
text-shadow: none;
margin-right: 18px;
}
.body {
background: @bg;
color: @text;
text-shadow: none;
}
.control-center {
border-radius: 15px;
-gtk-outline-radius: 1.705rem;
border: 1px solid @border;
margin: 5px;
background-color: @bg;
padding: 5px;
}
.control-center-dnd {
border-radius: 15px;
background: @bg;
border: 1px solid @border;
}
.control-center-dnd slider:checked {
background: @border;
border-radius: 15px;
}
/* title widget */
.widget-title {
padding: 0.341rem;
margin: unset;
}
.widget-title label {
font-size: 1.364rem;
color: @text;
margin-left: 0.941rem;
}
.widget-title button {
border: unset;
background-color: unset;
border-radius: 1.159rem;
-gtk-outline-radius: 1.159rem;
padding: 0.141rem 0.141rem;
margin-right: 0.841rem;
}
.widget-title button label {
font-size: 1.0409rem;
color: @text;
margin-right: 0.841rem;
font-family: FiraCode Nerd Font;
}
.widget-title button:hover {
background-color: @selected_bg;
}
.widget-title button:active {
background-color: @selected_bg;
}
/* Buttons widget */
.widget-buttons-grid {
border-radius: 15px;
padding: unset;
background-color: @selected_bg;
font-family: FiraCode Nerd Font;
}
.widget-buttons-grid>flowbox {
padding: unset;
}
.widget-buttons-grid>flowbox>flowboxchild>button {
border: none;
background-color: unset;
min-width: 7.5rem;
min-height: 2.9rem;
padding: unset;
margin: unset;
}
.widget-buttons-grid>flowbox>flowboxchild>button label {
font-size: 20px;
color: @text;
}
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
background-color: @hover_bg;
}
.widget-buttons-grid>flowbox>flowboxchild>button:checked {
background-color: @accent;
}
.widget-buttons-grid>flowbox>flowboxchild>button:checked label {
color: @bg;
}
/* Volume widget */
.widget-volume {
background-color: @selected_bg;
padding: 8px;
margin: 8px;
-gtk-outline-radius: 1.159rem;
-gtk-outline-radius: 1.159rem;
font-family: FiraCode Nerd Font;
}
.widget-volume trough {
border: unset;
background-color: @selected_text;
}
.widget-volume trough slider {
color: unset;
background-color: @border;
border-radius: 100%;
min-height: 1.25rem;
}
/* Mpris widget */
.widget-mpris {
background-color: @selected_bg;
padding: 8px;
margin: 8px;
border-radius: 15px;
}
.widget-mpris-player {
padding: 0px;
margin: 0px;
}
.widget-mpris-title {
font-weight: bold;
font-size: 18px;
}
.widget-mpris-subtitle {
font-size: 15px;
}
.widget-menubar {
font-family: FiraCode Nerd Font;
}
.powermode-buttons {
background-color: @bg;
padding: 8px;
margin: 8px;
border-radius: 15px;
}
.powermode-buttons>button {
background: transparent;
border: none;
}
.powermode-buttons>button:hover {
color: @selected_text;
}
{
"layer": "top",
"position": "top",
"margin-left": 5,
"margin-top": 5,
"margin-right": 5,
"height": 36,
"spacing": 4,
"exclusive": true,
"gtk-layer-shell": true,
"passthrough": false,
"fixed-center": true,
"include": [
"~/.config/waybar/modules.json"
],
"modules-left": [
"custom/sep",
"image#menu",
"custom/sep",
"custom/media"
],
"modules-center": [
"hyprland/workspaces",
"custom/sep",
"tray"
],
"modules-right": [
"custom/clipboard",
"backlight",
"idle_inhibitor",
"custom/sep",
"hyprland/language",
"custom/sep",
"bluetooth",
"network",
"battery",
"clock",
"custom/sep",
"custom/notification",
"custom/sep"
]
}
{
"image#menu": {
"path": "/usr/share/pixmaps/ximperlinux.svg",
"size": 20,
"on-click": "pkill wofi || wofi --show drun"
},
"idle_inhibitor": {
"format": " {icon}",
"format-icons": {
"activated": "󰅶 ",
"deactivated": "󰾫 "
},
"tooltip-format-activated": "Кофеин: активен\nРежим ожидания: отключен",
"tooltip-format-deactivated": "Кофеин: отключен\nРежим ожидания: активен"
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"format-icons": {
"Playing": " ",
"Paused": " "
},
"max-length": 70,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl next",
"on-scroll-down": "playerctl previous"
},
"hyprland/workspaces": {
"active-only": false,
"all-outputs": true,
"format": "{icon}",
"show-special": false,
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"format-icons": {
"active": "",
"default": ""
}
},
"tray": {
"icon-size": 20,
"show-passive-items": true,
"spacing": 10
},
"custom/clipboard": {
"tooltip": false,
"on-click": "pkill wofi || cliphist-wofi-img | wl-copy",
"on-click-right": "rm -f ~/.cache/cliphist/db",
"format": " "
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"on-scroll-up": "brightnessctl s +5%",
"on-scroll-down": "brightnessctl s 5%-"
},
"pulseaudio#volume": {
"scroll-step": 5,
"format": "{icon} {volume}%",
"format-bluetooth": " {icon} {volume}%",
"format-muted": " Мут",
"tooltip-format": "{desc}",
"format-icons": {
"headphone": " ",
"default": [
" ",
" ",
" "
]
},
"on-click": "pwvucontrol",
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume}%",
"format-source-muted": " Мут",
"on-click": "pwvucontrol",
"on-click-right": "wpctl set-mute @DEFAULT_SOURCE@ toggle",
"on-scroll-up": "wpctl set-volume @DEFAULT_SOURCE@ 10%+ -l 1.0",
"on-scroll-down": "wpctl set-volume @DEFAULT_SOURCE@ 10%- -l 1.0",
"tooltip-format": "{source_desc}"
},
"hyprland/language": {
"format": "{}",
"format-en": "EN",
"format-ru": "RU"
},
"bluetooth": {
"format": "",
"format-disabled": "󰂳 ",
"format-off": "󰂳 ",
"format-disconnected": "󰂲 ",
"format-connected": "󰂱 {num_connections}",
"tooltip": true,
"tooltip-format": "",
"tooltip-format-disabled": "󰂳 Отключено",
"tooltip-format-off": "󰂳 Выключено",
"tooltip-format-connected": "{device_enumerate}",
"tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%",
"on-click-right": "blueman-manager"
},
"network": {
"tooltip": true,
"format-wifi": " ",
"rotate": 0,
"format-ethernet": "󰈀 ",
"tooltip-format": "Сеть: <b>{essid}</b>\nУровень сигнала: <b>{signaldBm}dBm ({signalStrength}%)</b>\nЧастота: <b>{frequency}MHz</b>\nИнтерфейс: <b>{ifname}</b>\nIP: <b>{ipaddr}/{cidr}</b>\nШлюз: <b>{gwaddr}</b>\nМаска сети: <b>{netmask}</b>",
"format-linked": "󰈀 {ifname} (No IP)",
"format-disconnected": "󰖪 ",
"tooltip-format-disconnected": "Нет соединения",
"format-alt": "<span> {bandwidthDownBytes}</span> <span>  {bandwidthUpBytes}</span>",
"interval": 2,
"on-click-right": "kitty nmtui"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"rotate": 0,
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": [
"󰂎",
"󰁺",
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
]
},
"clock": {
"format": "{:%H:%M}",
"tooltip-format": "<tt><big>{calendar}</big></tt>",
"on-click": "swaync-client -t -sw",
"calendar": {
"mode": "month",
"weeks-pos": "right",
"format": {
"months": "<span color='#D8E9DE'><b>{}</b></span>",
"days": "<span color='#D8E9DE'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
}
},
"custom/notification": {
"format": "{} {icon} ",
"format-icons": {
"notification": " <span foreground='red'><sup></sup></span>",
"none": " ",
"dnd-notification": " <span foreground='red'><sup></sup></span>",
"dnd-none": " ",
"inhibited-notification": " <span foreground='red'><sup></sup></span>",
"inhibited-none": " ",
"dnd-inhibited-notification": " <span foreground='red'><sup></sup></span>",
"dnd-inhibited-none": " "
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"custom/sep": {
"format": " ",
"tooltip": false
}
}
/*
раскомментируйте необходимый блок
*/
/*Цвета темы GTK*/
/*
@define-color bg @headerbar_bg_color;
@define-color selected_bg @view_bg_color;
@define-color text @headerbar_fg_color;
@define-color selected_text @accent_color;
@define-color border @dark_2;
@define-color error @error_bg_color;
@define-color success @warning_bg_color;
@define-color accent @accent_bg_color;
@define-color unfocused @destructive_color;
*/
/*Цвета темы Ximper*/
@define-color bg #0B0E1D;
@define-color selected_bg #101322;
@define-color text #D8E2EA;
@define-color selected_text #a6a7ac;
@define-color border #7E01FF;
@define-color error #bd2828;
@define-color success #e89b0b;
@define-color accent #081BFE;
@define-color unfocused #f85656;
/* Пользовательские цвета
@define-color bg ;
@define-color selected_bg ;
@define-color text ;
@define-color selected_text ;
@define-color border ;
@define-color error ;
@define-color success ;
@define-color accent ;
@define-color unfocused ;
*/
* {
min-height: 0;
font-size: 14px;
font-family: FiraCode Nerd Font;
font-weight: 500;
}
window#waybar {
border: 1px solid @border;
transition-property: background-color;
transition-duration: 0.8s;
background-color: @bg;
border-radius: 15px;
}
window#waybar.hidden {
opacity: 0.2;
}
#clock,
#pulseaudio,
#image,
#tray,
#network,
#bluetooth,
#battery,
#language,
#custom-media,
#taskbar,
#custom-clipboard,
#custom-notification,
#backlight,
#idle_inhibitor,
#workspaces {
min-height: 0;
border-radius: 12px;
margin: 2px 4px;
color: @text;
}
#workspaces button {
color: @text;
border-radius: 25px;
}
#workspaces button:hover {
color: @selected_text;
background: @selected_bg;
box-shadow: inherit;
text-shadow: inherit;
}
#workspaces button.active {
color: @accent;
}
#workspaces button.urgent {
color: @success;
}
#pulseaudio.volume.muted {
color: @unfocused;
}
#pulseaudio.microphone.source-muted {
color: @unfocused;
}
#image {
border: none;
background-color: @bg
}
tooltip {
border-radius: 8px;
border: 1px solid @border;
background: @selected_bg;
color: @text
}
tooltip label {
color: @text
}
/*
раскомментируйте необходимый блок
*/
/*Цвета темы GTK*/
/*
@define-color bg @light_3;
@define-color selected_bg @view_bg_color;
@define-color text @headerbar_fg_color;
@define-color selected_text @accent_color;
@define-color border @dark_2;
@define-color error @error_bg_color;
@define-color success @warning_bg_color;
@define-color accent @accent_bg_color;
@define-color unfocused @destructive_color;
*/
/*Цвета темы Ximper*/
@define-color bg #c2c2c2;
@define-color selected_bg #a3a3a3;
@define-color text #020305;
@define-color selected_text #2f2e2e;
@define-color border #7E01FF;
@define-color error #ff0000;
@define-color success #f2a008;
@define-color accent #081BFE;
@define-color unfocused #e52323;
/* Пользовательские цвета
@define-color bg ;
@define-color selected_bg ;
@define-color text ;
@define-color selected_text ;
@define-color border ;
@define-color error ;
@define-color success ;
@define-color accent ;
@define-color unfocused ;
*/
* {
min-height: 0;
font-size: 14px;
font-family: FiraCode Nerd Font;
font-weight: 500;
}
window#waybar {
border: 2px solid @border;
transition-property: background-color;
transition-duration: 0.8s;
background-color: @bg;
border-radius: 15px;
}
window#waybar.hidden {
opacity: 0.2;
}
#clock,
#pulseaudio,
#image,
#tray,
#network,
#bluetooth,
#battery,
#language,
#custom-media,
#taskbar,
#custom-clipboard,
#custom-notification,
#backlight,
#idle_inhibitor,
#workspaces {
min-height: 0;
border-radius: 12px;
margin: 2px 4px;
color: @text;
}
#workspaces button {
color: @text;
border-radius: 25px;
}
#workspaces button:hover {
color: @selected_text;
background: @selected_bg;
box-shadow: inherit;
text-shadow: inherit;
}
#workspaces button.active {
color: @accent;
}
#workspaces button.urgent {
color: @success;
}
#pulseaudio.volume.muted {
color: @unfocused;
}
#pulseaudio.microphone.source-muted {
color: @unfocused;
}
#image {
border: none;
background-color: @bg
}
tooltip {
border-radius: 8px;
border: 1px solid @border;
background: @selected_bg;
color: @text
}
tooltip label {
color: @text
}
{
"label" : "lock",
"action" : "gtklock",
"text": "Заблокировать"
}
{
"label" : "hibernate",
"action" : "systemctl hibernate",
"text": "Гибернация"
}
{
"label" : "logout",
"action" : "loginctl terminate-user $USER",
"text": "Выйти"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text": "Выключение"
}
{
"label" : "suspend",
"action" : "systemctl suspend",
"text": "Сон"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text": "Перезагрузка"
}
* {
background-image: none;
box-shadow: none;
}
window {
background-color: rgba(12, 12, 12, 0.9);
}
button {
border-radius: 0;
border-color: #101322;
text-decoration-color: #FFFFFF;
color: #FFFFFF;
background-color: #0B0E1D;
border-style: solid;
border-width: 1px;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
font-size: 17px;
}
button:focus, button:active, button:hover {
background-color: #371c77;
outline-style: none;
}
#lock {
border-radius: 15px 0px 0px 0px;
background-image: image(url("/usr/share/wlogout/icons/lock.png"));
}
#logout {
background-image: image(url("/usr/share/wlogout/icons/logout.png"));
}
#suspend {
border-radius: 0px 15px 0px 0px;
background-image: image(url("/usr/share/wlogout/icons/suspend.png"));
}
#hibernate {
border-radius: 0px 0px 0px 15px;
background-image: image(url("/usr/share/wlogout/icons/hibernate.png"));
}
#shutdown {
background-image: image(url("/usr/share/wlogout/icons/shutdown.png"));
}
#reboot {
border-radius: 0px 0px 15px 0px;
background-image: image(url("/usr/share/wlogout/icons/reboot.png"));
}
width=35%
height=35%
location=center
show=drun
prompt=Search...
filter_rate=100
allow_markup=true
no_actions=false
halign=fill
orientation=vertical
content_halign=fill
insensitive=true
allow_images=true
image_size=32
gtk_dark=true
layer=overlay
window {
margin: 1px;
border: 10px solid #7E01FF;
border-radius: 13px;
}
#input {
margin: 5px;
border-color: #7E01FF;
color: #f8f8f2;
border-radius: 11px;
background-color: #101322;
}
#inner-box {
margin: 5px;
background-color: #0B0E1D;
}
#scroll {
margin: 0px;
border: none;
}
#outer-box {
margin: 3px;
padding: 10px;
background-color: #0B0E1D;
border-radius: 10px;
}
#text {
margin: 5px;
color: #c0caf5;
}
#entry:selected {
background-color: #101322;
border-radius: 13px;
border: 1px solid #7E01FF;
}
#entry:selected * {
background-color: #101322;
}
#text:selected {
text-decoration-color: ##D8E2EA;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment