Finalised tweaks to waybar niri and wezterm

This commit is contained in:
2025-06-26 16:27:25 +09:30
parent bafa00a6a1
commit 0f8709784a
3 changed files with 19 additions and 15 deletions

View File

@@ -136,6 +136,12 @@ output "ViewSonic Corporation VX2758-Series VVF190100000" {
focus-at-startup focus-at-startup
} }
output "AU Optronics 0x583D Unknown" {
mode "1920x1080"
scale 1.25
transform "normal"
}
// Settings that influence how windows are positioned and sized. // Settings that influence how windows are positioned and sized.
// Find more information on the wiki: // Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout // https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
@@ -169,7 +175,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.5; } default-column-width { proportion 0.66667; }
// 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 {}
@@ -295,8 +301,6 @@ 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 "swayidle" "-w" "timeout" "601" "niri msg action power-off-monitors" "timeout" "600" "swaylock -f -i /usr/share/backgrounds/gnome/swoosh-l.jxl" "before-sleep" "swaylock -f -i /usr/share/backgrounds/gnome/swoosh-l.jxl"
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"
@@ -340,7 +344,7 @@ animations {
// 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.

View File

@@ -117,8 +117,8 @@
"critical": 15 "critical": 15
}, },
"format": "{capacity}% {icon}", "format": "{capacity}% {icon}",
"format-charging": "󱐋", "format-charging": "{capacity}% 󱐋",
"format-plugged": "", "format-plugged": "{capacity}% ",
"format-alt": "{capacity}% {time}", "format-alt": "{capacity}% {time}",
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },

View File

@@ -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 = 'RESIZE' c.window_decorations = "NONE"
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