modified: config/Kvantum/kvantum.kvconfig
new file: config/Kvantum/matugen/matugen.kvconfig new file: config/Kvantum/matugen/matugen.svg modified: config/btop/btop.conf new file: config/btop/themes/matugen.theme modified: config/cava/config new file: config/cava/themes/matugen modified: config/clipse/config.json new file: config/clipse/matugen.json modified: config/fish/config.fish modified: config/fish/fish_variables new file: config/fish/functions/bx.fish deleted: config/fish/functions/fish_prompt.fish new file: config/fish/functions/ntodo.fish new file: config/fish/functions/o.fish modified: config/foot/foot.ini new file: config/foot/themes/input-matugen-theme.ini new file: config/foot/themes/input-matugen-theme.ini.bak new file: config/foot/themes/matugen-theme.ini new file: config/foot/themes/matugen-theme.ini.bak modified: config/foot/themes/theme.ini new file: config/foot/themes/theme.ini.bak new file: config/gtk-2.0/gtkfilechooser.ini new file: config/gtk-3.0/bookmarks new file: config/gtk-3.0/colors.css new file: config/gtk-3.0/colors.css.bak new file: config/gtk-3.0/colors.css.nak new file: config/gtk-3.0/gtk.css new file: config/gtk-3.0/gtk.css.backup new file: config/gtk-3.0/gtk.css.backup.1776208757 new file: config/gtk-3.0/settings.ini new file: config/gtk-4.0/assets new file: config/gtk-4.0/colors.css new file: config/gtk-4.0/colors.css.bak new file: config/gtk-4.0/gtk-dark.css new file: config/gtk-4.0/gtk.css new file: config/gtk-4.0/gtk.css.backup renamed: config/niri/dms/windowrules.kdl -> config/gtk-4.0/libadwaita-tweaks.css new file: config/gtk-4.0/libadwaita.css new file: config/gtk-4.0/settings.ini new file: config/hypr/colors-hyprlock.conf new file: config/hypr/colors.conf modified: config/hypr/hyprlock.conf modified: config/hypr/hyprlock.conf.bak modified: config/hypr/hyprtoolkit.conf modified: config/hyprwave/config.conf modified: config/hyprwhspr/config.json modified: config/hyprwhspr/mic_osd.pid new file: config/ironbar/colors.css modified: config/ironbar/config.json deleted: config/ironbar/schema-v0.18.0.json new file: config/ironbar/scripts/clipse.sh new file: config/ironbar/scripts/matugen.sh new file: config/ironbar/scripts/matugen.sh.bak modified: config/ironbar/scripts/pomo new file: config/ironbar/scripts/volume.sh modified: config/ironbar/style.css new file: config/ironbar/style.css.bak modified: config/kitty/current-theme.conf deleted: config/kitty/current-theme1.conf deleted: config/kitty/dank-tabs.conf modified: config/kitty/kitty.conf modified: config/kitty/kitty.conf.bak new file: config/kitty/themes/Matugen.conf modified: config/matugen/config.toml deleted: config/matugen/custom3.json new file: config/matugen/scripts/foot-apply-colors.sh new file: config/matugen/scripts/foot-apply-colors.sh.bak new file: config/matugen/scripts/foot-apply.sh new file: config/matugen/scripts/hyprwave-reload.sh new file: config/matugen/scripts/ironbar-toggle.sh new file: config/matugen/scripts/matugen-foot-apply.sh new file: config/matugen/scripts/swayosd-reload.sh new file: config/matugen/scripts/walker.sh new file: config/matugen/templates/Matugen.colors new file: config/matugen/templates/alacritty.toml new file: config/matugen/templates/btop.theme new file: config/matugen/templates/cava-colors.ini new file: config/matugen/templates/clipse_theme.json new file: config/matugen/templates/colors.css new file: config/matugen/templates/cosmic_postprocess.py new file: config/matugen/templates/cosmic_theme.ron new file: config/matugen/templates/dunstrc-colors new file: config/matugen/templates/firefox-colors.css new file: config/matugen/templates/foot-apply-colors.sh new file: config/matugen/templates/foot.ini new file: config/matugen/templates/fuzzel.ini new file: config/matugen/templates/ghostty new file: config/matugen/templates/gtk-colors.css new file: config/matugen/templates/helix.toml new file: config/matugen/templates/heroic.css new file: config/matugen/templates/hyprland-colors.conf new file: config/matugen/templates/hyprlock.conf new file: config/matugen/templates/hyprtoolkit.conf new file: config/matugen/templates/hyprwave.css new file: config/matugen/templates/hypwave.css new file: config/matugen/templates/ironbar.css new file: config/matugen/templates/kitty-colors.conf new file: config/matugen/templates/kvantum-colors.kvconfig new file: config/matugen/templates/kvantum-colors.svg new file: config/matugen/templates/labwc new file: config/matugen/templates/mako new file: config/matugen/templates/mango.conf new file: config/matugen/templates/matugen.obt new file: config/matugen/templates/mcfly.toml new file: config/matugen/templates/micro.micro new file: config/matugen/templates/midnight-discord.css new file: config/matugen/templates/neovim.lua new file: config/matugen/templates/neovim/README.md new file: config/matugen/templates/neovim/init.lua new file: config/matugen/templates/neovim/template.lua new file: config/matugen/templates/niri-colors.kdl new file: config/matugen/templates/nvim-colors.vim new file: config/matugen/templates/obsidian.css new file: config/matugen/templates/opencode-colors.json new file: config/matugen/templates/prismlauncher.json new file: config/matugen/templates/pywalfox-colors.json new file: config/matugen/templates/qtct-colors.conf new file: config/matugen/templates/quickshell.json new file: config/matugen/templates/quickshell.qml new file: config/matugen/templates/rmpc/nix-hm-example/README.md new file: config/matugen/templates/rmpc/nix-hm-example/matugen/default.nix new file: config/matugen/templates/rmpc/nix-hm-example/matugen/templates/cava.ini new file: config/matugen/templates/rmpc/nix-hm-example/matugen/templates/rmpc.ron new file: config/matugen/templates/rmpc/rmpc.ron new file: config/matugen/templates/rofi-colors.rasi new file: config/matugen/templates/spicetify.ini new file: config/matugen/templates/starship-colors.toml new file: config/matugen/templates/steam.css new file: config/matugen/templates/sway-colors.conf new file: config/matugen/templates/swaync-colors.css new file: config/matugen/templates/swayosd.css new file: config/matugen/templates/telegram-background-solid.svg new file: config/matugen/templates/telegram.tdesktop-theme new file: config/matugen/templates/telegram.tdesktop-theme.bak new file: config/matugen/templates/television.toml new file: config/matugen/templates/terminal-sequences new file: config/matugen/templates/tmux-colors.conf new file: config/matugen/templates/vivaldi.css new file: config/matugen/templates/walker.css new file: config/matugen/templates/wezterm_theme.toml new file: config/matugen/templates/windows_term.json new file: config/matugen/templates/windows_term_post.ps1 new file: config/matugen/templates/wine.reg new file: config/matugen/templates/yazi-theme.toml new file: config/matugen/templates/zathura-colors new file: config/matugen/templates/zed-colors.json new file: config/matugen/templates/zellij-theme.kdl.tera new file: config/matugen/templates/zen-userChrome.css new file: config/matugen/templates/zen-userContent.css new file: config/matugen/templates/zen.css modified: config/mimeapps.list modified: config/niri/binds.kdl new file: config/niri/clipse.sh new file: config/niri/colors.kdl modified: config/niri/config.kdl deleted: config/niri/dms/alttab.kdl deleted: config/niri/dms/binds.kdl deleted: config/niri/dms/colors.kdl deleted: config/niri/dms/cursor.kdl deleted: config/niri/dms/layout.kdl deleted: config/niri/dms/outputs.kdl deleted: config/niri/dms/profiles/profile_1776211496314_g03e3q.kdl deleted: config/niri/dms/wpblur.kdl modified: config/niri/layer-rule.kdl modified: config/niri/layout.kdl new file: config/niri/scripts/ocr.sh modified: config/niri/spawn-at-startup.kdl modified: config/niri/window-rule.kdl new file: config/nvim/colors/matugen.vim modified: config/nvim/init.lua modified: config/nvim/lazy-lock.json new file: config/nvim/lua/matugen.lua new file: config/nvim/lua/plugins/base16-nvim.lua renamed: config/nvim/lua/plugins/render-markdown.lua -> config/nvim/lua/plugins/render-markdown.lua.bak new file: config/nvim/lua/plugins/themery.lua new file: config/nvim/lua/plugins/zk-nvim.lua new file: config/rmpc/themes/matugen.ron new file: config/rudo/all-style.css new file: config/rudo/pins.json new file: config/rudo/settings.json new file: config/rudo/style.css new file: config/scripts/niri/ru.png new file: config/scripts/niri/us.png modified: config/starship.toml new file: config/stasis/stasis.rune new file: config/swaync/colors.css deleted: config/swaync/config_1.json modified: config/swaync/style.css deleted: config/swaync/style_1.css new file: config/swayosd/colors.css modified: config/swayosd/style.css new file: config/telegram/matugen.tdesktop-theme new file: config/telegram/matugen/background.jpg new file: config/telegram/matugen/background.svg new file: config/telegram/matugen/colors.tdesktop-theme deleted: config/termusic/tui.toml new file: config/tmux/colors.conf modified: config/tmux/tmux.conf modified: config/walker/config.toml modified: config/walker/themes/default/layout.xml new file: config/walker/themes/matugen/colors.css new file: config/walker/themes/matugen/item.xml new file: config/walker/themes/matugen/item_actionsmenu.xml new file: config/walker/themes/matugen/item_archlinuxpkgs.xml new file: config/walker/themes/matugen/item_bookmarks.xml new file: config/walker/themes/matugen/item_calc.xml new file: config/walker/themes/matugen/item_clipboard.xml new file: config/walker/themes/matugen/item_dmenu.xml new file: config/walker/themes/matugen/item_dnfpackages.xml new file: config/walker/themes/matugen/item_files.xml new file: config/walker/themes/matugen/item_providerlist.xml new file: config/walker/themes/matugen/item_symbols.xml new file: config/walker/themes/matugen/item_symbols_grid.xml new file: config/walker/themes/matugen/item_todo.xml new file: config/walker/themes/matugen/item_unicode.xml new file: config/walker/themes/matugen/keybind.xml new file: config/walker/themes/matugen/layout.xml new file: config/walker/themes/matugen/preview.xml new file: config/walker/themes/matugen/style.css modified: config/walker/themes/zzz/layout.xml modified: config/walker/themes/zzz/style.css deleted: config/waybar/config.jsonc deleted: config/waybar/config01.jsonc deleted: config/waybar/style.css deleted: config/waybar/style01.css new file: config/yazi/theme.toml modified: config/zathura/zathurarc deleted: config/zram-generator.conf modified: copy.sh modified: local/share/hyprwave/style.css
This commit is contained in:
parent
d34dc71a44
commit
ff70920a08
231 changed files with 31057 additions and 8511 deletions
|
|
@ -11,7 +11,7 @@ binds {
|
|||
|
||||
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||
Super+F{ maximize-column;}
|
||||
Mod+M { spawn "hyprwave-toggle" "visibility"; }
|
||||
Mod+M { spawn-sh "hyprwave-toggle visibility && hyprwave-toggle expand"; }
|
||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+Q repeat=false { spawn "footclient"; }
|
||||
//Mod+D { spawn "fuzzel"; }
|
||||
|
|
@ -23,6 +23,7 @@ binds {
|
|||
// Mod+D repeat=false { spawn-sh "qs -c noctalia-shell ipc call launcher toggle"; }
|
||||
Mod+Grave repeat=false { toggle-overview; }
|
||||
Super+W { spawn-sh "footclient -T clipse clipse"; }
|
||||
// Mod+W {spawn-sh "bash ~/.config/niri/clipse.sh";}
|
||||
Mod+Escape { spawn "hyprlock"; }
|
||||
Mod+Shift+Return { spawn "shutdown" "now"; }
|
||||
Mod+Ctrl+S { screenshot-window write-to-disk=false; }
|
||||
|
|
@ -31,6 +32,7 @@ binds {
|
|||
Mod+Shift+P{spawn "shutdown" "-c";}
|
||||
Alt+I repeat=false {spawn "hyprpicker" "-a";}
|
||||
Mod+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; } // такое себе
|
||||
Mod+E repeat=false {spawn-sh "bash ~/.config/niri/scripts/ocr.sh";}
|
||||
// Mod+Shift+G {}
|
||||
|
||||
// Example volume keys mappings for PipeWire & WirePlumber.
|
||||
|
|
@ -60,7 +62,7 @@ binds {
|
|||
// Open/close the Overview: a zoomed-out view of workspaces and windows.
|
||||
// You can also move the mouse into the top-left hot corner,
|
||||
// or do a four-finger swipe up on a touchpad.
|
||||
Mod+O repeat=false { toggle-overview; }
|
||||
Mod+O repeat=false { spawn-sh "bash ~/.config/ironbar/scripts/matugen.sh"; }
|
||||
|
||||
//Mod+Escape repeat=false { toggle-overview; }
|
||||
|
||||
|
|
@ -247,8 +249,8 @@ binds {
|
|||
Mod+Shift+W { toggle-column-tabbed-display; }
|
||||
// Cycling through the presets in reverse order is also possible.
|
||||
// Mod+R { switch-preset-column-width-back; }
|
||||
Mod+Shift+R repeat=false { switch-preset-window-height; }
|
||||
Mod+Ctrl+R { reset-window-height; }
|
||||
Mod+R repeat=false { switch-preset-window-height; }
|
||||
Mod+Shift+R { reset-window-height; }
|
||||
Mod+Shift+F repeat=false { fullscreen-window; }
|
||||
|
||||
// Expand the focused column to space not taken up by other fully visible columns.
|
||||
|
|
|
|||
3
config/niri/clipse.sh
Normal file
3
config/niri/clipse.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
bash ~/.config/matugen/scripts/foot-apply-colors.sh
|
||||
footclient -T clipse clipse
|
||||
29
config/niri/colors.kdl
Normal file
29
config/niri/colors.kdl
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
layout {
|
||||
focus-ring {
|
||||
active-color "#f2be6e"
|
||||
inactive-color "#aa9e8e"
|
||||
urgent-color "#ffb4ab"
|
||||
}
|
||||
|
||||
border {
|
||||
active-color "#f2be6e"
|
||||
inactive-color "#aa9e8e"
|
||||
urgent-color "#ffb4ab"
|
||||
}
|
||||
|
||||
shadow {
|
||||
off
|
||||
color "#00000070"
|
||||
}
|
||||
|
||||
tab-indicator {
|
||||
active-color "#f2be6e"
|
||||
inactive-color "#aa9e8e"
|
||||
urgent-color "#ffb4ab"
|
||||
}
|
||||
|
||||
insert-hint {
|
||||
color "#f2be6e80"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ environment{
|
|||
QT_QPA_PLATFORM "wayland"
|
||||
ELECTRON_OZONE_PLATFORM_HINT "wayland"
|
||||
//ЖQT_STYLE_OVERRIDE "adwaita"
|
||||
QT_STYLE_OVERRIDE "kvantum"
|
||||
// QT_STYLE_OVERRIDE "kvantum"
|
||||
}
|
||||
xwayland-satellite {
|
||||
// off
|
||||
|
|
@ -85,3 +85,5 @@ include "output-pc.kdl"
|
|||
include "spawn-at-startup.kdl"
|
||||
include "animation.kdl"
|
||||
include "layout.kdl"
|
||||
|
||||
include "colors.kdl"
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
// ! DO NOT EDIT !
|
||||
// ! AUTO-GENERATED BY DMS !
|
||||
// ! CHANGES WILL BE OVERWRITTEN !
|
||||
// ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE !
|
||||
|
||||
recent-windows {
|
||||
highlight {
|
||||
corner-radius 10
|
||||
}
|
||||
}
|
||||
|
|
@ -1,221 +0,0 @@
|
|||
binds {
|
||||
// === System & Overview ===
|
||||
Mod+D repeat=false { toggle-overview; }
|
||||
Mod+Tab repeat=false { toggle-overview; }
|
||||
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||
|
||||
// === Application Launchers ===
|
||||
Mod+T hotkey-overlay-title="Open Terminal" { spawn "ghostty"; }
|
||||
Mod+Space hotkey-overlay-title="Application Launcher" {
|
||||
spawn "dms" "ipc" "call" "spotlight" "toggle";
|
||||
}
|
||||
Mod+V hotkey-overlay-title="Clipboard Manager" {
|
||||
spawn "dms" "ipc" "call" "clipboard" "toggle";
|
||||
}
|
||||
Mod+M hotkey-overlay-title="Task Manager" {
|
||||
spawn "dms" "ipc" "call" "processlist" "focusOrToggle";
|
||||
}
|
||||
|
||||
Super+X hotkey-overlay-title="Power Menu: Toggle" { spawn "dms" "ipc" "call" "powermenu" "toggle"; }
|
||||
Mod+Comma hotkey-overlay-title="Settings" {
|
||||
spawn "dms" "ipc" "call" "settings" "focusOrToggle";
|
||||
}
|
||||
Mod+Y hotkey-overlay-title="Browse Wallpapers" {
|
||||
spawn "dms" "ipc" "call" "dankdash" "wallpaper";
|
||||
}
|
||||
Mod+N hotkey-overlay-title="Notification Center" { spawn "dms" "ipc" "call" "notifications" "toggle"; }
|
||||
Mod+Shift+N hotkey-overlay-title="Notepad" { spawn "dms" "ipc" "call" "notepad" "toggle"; }
|
||||
|
||||
// === Security ===
|
||||
Mod+Alt+L hotkey-overlay-title="Lock Screen" {
|
||||
spawn "dms" "ipc" "call" "lock" "lock";
|
||||
}
|
||||
Mod+Shift+E { quit; }
|
||||
Ctrl+Alt+Delete hotkey-overlay-title="Task Manager" {
|
||||
spawn "dms" "ipc" "call" "processlist" "focusOrToggle";
|
||||
}
|
||||
|
||||
// === Audio Controls ===
|
||||
XF86AudioRaiseVolume allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "audio" "increment" "3";
|
||||
}
|
||||
XF86AudioLowerVolume allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "audio" "decrement" "3";
|
||||
}
|
||||
XF86AudioMute allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "audio" "mute";
|
||||
}
|
||||
XF86AudioMicMute allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "audio" "micmute";
|
||||
}
|
||||
XF86AudioPause allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "mpris" "playPause";
|
||||
}
|
||||
XF86AudioPlay allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "mpris" "playPause";
|
||||
}
|
||||
XF86AudioPrev allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "mpris" "previous";
|
||||
}
|
||||
XF86AudioNext allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "mpris" "next";
|
||||
}
|
||||
Ctrl+XF86AudioRaiseVolume allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "mpris" "increment" "3";
|
||||
}
|
||||
Ctrl+XF86AudioLowerVolume allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "mpris" "decrement" "3";
|
||||
}
|
||||
|
||||
// === Brightness Controls ===
|
||||
XF86MonBrightnessUp allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "brightness" "increment" "5" "";
|
||||
}
|
||||
XF86MonBrightnessDown allow-when-locked=true {
|
||||
spawn "dms" "ipc" "call" "brightness" "decrement" "5" "";
|
||||
}
|
||||
|
||||
// === Window Management ===
|
||||
Mod+Q repeat=false { close-window; }
|
||||
Mod+F { maximize-column; }
|
||||
Mod+Shift+F { fullscreen-window; }
|
||||
Mod+Shift+T { toggle-window-floating; }
|
||||
Mod+Shift+V { switch-focus-between-floating-and-tiling; }
|
||||
Mod+W { toggle-column-tabbed-display; }
|
||||
Mod+Shift+W hotkey-overlay-title="Create window rule" { spawn "dms" "ipc" "call" "window-rules" "toggle"; }
|
||||
|
||||
// === Focus Navigation ===
|
||||
Mod+Left { focus-column-left; }
|
||||
Mod+Down { focus-window-down; }
|
||||
Mod+Up { focus-window-up; }
|
||||
Mod+Right { focus-column-right; }
|
||||
Mod+H { focus-column-left; }
|
||||
Mod+J { focus-window-down; }
|
||||
Mod+K { focus-window-up; }
|
||||
Mod+L { focus-column-right; }
|
||||
|
||||
// === Window Movement ===
|
||||
Mod+Shift+Left { move-column-left; }
|
||||
Mod+Shift+Down { move-window-down; }
|
||||
Mod+Shift+Up { move-window-up; }
|
||||
Mod+Shift+Right { move-column-right; }
|
||||
Mod+Shift+H { move-column-left; }
|
||||
Mod+Shift+J { move-window-down; }
|
||||
Mod+Shift+K { move-window-up; }
|
||||
Mod+Shift+L { move-column-right; }
|
||||
|
||||
// === Column Navigation ===
|
||||
Mod+Home { focus-column-first; }
|
||||
Mod+End { focus-column-last; }
|
||||
Mod+Ctrl+Home { move-column-to-first; }
|
||||
Mod+Ctrl+End { move-column-to-last; }
|
||||
|
||||
// === Monitor Navigation ===
|
||||
Mod+Ctrl+Left { focus-monitor-left; }
|
||||
//Mod+Ctrl+Down { focus-monitor-down; }
|
||||
//Mod+Ctrl+Up { focus-monitor-up; }
|
||||
Mod+Ctrl+Right { focus-monitor-right; }
|
||||
Mod+Ctrl+H { focus-monitor-left; }
|
||||
Mod+Ctrl+J { focus-monitor-down; }
|
||||
Mod+Ctrl+K { focus-monitor-up; }
|
||||
Mod+Ctrl+L { focus-monitor-right; }
|
||||
|
||||
// === Move to Monitor ===
|
||||
Mod+Shift+Ctrl+Left { move-column-to-monitor-left; }
|
||||
Mod+Shift+Ctrl+Down { move-column-to-monitor-down; }
|
||||
Mod+Shift+Ctrl+Up { move-column-to-monitor-up; }
|
||||
Mod+Shift+Ctrl+Right { move-column-to-monitor-right; }
|
||||
Mod+Shift+Ctrl+H { move-column-to-monitor-left; }
|
||||
Mod+Shift+Ctrl+J { move-column-to-monitor-down; }
|
||||
Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
|
||||
Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
|
||||
|
||||
// === Workspace Navigation ===
|
||||
Mod+Page_Down { focus-workspace-down; }
|
||||
Mod+Page_Up { focus-workspace-up; }
|
||||
Mod+U { focus-workspace-down; }
|
||||
Mod+I { focus-workspace-up; }
|
||||
Mod+Ctrl+Down { move-column-to-workspace-down; }
|
||||
Mod+Ctrl+Up { move-column-to-workspace-up; }
|
||||
Mod+Ctrl+U { move-column-to-workspace-down; }
|
||||
Mod+Ctrl+I { move-column-to-workspace-up; }
|
||||
|
||||
// === Workspace Management ===
|
||||
Ctrl+Shift+R hotkey-overlay-title="Rename Workspace" {
|
||||
spawn "dms" "ipc" "call" "workspace-rename" "open";
|
||||
}
|
||||
|
||||
// === Move Workspaces ===
|
||||
Mod+Shift+Page_Down { move-workspace-down; }
|
||||
Mod+Shift+Page_Up { move-workspace-up; }
|
||||
Mod+Shift+U { move-workspace-down; }
|
||||
Mod+Shift+I { move-workspace-up; }
|
||||
|
||||
// === Mouse Wheel Navigation ===
|
||||
Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
|
||||
Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
|
||||
Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
|
||||
Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
|
||||
|
||||
Mod+WheelScrollRight { focus-column-right; }
|
||||
Mod+WheelScrollLeft { focus-column-left; }
|
||||
Mod+Ctrl+WheelScrollRight { move-column-right; }
|
||||
Mod+Ctrl+WheelScrollLeft { move-column-left; }
|
||||
|
||||
Mod+Shift+WheelScrollDown { focus-column-right; }
|
||||
Mod+Shift+WheelScrollUp { focus-column-left; }
|
||||
Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
|
||||
Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
|
||||
|
||||
// === Numbered Workspaces ===
|
||||
Mod+1 { focus-workspace 1; }
|
||||
Mod+2 { focus-workspace 2; }
|
||||
Mod+3 { focus-workspace 3; }
|
||||
Mod+4 { focus-workspace 4; }
|
||||
Mod+5 { focus-workspace 5; }
|
||||
Mod+6 { focus-workspace 6; }
|
||||
Mod+7 { focus-workspace 7; }
|
||||
Mod+8 { focus-workspace 8; }
|
||||
Mod+9 { focus-workspace 9; }
|
||||
|
||||
// === Move to Numbered Workspaces ===
|
||||
Mod+Shift+1 { move-column-to-workspace 1; }
|
||||
Mod+Shift+2 { move-column-to-workspace 2; }
|
||||
Mod+Shift+3 { move-column-to-workspace 3; }
|
||||
Mod+Shift+4 { move-column-to-workspace 4; }
|
||||
Mod+Shift+5 { move-column-to-workspace 5; }
|
||||
Mod+Shift+6 { move-column-to-workspace 6; }
|
||||
Mod+Shift+7 { move-column-to-workspace 7; }
|
||||
Mod+Shift+8 { move-column-to-workspace 8; }
|
||||
Mod+Shift+9 { move-column-to-workspace 9; }
|
||||
|
||||
// === Column Management ===
|
||||
Mod+BracketLeft { consume-or-expel-window-left; }
|
||||
Mod+BracketRight { consume-or-expel-window-right; }
|
||||
Mod+Period { expel-window-from-column; }
|
||||
|
||||
// === Sizing & Layout ===
|
||||
Mod+R { switch-preset-column-width; }
|
||||
Mod+Shift+R { switch-preset-window-height; }
|
||||
Mod+Ctrl+R { reset-window-height; }
|
||||
Mod+Ctrl+F { expand-column-to-available-width; }
|
||||
Mod+C { center-column; }
|
||||
Mod+Ctrl+C { center-visible-columns; }
|
||||
|
||||
// === Manual Sizing ===
|
||||
Mod+Minus { set-column-width "-10%"; }
|
||||
Mod+Equal { set-column-width "+10%"; }
|
||||
Mod+Shift+Minus { set-window-height "-10%"; }
|
||||
Mod+Shift+Equal { set-window-height "+10%"; }
|
||||
|
||||
// === Screenshots ===
|
||||
XF86Launch1 { screenshot; }
|
||||
Ctrl+XF86Launch1 { screenshot-screen; }
|
||||
Alt+XF86Launch1 { screenshot-window; }
|
||||
Print { screenshot; }
|
||||
Ctrl+Print { screenshot-screen; }
|
||||
Alt+Print { screenshot-window; }
|
||||
// === System Controls ===
|
||||
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
||||
Mod+Shift+P { power-off-monitors; }
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
// ! Auto-generated file. Do not edit directly.
|
||||
// Remove `include "dms/colors.kdl"` from your config to override.
|
||||
|
||||
layout {
|
||||
background-color "transparent"
|
||||
|
||||
focus-ring {
|
||||
active-color "#b8a8f0"
|
||||
inactive-color "#c9b8d9"
|
||||
urgent-color "#f38ba8"
|
||||
}
|
||||
|
||||
border {
|
||||
active-color "#b8a8f0"
|
||||
inactive-color "#c9b8d9"
|
||||
urgent-color "#f38ba8"
|
||||
}
|
||||
|
||||
shadow {
|
||||
color "#00000070"
|
||||
}
|
||||
|
||||
tab-indicator {
|
||||
active-color "#b8a8f0"
|
||||
inactive-color "#c9b8d9"
|
||||
urgent-color "#f38ba8"
|
||||
}
|
||||
|
||||
insert-hint {
|
||||
color "#b8a8f080"
|
||||
}
|
||||
}
|
||||
|
||||
recent-windows {
|
||||
highlight {
|
||||
active-color "#745b8c"
|
||||
urgent-color "#f38ba8"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
// ! DO NOT EDIT !
|
||||
// ! AUTO-GENERATED BY DMS !
|
||||
// ! CHANGES WILL BE OVERWRITTEN !
|
||||
// ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE !
|
||||
|
||||
cursor {
|
||||
xcursor-theme "Bibata-Modern-Ice"
|
||||
xcursor-size 21
|
||||
hide-when-typing
|
||||
}
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
// ! DO NOT EDIT !
|
||||
// ! AUTO-GENERATED BY DMS !
|
||||
// ! CHANGES WILL BE OVERWRITTEN !
|
||||
// ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE !
|
||||
|
||||
layout {
|
||||
gaps 10
|
||||
|
||||
border {
|
||||
width 2
|
||||
}
|
||||
|
||||
focus-ring {
|
||||
width 2
|
||||
}
|
||||
}
|
||||
window-rule {
|
||||
geometry-corner-radius 10
|
||||
clip-to-geometry true
|
||||
tiled-state true
|
||||
draw-border-with-background false
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
/home/unconfer/.config/niri/dms/profiles/profile_1776211496314_g03e3q.kdl
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
// Auto-generated by DMS - do not edit manually
|
||||
|
||||
output "DP-1" {
|
||||
mode "1920x1080@165.000"
|
||||
scale 1
|
||||
position x=0 y=0
|
||||
variable-refresh-rate on-demand=true
|
||||
hot-corners {
|
||||
top-left
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
// ! DO NOT EDIT !
|
||||
// ! AUTO-GENERATED BY DMS !
|
||||
// ! CHANGES WILL BE OVERWRITTEN !
|
||||
// ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE !
|
||||
|
||||
layer-rule {
|
||||
match namespace="dms:blurwallpaper"
|
||||
place-within-backdrop true
|
||||
}
|
||||
|
|
@ -20,9 +20,29 @@ layer-rule {
|
|||
}
|
||||
// Put swaybg inside the overview backdrop.
|
||||
layer-rule {
|
||||
match layer="backdground"
|
||||
match at-startup=true
|
||||
match namespace="^awww-daemon$"
|
||||
|
||||
place-within-backdrop true
|
||||
}
|
||||
|
||||
|
||||
layer-rule {
|
||||
match layer="backdground"
|
||||
//match at-startup=true
|
||||
match namespace="^mpvpaper$"
|
||||
|
||||
place-within-backdrop true
|
||||
}
|
||||
|
||||
|
||||
layer-rule {
|
||||
match layer="backdground"
|
||||
match at-startup=true
|
||||
match namespace="^wallpaper$"
|
||||
|
||||
place-within-backdrop true
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,12 +10,14 @@ layout{
|
|||
}
|
||||
|
||||
preset-window-heights {
|
||||
proportion 0.5
|
||||
proportion 1.0
|
||||
proportion 0.33333
|
||||
proportion 0.5
|
||||
proportion 0.66666
|
||||
}
|
||||
|
||||
default-column-width { proportion 1.0; }
|
||||
|
||||
|
||||
// By default focus ring and border are rendered as a solid background rectangle
|
||||
// behind windows. That is, they will show up through semitransparent windows.
|
||||
// This is because windows using client-side decorations can have an arbitrary shape.
|
||||
|
|
|
|||
57
config/niri/scripts/ocr.sh
Normal file
57
config/niri/scripts/ocr.sh
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
#!/usr/bin/env bash
|
||||
# ocr-screenshot.sh — slurp + grim → zbar/tesseract → wl-clipboard
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
TMPDIR=$(mktemp -d)
|
||||
trap 'rm -rf "$TMPDIR"' EXIT
|
||||
|
||||
IMG="$TMPDIR/shot.png"
|
||||
PROC="$TMPDIR/proc.png"
|
||||
TXT="$TMPDIR/out"
|
||||
|
||||
GEOMETRY=$(slurp) || {
|
||||
notify-send "OCR" "Отменено"
|
||||
exit 0
|
||||
}
|
||||
grim -g "$GEOMETRY" "$IMG"
|
||||
|
||||
# 1. Сначала пробуем zbar (QR, штрихкоды)
|
||||
QR_RESULT=$(zbarimg --quiet --raw "$IMG" 2>/dev/null || true)
|
||||
|
||||
if [[ -n "$QR_RESULT" ]]; then
|
||||
printf '%s' "$QR_RESULT" | wl-copy
|
||||
xdg-open "${QR_RESULT:0:80}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# 2. Если QR не найден — обычный OCR
|
||||
#magick "$IMG" \
|
||||
# -colorspace Gray \
|
||||
# -resize 300% \
|
||||
# -unsharp 0x1 \
|
||||
# -threshold 50% \
|
||||
# "$PROC"
|
||||
|
||||
magick "$IMG" \
|
||||
-colorspace Gray \
|
||||
-resize 300% \
|
||||
-unsharp 0x0.5+1+0 \
|
||||
-level 20%,80% \
|
||||
"$PROC"
|
||||
tesseract "$PROC" "$TXT" \
|
||||
-l rus+eng \
|
||||
--oem 1 \
|
||||
--psm 4 \
|
||||
-c preserve_interword_spaces=1 \
|
||||
2>/dev/null
|
||||
|
||||
RESULT=$(cat "${TXT}.txt" | sed '/^$/d' | sed 's/[[:space:]]\+/ /g' | xargs)
|
||||
|
||||
if [[ -z "$RESULT" ]]; then
|
||||
notify-send "OCR" "Ничего не распознано"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf '%s' "$RESULT" | wl-copy
|
||||
notify-send "OCR — Текст" "Скопировано: ${RESULT:0:80}…"
|
||||
|
|
@ -4,11 +4,16 @@ spawn-sh-at-startup "foot --server"
|
|||
spawn-sh-at-startup "bash ~/.config/niri/caps"
|
||||
spawn-at-startup "mpDris2"
|
||||
spawn-at-startup "swayosd-server"
|
||||
spawn-at-startup "hyprwave"
|
||||
spawn-sh-at-startup "hyprwave && hyprwave-toggle visibility"
|
||||
spawn-at-startup "swaync"
|
||||
spawn-at-startup "clipse" "-listen"
|
||||
spawn-sh-at-startup "swaybg -c 07090b"
|
||||
//spawn-sh-at-startup "swaybg -c 07090b"
|
||||
//spawn-at-startup "awww-daemon"
|
||||
//spawn-sh-at-startup "bash ~/.config/ironbar/scripts/matugen.sh"
|
||||
spawn-sh-at-startup "walker --gapplication-service"
|
||||
spawn-at-startup "ironbar"
|
||||
spawn-at-startup "rudo"
|
||||
spawn-sh-at-startup "pywalfox start"
|
||||
|
||||
spawn-at-startup "stasis"
|
||||
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ window-rule {
|
|||
|
||||
window-rule {
|
||||
// open-maximized false
|
||||
geometry-corner-radius 10
|
||||
geometry-corner-radius 12
|
||||
tiled-state true
|
||||
clip-to-geometry true
|
||||
open-maximized true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue