update of all hyprland configs

parent 5f0334bd
...@@ -4,8 +4,6 @@ exec-once = hyprpaper ...@@ -4,8 +4,6 @@ exec-once = hyprpaper
exec-once = hypridle exec-once = hypridle
exec-once = waybar exec-once = waybar
exec-once = swaync exec-once = swaync
exec-once = hyprpm reload
# Буфер обмена / clipboard # Буфер обмена / clipboard
exec-once = wl-paste --type text --watch cliphist store exec-once = clipse -listen
exec-once = wl-paste --type image --watch cliphist store
...@@ -14,7 +14,7 @@ bind = $mainMod, F11, fullscreenstate, 2 ...@@ -14,7 +14,7 @@ bind = $mainMod, F11, fullscreenstate, 2
bind = $mainMod, D, exec, pkill wofi || wofi --show drun bind = $mainMod, D, exec, pkill wofi || wofi --show drun
bind = $mainMod, L, exec, wlogout -b 5 -T 300 -B 300 bind = $mainMod, L, exec, wlogout -b 5 -T 300 -B 300
bind = $mainMod, V, exec, pkill wofi || cliphist-wofi | wl-copy bind = $mainMod, V, exec, pkill clipse || kitty clipse
bind = $mainMod, N, exec, swaync-client -t bind = $mainMod, N, exec, swaync-client -t
bind = CTRL_SHIFT, L, exec, hyprmag bind = CTRL_SHIFT, L, exec, hyprmag
bind = CTRL_SHIFT, P, exec, hyprpicker -a bind = CTRL_SHIFT, P, exec, hyprpicker -a
......
decoration { decoration {
rounding = 15 rounding = 15
rounding_power = 4.0
dim_special = 0.3
blur { blur {
noise = 0.0 noise = 0.0
size = 10 size = 10
passes = 2
} }
shadow { shadow {
enabled = false enabled = true
range = 7
render_power = 4
ignore_window = true
} }
} }
...@@ -5,3 +5,4 @@ env = XDG_SESSION_DESKTOP,Hyprland ...@@ -5,3 +5,4 @@ env = XDG_SESSION_DESKTOP,Hyprland
env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb env = QT_QPA_PLATFORM,wayland;xcb
env = QT_STYLE_OVERRIDE,kvantum env = QT_STYLE_OVERRIDE,kvantum
env = QT_QPA_PLATFORMTHEME,qt6ct
general { general {
gaps_in = 4 gaps_in = 8
gaps_out = 12 gaps_out = 8
border_size = 1 border_size = 1
no_border_on_floating = true no_border_on_floating = true
col.active_border = rgb(7E01FF) col.active_border = rgb(7E01FF)
col.inactive_border = rgb(808181) col.inactive_border = rgb(808181)
resize_on_border = true resize_on_border = true
extend_border_grab_area = 15
layout = dwindle layout = dwindle
snap { snap {
enabled = true enabled = false
window_gap = 10
monitor_gap = 25
border_overlap = false
} }
} }
gestures { gestures {
workspace_swipe = true workspace_swipe = true
workspace_swipe_distance = 700 workspace_swipe_touch = true
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 workspace_swipe_create_new = true
workspace_swipe_fingers = 3
workspace_swipe_distance = 750
workspace_swipe_min_speed_to_force = 10
workspace_swipe_cancel_ratio = 0.2
} }
...@@ -11,9 +11,11 @@ group { ...@@ -11,9 +11,11 @@ group {
enabled = true enabled = true
font_family = "FiraCode Nerd Font" 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.active = rgb(7E01FF)
col.inactive = rgb(808181) col.inactive = rgb(808181)
......
# https://wiki.ximperlinux.ru/ru/hyprland/hypr-ecosystem/hypridle
# This file is required to manage the hypridle utility. # This file is required to manage the hypridle utility.
# Этот файл необходим для управления утилитой hypridle. # Этот файл необходим для управления утилитой hypridle.
general { general {
lock_cmd = gtklock -d -b /usr/share/wallpapers/ximper/66.png -HS
before_sleep_cmd = hyprctl dispatch dpms off
after_sleep_cmd = hyprctl dispatch dpms on after_sleep_cmd = hyprctl dispatch dpms on
} }
...@@ -19,7 +23,7 @@ listener { ...@@ -19,7 +23,7 @@ listener {
listener { listener {
timeout = 300 timeout = 300
on-timeout = gtklock on-timeout = loginctl lock-session
} }
listener { listener {
......
# https://wiki.ximperlinux.ru/ru/hyprland/hypr-ecosystem/hyprpaper
# Этот файл необходим для настройки отображения обоев. # Этот файл необходим для настройки отображения обоев.
# Загрузка обоев: # Загрузка обоев:
# preload = "путь к файлу" # preload = "путь к файлу"
......
...@@ -4,9 +4,10 @@ input { ...@@ -4,9 +4,10 @@ input {
follow_mouse = 1 follow_mouse = 1
touchpad { touchpad {
natural_scroll = false natural_scroll = true
drag_lock = true
} }
numlock_by_default = true numlock_by_default = false
sensitivity = 0.0 sensitivity = 0.0
} }
...@@ -4,9 +4,9 @@ misc { ...@@ -4,9 +4,9 @@ misc {
mouse_move_enables_dpms = true mouse_move_enables_dpms = true
key_press_enables_dpms = true key_press_enables_dpms = true
animate_mouse_windowdragging = true animate_mouse_windowdragging = true
allow_session_lock_restore = true allow_session_lock_restore = true
} }
render { render {
...@@ -16,7 +16,7 @@ render { ...@@ -16,7 +16,7 @@ render {
cursor { cursor {
sync_gsettings_theme = true sync_gsettings_theme = true
no_hardware_cursors = 2 # NVIDIA no_hardware_cursors = 1
hotspot_padding = 1 hotspot_padding = 1
persistent_warps = true persistent_warps = true
zoom_factor = 1.0 zoom_factor = 1.0
......
...@@ -7,15 +7,22 @@ bindr = SUPER, A, overview:toggle ...@@ -7,15 +7,22 @@ bindr = SUPER, A, overview:toggle
plugin { plugin {
overview { overview {
panelColor=rgb(0B0E1D)
panelBorderColor=rgb(7E01FF)
dragAlpha=1 dragAlpha=1
disableBlur=true
panelHeight=180
panelBorderWidth=1
onBottom=false onBottom=false
workspaceMargin=10 workspaceMargin=10
showSpecialWorkspace=false
reservedArea=0 reservedArea=0
centerAligned=true centerAligned=true
drawActiveWorkspace=true drawActiveWorkspace=true
gapsIn=5 gapsIn=5
gapsOut=10 gapsOut=10
showEmptyWorkspace=false showEmptyWorkspace=false
affectStrut=false
} }
} }
windowrulev2 = tag +images, class:(org.gnome.NautilusPreviewer) windowrule = tag +images, class:(org.gnome.NautilusPreviewer)
windowrulev2 = tag +images, title:(Просмотр медиа) windowrule = tag +images, title:(Просмотр медиа)
windowrulev2 = tag +images, title:(Media viewer) windowrule = tag +images, title:(Media viewer)
windowrulev2 = tag +images, class:(imv) windowrule = tag +images, class:(imv)
windowrulev2 = tag +video, class:(mpv) windowrule = tag +video, class:(mpv)
windowrulev2 = tag +video, class:(org.gnome.Showtime) windowrule = tag +video, class:(org.gnome.Showtime)
windowrulev2 = tag +media, tag:images windowrule = tag +media, tag:images
windowrulev2 = tag +media, tag:video windowrule = tag +media, tag:video
windowrulev2 = opacity 1.0, tag:media windowrule = opacity 1.0, tag:media
windowrulev2 = float, tag:images windowrule = float, tag:images
windowrulev2 = float,class:^(org.gnome.FileRoller)$ windowrule = float,class:^(org.gnome.FileRoller)$
windowrulev2 = float,class:^(blueman-manager)$ windowrule = float,class:^(blueman-manager)$
windowrulev2 = float,class:^(nm-connection-editor)$ windowrule = float,class:^(nm-connection-editor)$
windowrulev2 = float,class:^(com.saivert.pwvucontrol)$ windowrule = float,class:^(com.saivert.pwvucontrol)$
windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$ windowrule = float,class:^(xdg-desktop-portal-gtk)$
windowrulev2 = float, class:^(nmtui)$
windowrule = fullscreen, title:(Просмотр медиа)
windowrulev2 = fullscreen, title:(Просмотр медиа) windowrule = fullscreen, title:(Media viewer)
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)$
layerrule = blur, logout_dialog layerrule = blur, logout_dialog
...@@ -4,7 +4,7 @@ env = HYPRCURSOR_SIZE, 24 ...@@ -4,7 +4,7 @@ env = HYPRCURSOR_SIZE, 24
#---------- XCursor #---------- XCursor
env = XCURSOR_THEME, Adwaita env = XCURSOR_THEME, Adwaita
env = XCURSOR_SIZE, 21 env = XCURSOR_SIZE, 24
#---------- gsettings #---------- gsettings
......
# Шрифты / Fonts # Шрифты / Fonts
font_size 11.5 font_size 11
font_family FiraCode Nerd Font font_family FiraCode Nerd Font
bold_font auto bold_font auto
italic_font auto italic_font auto
...@@ -15,7 +15,7 @@ cursor_blink_interval 0.7 ...@@ -15,7 +15,7 @@ cursor_blink_interval 0.7
cursor_stop_blinking_after 10.0 cursor_stop_blinking_after 10.0
# Обратная прокрутка / Scrollback # Обратная прокрутка / Scrollback
scrollback_lines 4000 scrollback_lines 7000
scrollback_indicator_opacity 1.0 scrollback_indicator_opacity 1.0
scrollback_fill_enlarged_window yes scrollback_fill_enlarged_window yes
wheel_scroll_multiplier 3.0 wheel_scroll_multiplier 3.0
...@@ -86,7 +86,7 @@ color14 #98d3ee ...@@ -86,7 +86,7 @@ color14 #98d3ee
color7 #cbced3 color7 #cbced3
color15 #d0d3d8 color15 #d0d3d8
background_opacity 0.85 background_opacity 0.70
# Сочетания клавиш / Keyboard shortcuts # Сочетания клавиш / Keyboard shortcuts
map kitty_mod+t new_tab map kitty_mod+t new_tab
......
...@@ -94,16 +94,16 @@ ...@@ -94,16 +94,16 @@
}, },
{ {
"label": "", "label": "",
"command": "kitty --class nmtui nmtui" "command": "kitty nmtui"
}, },
{ {
"label": "󰂯", "label": "󰂯",
"command": "blueman-manager" "command": "blueman-manager"
}, },
{ {
"label": "", "label": "",
"command": "gtklock" "command": "loginctl lock-session"
} }
] ]
} }
} }
......
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"margin-left": 12, "margin-left": 8,
"margin-top": 5, "margin-top": 5,
"margin-right": 12, "margin-right": 8,
"height": 36, "height": 30,
"spacing": 4, "spacing": 4,
"exclusive": true, "exclusive": true,
"gtk-layer-shell": true, "gtk-layer-shell": true,
"passthrough": false, "passthrough": false,
"fixed-center": true, "fixed-center": true,
"include": [ "include": [
"/etc/ximperdistro/hyprland/waybar/modules.json" "/etc/ximperdistro/hyprland/waybar/modules.json",
"/etc/ximperdistro/hyprland/waybar/extra-modules.json"
], ],
"modules-left": [ "modules-left": [
"image#menu", "image#menu",
"hyprland/workspaces", "hyprland/workspaces",
"tray", "tray",
"hyprland/window", "hyprland/submap",
], ],
"modules-center": [ "modules-center": [
"custom/media", "custom/media",
], ],
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"custom/clipboard", "custom/theme",
"hyprland/language", "hyprland/language",
"hyprland/submap",
"group/volume", "group/volume",
"network", "network",
"bluetooth", "bluetooth",
......
{
"custom/media-mini": {
"format": "{icon} {0}",
"return-type": "json",
"format-icons": {
"Playing": "",
"Paused": ""
},
"max-length": 30,
"exec": "playerctl -a metadata --format '{\"text\": \"{{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(artist)}} - {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl next",
"on-scroll-down": "playerctl previous"
},
"custom/ddclight": {
"tooltip": false,
"format": "{icon}",
"return-type": "json",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"exec-if": "ddclight",
"exec": "ddclight get --waybar",
"on-scroll-up": "ddclight set +5",
"on-scroll-down": "ddclight set 5-"
},
}
...@@ -5,11 +5,17 @@ ...@@ -5,11 +5,17 @@
"on-click": "pkill wofi || wofi --show drun -x 5 -y 10 --height 35% --width 20%" "on-click": "pkill wofi || wofi --show drun -x 5 -y 10 --height 35% --width 20%"
}, },
"custom/clipboard": { "custom/theme": {
"tooltip": false, "tooltip": false,
"on-click": "pkill wofi || cliphist-wofi --location 3 -x -33 -y 10 --height 35% --width 25% | wl-copy", "format": "{icon}",
"on-click-right": "rm -f ~/.cache/cliphist/db", "return-type": "json",
"format": "" "format-icons": {
"dark": "󰽥",
"light": "󰖙"
},
"exec-if": "which wm-change-theme",
"exec": "wm-change-theme get-waybar",
"on-click": "wm-change-theme change",
}, },
"hyprland/workspaces": { "hyprland/workspaces": {
...@@ -31,9 +37,9 @@ ...@@ -31,9 +37,9 @@
}, },
"tray": { "tray": {
"icon-size": 18, "icon-size": 18,
"show-passive-items": true, "show-passive-items": true,
"spacing": 10 "spacing": 10
}, },
...@@ -42,8 +48,8 @@ ...@@ -42,8 +48,8 @@
"format": "{icon} {0}", "format": "{icon} {0}",
"return-type": "json", "return-type": "json",
"format-icons": { "format-icons": {
"Playing": "", "Playing": "",
"Paused": "" "Paused": ""
}, },
"max-length": 50, "max-length": 50,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
...@@ -93,14 +99,14 @@ ...@@ -93,14 +99,14 @@
" " " "
] ]
}, },
"on-click": "pwvucontrol", "on-click": "hyprctl dispatch exec '[size 530 350; move 100%-550 4%]' pwvucontrol",
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" "on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
}, },
"pulseaudio#microphone": { "pulseaudio#microphone": {
"format": "{format_source}", "format": "{format_source}",
"format-source": " {volume}%", "format-source": " {volume}%",
"format-source-muted": " Мут", "format-source-muted": " Мут",
"on-click": "pwvucontrol", "on-click": "hyprctl dispatch exec '[size 530 350; move 100%-550 4%]' pwvucontrol",
"on-click-right": "wpctl set-mute @DEFAULT_SOURCE@ toggle", "on-click-right": "wpctl set-mute @DEFAULT_SOURCE@ toggle",
"on-scroll-up": "wpctl set-volume @DEFAULT_SOURCE@ 10%+ -l 1.0", "on-scroll-up": "wpctl set-volume @DEFAULT_SOURCE@ 10%+ -l 1.0",
"on-scroll-down": "wpctl set-volume @DEFAULT_SOURCE@ 10%- -l 1.0", "on-scroll-down": "wpctl set-volume @DEFAULT_SOURCE@ 10%- -l 1.0",
...@@ -125,7 +131,7 @@ ...@@ -125,7 +131,7 @@
"tooltip-format-disconnected": "Нет соединения", "tooltip-format-disconnected": "Нет соединения",
"format-alt": "<span foreground='#90ceaa'> {bandwidthDownBytes}</span> <span foreground='#dd6777'>  {bandwidthUpBytes}</span>", "format-alt": "<span foreground='#90ceaa'> {bandwidthDownBytes}</span> <span foreground='#dd6777'>  {bandwidthUpBytes}</span>",
"interval": 2, "interval": 2,
"on-click-right": "kitty --class nmtui nmtui" "on-click-right": "hyprctl dispatch exec '[size 910 460; move 100%-930 4%]' kitty nmtui"
}, },
"bluetooth": { "bluetooth": {
...@@ -141,7 +147,7 @@ ...@@ -141,7 +147,7 @@
"tooltip-format-off": "󰂳 Выключено", "tooltip-format-off": "󰂳 Выключено",
"tooltip-format-connected": "{device_enumerate}", "tooltip-format-connected": "{device_enumerate}",
"tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%", "tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%",
"on-click-right": "blueman-manager" "on-click-right": "hyprctl dispatch exec '[size 530 350; move 100%-550 4%]' blueman-manager"
}, },
"battery": { "battery": {
......
...@@ -9,14 +9,13 @@ window#waybar { ...@@ -9,14 +9,13 @@ window#waybar {
background: none; background: none;
} }
#image, #image,
#workspaces, #workspaces,
#tray, #tray,
#window, #window,
#custom-media, #custom-media,
#idle_inhibitor, #idle_inhibitor,
#custom-clipboard, #custom-theme,
#language, #language,
#submap, #submap,
#volume, #volume,
...@@ -24,11 +23,13 @@ window#waybar { ...@@ -24,11 +23,13 @@ window#waybar {
#network, #network,
#bluetooth, #bluetooth,
#battery, #battery,
#backlight { #backlight,
#custom-media-mini,
#custom-ddclight {
background-color: @bg; background-color: @bg;
min-height: 0; min-height: 0;
border-radius: 15px; border-radius: 15px;
margin: 2px 5px 0px 0px; margin: 0px;
color: @text; color: @text;
border: none; border: none;
} }
...@@ -42,11 +43,11 @@ window#waybar { ...@@ -42,11 +43,11 @@ window#waybar {
background-color: @selected_bg; background-color: @selected_bg;
} }
#custom-clipboard { #custom-theme {
padding: 0px 15px; padding: 0px 15px;
font-size: 12px; font-size: 13px;
} }
#custom-clipboard:hover { #custom-theme:hover {
color: @selected_text; color: @selected_text;
background-color: @selected_bg; background-color: @selected_bg;
} }
...@@ -115,18 +116,16 @@ window#waybar.empty #window { ...@@ -115,18 +116,16 @@ window#waybar.empty #window {
background-color: transparent; background-color: transparent;
} }
#custom-media,
#custom-media-mini {
#custom-media {
padding: 0px 15px; padding: 0px 15px;
} }
#custom-media:hover { #custom-media:hover,
#custom-media-mini:hover {
color: @selected_text; color: @selected_text;
background-color: @selected_bg; background-color: @selected_bg;
} }
#idle_inhibitor { #idle_inhibitor {
padding: 0px 15px; padding: 0px 15px;
font-size: 12px; font-size: 12px;
...@@ -162,16 +161,13 @@ window#waybar.empty #window { ...@@ -162,16 +161,13 @@ window#waybar.empty #window {
border-radius: 0px 12px 12px 0px; border-radius: 0px 12px 12px 0px;
padding: 0px 14px 0px 7px; padding: 0px 14px 0px 7px;
} }
#pulseaudio:hover { #pulseaudio:hover {
color: @selected_text; color: @selected_text;
background-color: @selected_bg; background-color: @selected_bg;
} }
#pulseaudio.volume.muted { #pulseaudio.volume.muted {
color: @unfocused; color: @unfocused;
} }
#pulseaudio.microphone.source-muted { #pulseaudio.microphone.source-muted {
color: @unfocused; color: @unfocused;
} }
...@@ -208,6 +204,7 @@ window#waybar.empty #window { ...@@ -208,6 +204,7 @@ window#waybar.empty #window {
background-color: @selected_bg; background-color: @selected_bg;
} }
#clock { #clock {
margin: 2px 0px 2px 0px; margin: 2px 0px 2px 0px;
border-radius: 12px 0px 0px 12px; border-radius: 12px 0px 0px 12px;
...@@ -234,7 +231,17 @@ tooltip { ...@@ -234,7 +231,17 @@ tooltip {
background: alpha(@bg, 0.80); background: alpha(@bg, 0.80);
color: @text color: @text
} }
tooltip label { tooltip label {
color: @text color: @text
} }
#custom-ddclight {
padding: 0px 15px;
font-size: 13px;
}
#custom-ddclight:hover {
color: @selected_text;
background-color: @selected_bg;
}
...@@ -15,8 +15,9 @@ window#waybar { ...@@ -15,8 +15,9 @@ window#waybar {
#tray, #tray,
#window, #window,
#custom-media, #custom-media,
#custom-media-mini,
#idle_inhibitor, #idle_inhibitor,
#custom-clipboard, #custom-theme,
#language, #language,
#submap, #submap,
#volume, #volume,
...@@ -28,7 +29,7 @@ window#waybar { ...@@ -28,7 +29,7 @@ window#waybar {
background-color: @bg; background-color: @bg;
min-height: 0; min-height: 0;
border-radius: 15px; border-radius: 15px;
margin: 2px 5px 0px 0px; margin: 0px;
color: @text; color: @text;
border: none; border: none;
} }
...@@ -42,11 +43,11 @@ window#waybar { ...@@ -42,11 +43,11 @@ window#waybar {
background-color: @selected_bg; background-color: @selected_bg;
} }
#custom-clipboard { #custom-theme {
padding: 0px 15px; padding: 0px 15px;
font-size: 12px; font-size: 15px;
} }
#custom-clipboard:hover { #custom-theme:hover {
color: @selected_text; color: @selected_text;
background-color: @selected_bg; background-color: @selected_bg;
} }
...@@ -117,10 +118,12 @@ window#waybar.empty #window { ...@@ -117,10 +118,12 @@ window#waybar.empty #window {
#custom-media { #custom-media,
#custom-media-mini {
padding: 0px 15px; padding: 0px 15px;
} }
#custom-media:hover { #custom-media:hover,
#custom-media-mini:hover {
color: @selected_text; color: @selected_text;
background-color: @selected_bg; background-color: @selected_bg;
} }
......
{ {
"label" : "lock", "label" : "lock",
"action" : "gtklock", "action" : "loginctl lock-session",
"text": "Заблокировать", "text": "Заблокировать",
"keybind" : "l" "keybind" : "l"
} }
......
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