Commit ad9a8d5d authored by Kirill Unitsaev's avatar Kirill Unitsaev

hyprland: update configs

parent 87fafd21
......@@ -4,7 +4,6 @@ exec-once = hyprpaper
exec-once = hypridle
exec-once = waybar
exec-once = swaync
exec-once = hyprpm reload
# Буфер обмена / clipboard
exec-once = wl-paste --type text --watch cliphist store
......
binds {
workspace_back_and_forth = false
workspace_center_on = 1
hide_special_on_workspace_change = true
}
#---------- ЗАПУСК ПРИЛОЖЕНИЙ ---- LAUNCHING APPLICATIONS
......
decoration {
rounding = 15
rounding_power = 4.0
dim_special = 0.3
blur {
noise = 0.0
size = 10
passes = 2
}
shadow {
enabled = false
enabled = true
range = 7
render_power = 4
ignore_window = true
}
}
ecosystem {
no_update_news = true
no_donation_nag = true
}
general {
gaps_in = 4
gaps_out = 12
gaps_in = 8
gaps_out = 8
border_size = 1
no_border_on_floating = true
col.active_border = rgb(7E01FF)
col.inactive_border = rgb(808181)
resize_on_border = true
extend_border_grab_area = 15
layout = dwindle
snap {
enabled = true
window_gap = 10
monitor_gap = 25
border_overlap = false
enabled = false
}
}
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
}
gesture = 2, horizontal, workspace
......@@ -11,9 +11,11 @@ group {
enabled = true
font_family = "FiraCode Nerd Font"
font_size = 8
font_size = 10
stacked = false
gaps_out = 0
rounding = 10
indicator_height = 2
col.active = rgb(7E01FF)
col.inactive = rgb(808181)
......
......@@ -2,6 +2,7 @@
# Этот файл необходим для управления утилитой hypridle.
general {
before_sleep_cmd = hyprctl dispatch dpms off
after_sleep_cmd = hyprctl dispatch dpms on
}
......
......@@ -14,7 +14,7 @@
# Display on all monitors:
# wallpaper = , "file path"
splash = true
splash = false
splash_color = rgb(D8E2EA)
preload = /usr/share/wallpapers/ximper/44.png
......
input {
kb_layout = $kb_layout
kb_options = $kb_options
follow_mouse = 1
kb_layout = $kb_layout
kb_options = $kb_options
follow_mouse = 1
touchpad {
natural_scroll = false
}
touchpad {
natural_scroll = true
scroll_factor = 0.3
clickfinger_behavior = true
drag_lock = true
}
numlock_by_default = true
sensitivity = 0.0
sensitivity = 0.0
}
......@@ -6,12 +6,6 @@ misc {
key_press_enables_dpms = true
animate_mouse_windowdragging = true
allow_session_lock_restore = true
}
render {
explicit_sync = 2
explicit_sync_kms = 2
}
cursor {
......
windowrulev2 = tag +images, class:(org.gnome.NautilusPreviewer)
windowrulev2 = tag +images, title:(Просмотр медиа)
windowrulev2 = tag +images, title:(Media viewer)
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:^(com.saivert.pwvucontrol)$
windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$
windowrulev2 = float, class:^(nmtui)$
windowrulev2 = fullscreen, title:(Просмотр медиа)
windowrulev2 = fullscreen, title:(Media viewer)
#---------- Запуск из панели ---- Launching from the panel
windowrulev2 = size 910 460, class:^(nmtui)$
windowrulev2 = move 52% 5%, class:^(nmtui)$
windowrulev2 = size 530 350, class:^(blueman-manager)$
windowrulev2 = move 71.9% 5%, class:^(blueman-manager)$
windowrulev2 = size 530 350, class:^(com.saivert.pwvucontrol)$
windowrulev2 = move 71.9% 5%, class:^(com.saivert.pwvucontrol)$
windowrule = tag +images, class:org.gnome.NautilusPreviewer
windowrule = tag +images, title:(Просмотр медиа)
windowrule = tag +images, title:Media viewer
windowrule = tag +images, class:imv
windowrule = tag +video, class:mpv
windowrule = tag +video, class:(com.github.rafostar.Clapper)
windowrule = tag +media, tag:images
windowrule = tag +media, tag:video
windowrule = opacity 1.0, tag:media
windowrule = float, tag:images
windowrule = float, class:clipse
windowrule = center, class:clipse
windowrule = size 640 570, class:clipse
windowrule = float,class:org.gnome.FileRoller
windowrule = float,class:blueman-manager
windowrule = float,class:io.github.kaii_lb.Overskride
windowrule = float,class:overskride
windowrule = float,class:nm-connection-editor
windowrule = float,class:com.saivert.pwvucontrol
windowrule = float,class:xdg-desktop-portal-gtk
windowrule = fullscreen, title:(Просмотр медиа)
windowrule = fullscreen, title:(Media viewer)
layerrule = blur, logout_dialog
......@@ -4,9 +4,7 @@ env = HYPRCURSOR_SIZE, 24
#---------- XCursor
env = XCURSOR_THEME, Adwaita
env = XCURSOR_SIZE, 21
env = XCURSOR_SIZE, 24
#---------- gsettings
exec-once = gsettings set org.gnome.desktop.interface cursor-theme Adwaita
exec-once = gsettings set org.gnome.desktop.interface cursor-size 21
#---------- QT
env = QT_STYLE_OVERRIDE, kvantum
{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "right",
"positionY": "top",
"layer": "overlay",
"layer-shell": true,
"cssPriority": "user",
"control-center-width": 380,
"control-center-height": 760,
"control-center-width": 350,
"control-center-height": 740,
"control-center-margin-top": 8,
"control-center-margin-bottom": 8,
"control-center-margin-right": 8,
......@@ -36,7 +38,6 @@
"widgets": [
"menubar#label",
"buttons-grid",
"volume",
"mpris",
"title",
......@@ -44,17 +45,23 @@
"notifications"
],
"widget-config": {
"notifications": {},
"volume": {
"label": "",
"show-per-app": true,
"empty-list-label": "Нет активного источника"
},
"title": {
"text": "Уведомления",
"clear-all-button": true,
"button-text": " 󰎟 "
"button-text": "  Очистить "
},
"dnd": {
"text": "Не беспокоить"
},
"mpris": {
"image-size": 96,
"image-radius": 12
"show-album-art": "always",
"autohide": true
},
"menubar#label": {
"menu#powermode-buttons": {
......@@ -63,15 +70,24 @@
"actions": [
{
"label": " Производительность",
"command": "powerprofilesctl set performance"
"type": "toggle",
"active": true,
"command": "swaync-client -t && powerprofilesctl set performance && swaync-client -t",
"update-command": "sh -c '[[ $(powerprofilesctl get) == \"performance\" ]] && echo true || echo false'"
},
{
"label": " Баланс",
"command": "powerprofilesctl set balanced"
"type": "toggle",
"active": false,
"command": "swaync-client -t && powerprofilesctl set balanced && swaync-client -t",
"update-command": "sh -c '[[ $(powerprofilesctl get) == \"balanced\" ]] && echo true || echo false'"
},
{
"label": " Энергосбережение",
"command": "powerprofilesctl set power-saver"
"type": "toggle",
"active": false,
"command": "swaync-client -t && powerprofilesctl set power-saver && swaync-client -t",
"update-command": "sh -c '[[ $(powerprofilesctl get) == \"power-saver\" ]] && echo true || echo false'"
}
]
},
......@@ -84,30 +100,6 @@
}
]
}
},
"buttons-grid": {
"actions": [
{
"label": "",
"command": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
},
{
"label": "",
"command": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
},
{
"label": "",
"command": "kitty --class nmtui nmtui"
},
{
"label": "󰂯",
"command": "blueman-manager"
},
{
"label": "",
"command": "gtklock"
}
]
}
}
}
......@@ -19,12 +19,15 @@
transition: 200ms;
}
:root {
--mpris-album-art-icon-size: 64px;
}
/* ---------- ЦЕНТР УПРАВЛЕНИЯ ---- CONTROL CENTER */
.control-center {
background: @bg;
border-radius: 15px;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.9);
padding: 10px;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}
.notification-row {
......@@ -178,21 +181,21 @@
/* ----- ЗАГОЛОВОК --- TITLE */
.widget-title {
background: transparent;
padding: 0px;
margin: 10px;
}
.widget-title>label {
margin: 0px 10px;
font-size: 20px;
}
.widget-title > button {
border: unset;
background-color: unset;
border-radius: 1.159rem;
padding: 0.141rem 0.141rem;
margin-right: 0.841rem;
background: @selected_bg;
border-radius: 15px;
padding: 3px 5px 3px 2px;
}
.widget-title > button:hover {
background-color: @selected_bg;
border: 0.5px solid @border;
background: alpha(@selected_bg, 0.5);
border: 1px solid @border;
}
.widget-title > button:active {
......@@ -201,51 +204,72 @@
}
/* ----- НЕ БЕСПОКОИТЬ --- DND */
.widget-dnd {
padding: 0px;
margin: 10px;
margin-top: 0px;
}
.widget-dnd label {
margin: 0px 15px;
font-size: 16px;
color: alpha(@text, 0.8);
}
/* ----- РЯД КНОПОК --- BUTTONS GRID */
.widget-buttons-grid {
padding: 0px 2px;
margin: 5px;
border-radius: 12px;
.widget-notifications {
margin: 0px;
}
/* ----- ГРОМКОСТЬ --- VOLUME */
.widget-volume {
background: @selected_bg;
font-family: FiraCode Nerd Font;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.75);
border-radius: 15px;
padding: 5px;
margin: 10px;
border-radius: 15px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.widget-buttons-grid > flowbox > flowboxchild > button {
border: none;
margin: 4px 10px;
padding: 6px 12px;
.widget-volume .image-button {
background: transparent;
border-radius: 8px;
}
.widget-buttons-grid > flowbox > flowboxchild > button:hover {
background: alpha(@bg, 0.50);
.widget-volume .horizontal label {
padding: 0px 2px 0px 13px;
margin: 0px;
font-size: 32px;
}
/* ----- ПРЕЕР --- MPRIS */
.widget-mpris {
margin: 5px;
border-radius: 15px;
}
.widget-mpris carouselindicatordots {
margin: 0px;
padding: 0px;
}
.widget-mpris .flat.image-button {
margin: 0px;
padding: 0px;
}
.widget-mpris .mpris-background {
background: transparent;
}
.widget-mpris .widget-mpris-player {
margin: 5px;
border-radius: 12px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.75);
}
.widget-mpris .widget-mpris-player .mpris-background {
filter: blur(10px);
border-radius: 15px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.widget-mpris .widget-mpris-player .mpris-overlay {
padding: 15px;
background: @selected_bg;
padding: 5px;
}
.widget-mpris .widget-mpris-player .mpris-overlay .widget-mpris-album-art {
border: 1.3px solid @border;
border-radius: 12px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.75);
border-radius: 15px;
margin: 3px;
box-shadow: none;
}
.widget-mpris .widget-mpris-player .mpris-overlay .widget-mpris-title {
font-weight: bold;
......@@ -254,14 +278,19 @@
.widget-mpris .widget-mpris-player .mpris-overlay .widget-mpris-subtitle {
font-size: 12px;
}
.widget-mpris .widget-mpris-player .mpris-overlay>box>button {
margin: 10px 0px 0px;
.widget-mpris .widget-mpris-player .mpris-overlay .image-button {
padding: 0px 5px 0px 5px;
}
.widget-mpris .widget-mpris-player .mpris-overlay>box>button:hover {
background: alpha(@bg, 0.50);
.widget-mpris .widget-mpris-player .mpris-overlay .image-button:hover {
background: alpha(@bg, 0.3);
}
/* ----- МЕНЮ --- MENU */
.widget-menubar {
margin: 0px;
padding: 5px;
}
.widget-menubar .text-button {
font-family: FiraCode Nerd Font;
background: transparent;
......@@ -273,18 +302,29 @@
background: @selected_bg;
border-radius: 12px;
padding: 10px;
margin: 8px;
margin: 5px;
border-radius: 15px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.75);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.powermode-buttons>button {
.powermode-buttons .text-button {
all: unset;
background: transparent;
border: none;
padding: 5px;
margin: 2px;
border-radius: 15px;
}
.powermode-buttons .text-button:hover {
background: alpha(@bg, 0.3);
}
.powermode-buttons .text-button.toggle:checked {
background: alpha(@bg, 0.4);
}
.powermode-buttons>button:hover {
color: @selected_text;
.powermode-buttons .text-button label {
padding-bottom: 5px;
}
.powermode-buttons .text-button label:hover {
color: alpha(@text, 0.6);
}
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