Updated waybar fuzzel and niri configs for the laptop

This commit is contained in:
2025-06-26 14:01:04 +09:30
parent 56ae2cd201
commit 5fbd147cc4
6 changed files with 32 additions and 10 deletions

View File

@@ -28,17 +28,18 @@ input {
// Next sections include libinput settings.
// Omitting settings disables them, or leaves them at their default values.
touchpad {
off
// off
// tap
// dwt
// dwtp
// drag false
// drag-lock
// natural-scroll
natural-scroll
// accel-speed 0.2
// accel-profile "flat"
// scroll-method "two-finger"
// disabled-on-external-mouse
scroll-method "two-finger"
disabled-on-external-mouse
click-method "clickfinger"
}
mouse {
@@ -60,6 +61,18 @@ input {
// middle-emulation
}
touch {
// off
map-to-output "eDP-1"
}
tablet {
// off
map-to-output "eDP-1"
// left-handed
// calibration-matrix 1.0 0.0 0.0 0.0 1.0 0.0
}
// Uncomment this to make the mouse warp to the center of newly focused windows.
warp-mouse-to-focus
@@ -69,6 +82,7 @@ input {
// Change the Mod key to Alt
mod-key "Alt"
mod-key-nested "Super"
}
// You can configure outputs by their name, which you can find
@@ -282,6 +296,9 @@ layout {
spawn-at-startup "swaybg" "-m" "fill" "-i" "/usr/share/backgrounds/gnome/swoosh-l.jxl"
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 "cosmic-app-library"
environment {
DISPLAY ":0"
@@ -384,7 +401,8 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; }
Mod+D hotkey-overlay-title="Run an Application: cosmic-apps" { 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+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"; }