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

@@ -24,7 +24,7 @@ font=NotoSans Nerd Font
# x-margin=0 # x-margin=0
# y-margin=0 # y-margin=0
# lines=15 # lines=15
width=80 width=40
# tabs=8 # tabs=8
# horizontal-pad=40 # horizontal-pad=40
# vertical-pad=8 # vertical-pad=8

View File

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

View File

@@ -1,6 +1,6 @@
{ {
"layer": "top", // Waybar at top layer "layer": "top", // Waybar at top layer
"output": "DP-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": 36, // 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
@@ -27,6 +27,7 @@
"cpu", "cpu",
"memory", "memory",
"temperature", "temperature",
"battery",
"custom/pl-stats", "custom/pl-stats",
"pulseaudio", "pulseaudio",
"custom/pl-pulse", "custom/pl-pulse",
@@ -91,7 +92,7 @@
"on-click-right": "exec wezterm -e btm" "on-click-right": "exec wezterm -e btm"
}, },
"memory": { "memory": {
"format": "{percentage}% / {used:0.1f}GiB / {avail:0.1f}GiB ", "format": "{percentage}% / {used:0.1f}GiB ",
"on-click-right": "exec wezterm -e btm" "on-click-right": "exec wezterm -e btm"
}, },
"temperature": { "temperature": {
@@ -115,7 +116,7 @@
"warning": 30, "warning": 30,
"critical": 15 "critical": 15
}, },
"format": "{icon}", "format": "{capacity}% {icon}",
"format-charging": "󱐋", "format-charging": "󱐋",
"format-plugged": "", "format-plugged": "",
"format-alt": "{capacity}% {time}", "format-alt": "{capacity}% {time}",

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@@ -1 +1 @@
pika-logo.svg cachy-logo.svg

View File

@@ -43,6 +43,7 @@
#clock, #clock,
#idle_inhibitor, #idle_inhibitor,
#cpu, #cpu,
#battery,
#memory, #memory,
#temperature, #temperature,
#pulseaudio, #pulseaudio,
@@ -149,6 +150,7 @@
#cpu, #cpu,
#memory, #memory,
#battery,
#temperature { #temperature {
background: @peach; background: @peach;
padding: 0px 6px; padding: 0px 6px;