added remmina, changes in niri

This commit is contained in:
2025-11-20 22:00:39 +03:00
parent 1cc41d3fff
commit 63a24620d8
10 changed files with 261 additions and 68 deletions

View File

@ -84,17 +84,25 @@ output "DP-2" {
// off //DP-2
mode "1920x1080"
scale 1.25
transform "normal"
// transform "270"
position x=0 y=1080
}
output "HDMI-A-1" {
// off //HDMI-A-1
output "DP-1" {
// off //DP-2
mode "1920x1080"
scale 1
// transform "270"
position x=0 y=0
}
output "HDMI-A-2" {
// off //HDMI-A-1
mode "1920x1080"
scale 1
position x=0 y=0
}
output "HDMI-A-1" {
// off //HDMI-A-2
mode "2048x1152"
position x=-2048 y=0
@ -106,7 +114,7 @@ output "HDMI-A-2" {
// https://yalter.github.io/niri/Configuration:-Layout
layout {
// Set gaps around windows in logical pixels.
gaps 12
gaps 16
// When to center a column when changing focus, options are:
// - "never", default behavior, focusing an off-screen column will keep at the left
@ -151,7 +159,7 @@ layout {
// You can change how the focus ring looks.
focus-ring {
// Uncomment this line to disable the focus ring.
// off
// off
// How many logical pixels the ring extends out from the windows.
width 2
@ -168,7 +176,7 @@ layout {
//
// The focus ring only draws around the active window, so the only place
// where you can see its inactive-color is on other monitors.
inactive-color "#505050"
inactive-color "#888"
// You can also use gradients. They take precedence over solid colors.
// Gradients are rendered the same as CSS linear-gradient(angle, from, to).
@ -193,7 +201,7 @@ layout {
off
width 4
active-color "#ffc87f"
active-color "#ffffff"
inactive-color "#505050"
// Color of the border around windows that request your attention.
@ -207,6 +215,15 @@ layout {
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
}
tab-indicator {
width 10
// place-within-column
corner-radius 20
gaps-between-tabs 20
position "left"
}
// You can enable drop shadows for windows.
shadow {
// Uncomment the next line to enable shadows.
@ -226,7 +243,7 @@ layout {
// window. These will also remove client-side shadows if the window
// draws any.
//
// draw-behind-window true
//draw-behind-window true
// You can change how shadows look. The values below are in logical
// pixels and match the CSS box-shadow properties.
@ -241,7 +258,7 @@ layout {
offset x=0 y=5
// You can also change the shadow color and opacity.
color "#0007"
color "#000f"
}
// Struts shrink the area occupied by windows, similarly to layer-shell panels.
@ -250,8 +267,8 @@ layout {
// Top and bottom struts will simply add outer gaps in addition to the area occupied by
// layer-shell panels and regular gaps.
struts {
left 24
right 24
left 32
right 32
// top 64
// bottom 64
}
@ -263,13 +280,15 @@ layout {
// See the binds section below for more spawn examples.
// This line starts waybar, a commonly used bar for Wayland compositors.
spawn-at-startup "waybar"
//spawn-at-startup "waybar"
spawn-at-startup "qs" "-c" "noctalia-shell"
spawn-at-startup "swww-daemon"
spawn-at-startup "gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Dark'"
spawn-at-startup "gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'"
spawn-at-startup "gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'"
// spawn-at-startup "gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Dark'"
// spawn-at-startup "gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'"
// spawn-at-startup "gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'"
spawn-at-startup "swayidle" "-w"
spawn-at-startup "systemctl" "--user" "start" "plasma-polkit-agent.service"
spawn-at-startup "xhost" "+local:"
environment {
QT_QPA_PLATFORMTHEME "qt6ct"
@ -285,7 +304,7 @@ xwayland-satellite {
hotkey-overlay {
// Uncomment this line to disable the "Important Hotkeys" pop-up at startup.
// skip-at-startup
skip-at-startup
}
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
@ -352,7 +371,7 @@ window-rule {
// Example: enable rounded corners for all windows.
// (This example rule is commented out with a "/-" in front.)
window-rule {
geometry-corner-radius 0
geometry-corner-radius 20
clip-to-geometry true
}
@ -373,10 +392,17 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; }
Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel" "--lines=10"; }
Mod+D hotkey-overlay-title="Noctalia launcher" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "launcher" "toggle"; }
Mod+S { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "controlCenter" "toggle"; }
Mod+V { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "launcher" "clipboard"; }
Mod+T { spawn "kitty" "--single-instance" "-e" "tsui"; }
Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty" "--single-instance"; }
//Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel" "--lines=10"; }
Mod+E hotkey-overlay-title="Nemo" { spawn "nemo"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "lockScreen" "lock"; }
Super+Shift+C hotkey-overlay-title="Remmina" { spawn "~/.dotfiles/bin/fuzzel-remmina"; }
Super+Shift+S hotkey-overlay-title="Fast ssh" { spawn "~/.local/bin/fuzzel-ssh"; }
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
@ -401,7 +427,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+Tab repeat=false { toggle-overview; }
Mod+Q repeat=false { close-window; }
@ -588,7 +614,7 @@ binds {
Mod+Shift+Equal { set-window-height "+10%"; }
// Move the focused window between the floating and the tiling layout.
Mod+V { toggle-window-floating; }
Mod+Alt+V { toggle-window-floating; }
Mod+Shift+V { switch-focus-between-floating-and-tiling; }
// Toggle tabbed column display mode.