Compare commits
3 Commits
cachyos-th
...
3cc19cd9b8
| Author | SHA1 | Date | |
|---|---|---|---|
| 3cc19cd9b8 | |||
| 7738be3e18 | |||
| d5bae08f32 |
@@ -3,10 +3,6 @@
|
|||||||
// Check the wiki for a full description of the configuration:
|
// Check the wiki for a full description of the configuration:
|
||||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Introduction
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Introduction
|
||||||
|
|
||||||
hotkey-overlay {
|
|
||||||
skip-at-startup
|
|
||||||
}
|
|
||||||
|
|
||||||
// Input device configuration.
|
// Input device configuration.
|
||||||
// Find the full list of options on the wiki:
|
// Find the full list of options on the wiki:
|
||||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Input
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Input
|
||||||
@@ -121,25 +117,35 @@ input {
|
|||||||
// automatically.
|
// automatically.
|
||||||
position x=1280 y=0
|
position x=1280 y=0
|
||||||
}
|
}
|
||||||
output "Acer Technologies KG272U TP1SA002851C" {
|
output "HDMI-A-1" {
|
||||||
mode "2560x1440"
|
// Uncomment this line to disable this output.
|
||||||
|
// off
|
||||||
|
|
||||||
|
// Resolution and, optionally, refresh rate of the output.
|
||||||
|
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
|
||||||
|
// If the refresh rate is omitted, niri will pick the highest refresh rate
|
||||||
|
// for the resolution.
|
||||||
|
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
|
||||||
|
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
|
||||||
|
mode "2560x1440@74.924"
|
||||||
|
|
||||||
|
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
|
||||||
scale 1
|
scale 1
|
||||||
|
|
||||||
|
// Transform allows to rotate the output counter-clockwise, valid values are:
|
||||||
|
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
|
||||||
transform "90"
|
transform "90"
|
||||||
position x=0 y=0
|
|
||||||
}
|
|
||||||
|
|
||||||
output "ViewSonic Corporation VX2758-Series VVF190100000" {
|
// Position of the output in the global coordinate space.
|
||||||
mode "2560x1440"
|
// This affects directional monitor actions like "focus-monitor-left", and cursor movement.
|
||||||
scale 1
|
// The cursor can only move between directly adjacent outputs.
|
||||||
transform "normal"
|
// Output scale and rotation has to be taken into account for positioning:
|
||||||
position x=1440 y=755
|
// outputs are sized in logical, or scaled, pixels.
|
||||||
focus-at-startup
|
// For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
|
||||||
}
|
// so to put another output directly adjacent to it on the right, set its x to 1920.
|
||||||
|
// If the position is unset or results in an overlap, the output is instead placed
|
||||||
output "AU Optronics 0x583D Unknown" {
|
// automatically.
|
||||||
mode "1920x1080"
|
position x=0 y=-730
|
||||||
scale 1.25
|
|
||||||
transform "normal"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Settings that influence how windows are positioned and sized.
|
// Settings that influence how windows are positioned and sized.
|
||||||
@@ -175,7 +181,7 @@ layout {
|
|||||||
// preset-window-heights { }
|
// preset-window-heights { }
|
||||||
|
|
||||||
// You can change the default width of the new windows.
|
// You can change the default width of the new windows.
|
||||||
default-column-width { proportion 0.66667; }
|
default-column-width { proportion 0.5; }
|
||||||
// If you leave the brackets empty, the windows themselves will decide their initial width.
|
// If you leave the brackets empty, the windows themselves will decide their initial width.
|
||||||
// default-column-width {}
|
// default-column-width {}
|
||||||
|
|
||||||
@@ -301,11 +307,14 @@ layout {
|
|||||||
spawn-at-startup "waybar"
|
spawn-at-startup "waybar"
|
||||||
spawn-at-startup "/home/danmac/.config/niri/sway_startup" "/home/danmac/Pictures/Nextcloud/IMG_8826-Enhanced-NR.jpg"
|
spawn-at-startup "/home/danmac/.config/niri/sway_startup" "/home/danmac/Pictures/Nextcloud/IMG_8826-Enhanced-NR.jpg"
|
||||||
spawn-at-startup "xwayland-satellite"
|
spawn-at-startup "xwayland-satellite"
|
||||||
|
spawn-at-startup "xrdb" "/home/danmac/.Xresources"
|
||||||
spawn-at-startup "flatpak" "run" "com.nextcloud.desktopclient.nextcloud"
|
spawn-at-startup "flatpak" "run" "com.nextcloud.desktopclient.nextcloud"
|
||||||
spawn-at-startup "cosmic-app-library"
|
spawn-at-startup "cosmic-app-library"
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
DISPLAY ":0"
|
DISPLAY ":0"
|
||||||
|
XCURSOR_THEME "Pop"
|
||||||
|
XCURSOR_SIZE "24"
|
||||||
}
|
}
|
||||||
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
||||||
// If the client will specifically ask for CSD, the request will be honored.
|
// If the client will specifically ask for CSD, the request will be honored.
|
||||||
@@ -339,13 +348,13 @@ animations {
|
|||||||
|
|
||||||
// Work around WezTerm's initial configure bug
|
// Work around WezTerm's initial configure bug
|
||||||
// by setting an empty default-column-width.
|
// by setting an empty default-column-width.
|
||||||
// window-rule {
|
window-rule {
|
||||||
// This regular expression is intentionally made as specific as possible,
|
// This regular expression is intentionally made as specific as possible,
|
||||||
// since this is the default config, and we want no false positives.
|
// since this is the default config, and we want no false positives.
|
||||||
// You can get away with just app-id="wezterm" if you want.
|
// You can get away with just app-id="wezterm" if you want.
|
||||||
// match app-id=r#"^org\.wezfurlong\.wezterm$"#
|
match app-id=r#"^org\.wezfurlong\.wezterm$"#
|
||||||
// default-column-width { }
|
default-column-width {}
|
||||||
// }
|
}
|
||||||
|
|
||||||
// Open the Firefox picture-in-picture player as floating by default.
|
// Open the Firefox picture-in-picture player as floating by default.
|
||||||
window-rule {
|
window-rule {
|
||||||
@@ -361,21 +370,6 @@ window-rule {
|
|||||||
open-floating true
|
open-floating true
|
||||||
}
|
}
|
||||||
|
|
||||||
window-rule {
|
|
||||||
// Zed and Zen should be 66% wide
|
|
||||||
match app-id="dev.zed.Zed"
|
|
||||||
match app-id="zen"
|
|
||||||
|
|
||||||
default-column-width { proportion 0.66667; }
|
|
||||||
}
|
|
||||||
|
|
||||||
window-rule {
|
|
||||||
// Nautilus open dialog should be floating
|
|
||||||
match app-id="org.gnome.Nautilus" title=r#"^Open"#
|
|
||||||
|
|
||||||
open-floating true
|
|
||||||
}
|
|
||||||
|
|
||||||
// Example: block out two password managers from screen capture.
|
// Example: block out two password managers from screen capture.
|
||||||
// (This example rule is commented out with a "/-" in front.)
|
// (This example rule is commented out with a "/-" in front.)
|
||||||
/-window-rule {
|
/-window-rule {
|
||||||
@@ -415,11 +409,8 @@ binds {
|
|||||||
Mod+D hotkey-overlay-title="Open the COSMIC App Launcher" { spawn "cosmic-app-library"; }
|
Mod+D hotkey-overlay-title="Open the COSMIC App Launcher" { spawn "cosmic-app-library"; }
|
||||||
Mod+Shift+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
|
Mod+Shift+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
|
||||||
Mod+B hotkey-overlay-title="Open the Default Browser" { spawn "xdg-open" "http://"; }
|
Mod+B hotkey-overlay-title="Open the Default Browser" { spawn "xdg-open" "http://"; }
|
||||||
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock" "-f" "-i" "/usr/share/backgrounds/gnome/swoosh-l.jxl"; }
|
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
|
||||||
|
|
||||||
// toggle notification panel
|
|
||||||
Mod+Shift+N hotkey-overlay-title="Toggle notification window" { spawn "swaync-client" "-t"; }
|
|
||||||
XF86NotificationCenter hotkey-overlay-title="Toggle notification window" { spawn "swaync-client" "-t"; }
|
|
||||||
// You can also use a shell. Do this if you need pipes, multiple commands, etc.
|
// You can also use a shell. Do this if you need pipes, multiple commands, etc.
|
||||||
// Note: the entire command goes as a single argument in the end.
|
// Note: the entire command goes as a single argument in the end.
|
||||||
// Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
|
// Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
|
||||||
@@ -431,7 +422,6 @@ binds {
|
|||||||
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
||||||
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
||||||
XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; }
|
XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; }
|
||||||
XF86Favorites allow-when-locked=true { spawn "playerctl" "play-pause"; }
|
|
||||||
|
|
||||||
// Open/close the Overview: a zoomed-out view of workspaces and windows.
|
// Open/close the Overview: a zoomed-out view of workspaces and windows.
|
||||||
// You can also move the mouse into the top-left hot corner,
|
// You can also move the mouse into the top-left hot corner,
|
||||||
@@ -598,7 +588,6 @@ binds {
|
|||||||
Mod+Shift+R { switch-preset-window-height; }
|
Mod+Shift+R { switch-preset-window-height; }
|
||||||
Mod+Ctrl+R { reset-window-height; }
|
Mod+Ctrl+R { reset-window-height; }
|
||||||
Mod+F { maximize-column; }
|
Mod+F { maximize-column; }
|
||||||
Mod+G { reset-window-height; }
|
|
||||||
Mod+Shift+F { fullscreen-window; }
|
Mod+Shift+F { fullscreen-window; }
|
||||||
|
|
||||||
// Expand the focused column to space not taken up by other fully visible columns.
|
// Expand the focused column to space not taken up by other fully visible columns.
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"layer": "top", // Waybar at top layer
|
"layer": "top", // Waybar at top layer
|
||||||
"output": ["DP-1", "eDP-1"], // Only display on on monitor
|
"output": ["eDP-1", "DP-1"], // Only display on on monitor
|
||||||
"position": "top", // Waybar position (top|bottom|left|right)
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
"height": 28, // Waybar height (to be removed for auto height)
|
"height": 36, // Waybar height (to be removed for auto height)
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"custom/logo",
|
"custom/logo",
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
},
|
},
|
||||||
"wlr/taskbar": {
|
"wlr/taskbar": {
|
||||||
"active-first": true,
|
"active-first": true,
|
||||||
"icon-size": 20,
|
"icon-size": 24,
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"on-click-middle": "close",
|
"on-click-middle": "close",
|
||||||
"app_ids-mapping": {
|
"app_ids-mapping": {
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 20,
|
// "icon-size": 21,
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
"on-click-right": "exec wezterm -e btm"
|
"on-click-right": "exec wezterm -e btm"
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": "{percentage}% ",
|
"format": "{percentage}% / {used:0.1f}GiB ",
|
||||||
"on-click-right": "exec wezterm -e btm"
|
"on-click-right": "exec wezterm -e btm"
|
||||||
},
|
},
|
||||||
"temperature": {
|
"temperature": {
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
"format": "{capacity}% {icon}",
|
"format": "{capacity}% {icon}",
|
||||||
"format-charging": "{capacity}% ",
|
"format-charging": "",
|
||||||
"format-plugged": "",
|
"format-plugged": "",
|
||||||
"format-alt": "{capacity}% {time}",
|
"format-alt": "{capacity}% {time}",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
#waybar {
|
#waybar {
|
||||||
background-color: alpha(@base, 0.7);
|
background-color: alpha(@base, 0.7);
|
||||||
/* background: transparent; */
|
/* background: transparent; */
|
||||||
margin: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-logo {
|
#custom-logo {
|
||||||
@@ -20,7 +19,7 @@
|
|||||||
background-color: @base;
|
background-color: @base;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 40%;
|
background-size: 24px;
|
||||||
padding: 0px 8px 0px 24px;
|
padding: 0px 8px 0px 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -35,7 +34,7 @@
|
|||||||
#custom-pl-pulse,
|
#custom-pl-pulse,
|
||||||
#custom-pl-idle-before,
|
#custom-pl-idle-before,
|
||||||
#custom-pl-tray {
|
#custom-pl-tray {
|
||||||
font-size: 24px;
|
font-size: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces *,
|
#workspaces *,
|
||||||
@@ -44,8 +43,8 @@
|
|||||||
#clock,
|
#clock,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#cpu,
|
#cpu,
|
||||||
#memory,
|
|
||||||
#battery,
|
#battery,
|
||||||
|
#memory,
|
||||||
#temperature,
|
#temperature,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#custom-power,
|
#custom-power,
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
local wezterm = require("wezterm")
|
local wezterm = require 'wezterm'
|
||||||
local c = {}
|
local c = {}
|
||||||
|
|
||||||
-- Display Configuration
|
-- Display Configuration
|
||||||
|
|
||||||
c.font = wezterm.font("NotoMono Nerd Font")
|
c.font = wezterm.font 'NotoMono Nerd Font'
|
||||||
c.color_scheme = "Catppuccin Macchiato"
|
c.color_scheme = 'Catppuccin Macchiato'
|
||||||
c.window_background_opacity = 0.7
|
c.window_background_opacity = 0.7
|
||||||
c.window_decorations = "NONE"
|
c.window_decorations = 'RESIZE'
|
||||||
c.visual_bell = {
|
c.visual_bell = {
|
||||||
fade_in_function = "EaseIn",
|
fade_in_function = 'EaseIn',
|
||||||
fade_in_duration_ms = 150,
|
fade_in_duration_ms = 150,
|
||||||
fade_out_function = "EaseOut",
|
fade_out_function = 'EaseOut',
|
||||||
fade_out_duration_ms = 150,
|
fade_out_duration_ms = 150,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Tab Configuration
|
-- Tab Configuration
|
||||||
@@ -23,6 +23,6 @@ c.switch_to_last_active_tab_when_closing_tab = true
|
|||||||
|
|
||||||
-- Stop Confirming shit please
|
-- Stop Confirming shit please
|
||||||
|
|
||||||
c.window_close_confirmation = "NeverPrompt"
|
c.window_close_confirmation = 'NeverPrompt'
|
||||||
|
|
||||||
return c
|
return c
|
||||||
|
|||||||
Reference in New Issue
Block a user