feat(wrappers): start wrapping configs
thanks to @fdncred for the ls function with nushell
This commit is contained in:
parent
d757d6b432
commit
c4a290ae63
13 changed files with 136 additions and 26 deletions
|
@ -20,7 +20,7 @@ input {
|
|||
|
||||
// Next sections include libinput settings.
|
||||
// Omitting settings disables them, or leaves them at their default values.
|
||||
touchpad {
|
||||
/-touchpad {
|
||||
// off
|
||||
tap
|
||||
// dwt
|
||||
|
@ -40,7 +40,7 @@ input {
|
|||
// scroll-method "no-scroll"
|
||||
}
|
||||
|
||||
trackpoint {
|
||||
/-trackpoint {
|
||||
// off
|
||||
// natural-scroll
|
||||
// accel-speed 0.2
|
||||
|
@ -99,7 +99,7 @@ output "HDMI-A-1" {
|
|||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
|
||||
layout {
|
||||
// Set gaps around windows in logical pixels.
|
||||
gaps 8
|
||||
gaps 10
|
||||
|
||||
// When to center a column when changing focus, options are:
|
||||
// - "never", default behavior, focusing an off-screen column will keep at the left
|
||||
|
@ -155,10 +155,10 @@ layout {
|
|||
// - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others.
|
||||
|
||||
// Color of the ring on the active monitor.
|
||||
active-color "#7fc8ff"
|
||||
active-color "#88C0D0"
|
||||
|
||||
// Color of the ring on inactive monitors.
|
||||
inactive-color "#505050"
|
||||
inactive-color "#5E81AC"
|
||||
|
||||
// You can also use gradients. They take precedence over solid colors.
|
||||
// Gradients are rendered the same as CSS linear-gradient(angle, from, to).
|
||||
|
@ -272,8 +272,8 @@ window-rule {
|
|||
|
||||
// Example: enable rounded corners for all windows.
|
||||
// (This example rule is commented out with a "/-" in front.)
|
||||
/-window-rule {
|
||||
geometry-corner-radius 12
|
||||
window-rule {
|
||||
geometry-corner-radius 6
|
||||
clip-to-geometry true
|
||||
}
|
||||
|
||||
|
@ -293,7 +293,7 @@ binds {
|
|||
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||
|
||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+T { spawn "kitty"; }
|
||||
Mod+T { spawn "foot"; }
|
||||
Mod+D { spawn "rofi" "-show" "drun"; }
|
||||
// Super+Alt+L { spawn "swaylock"; }
|
||||
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"position": "top",
|
||||
"height": 0,
|
||||
"spacing": 16,
|
||||
"modules-left": ["mpris"],
|
||||
"modules-center": ["niri/workspaces"],
|
||||
"modules-right": ["wireplumber", "clock"],
|
||||
"mpris": {
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||
"interval": 1,
|
||||
"dynamic-len": 52,
|
||||
"player-icons": {
|
||||
"default": "▶",
|
||||
"mpv": "🎵",
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": "",
|
||||
"paused": "⏸",
|
||||
},
|
||||
},
|
||||
"clock": {
|
||||
"format": " {:%H:%M}",
|
||||
"tooltip-format": "{:%A, %B %d, %Y}",
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
"on-click": "helvum",
|
||||
"format-icons": ["", "", ""],
|
||||
},
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
$base00: #2e3440;
|
||||
$base01: #3b4252;
|
||||
$base02: #434c5e;
|
||||
$base03: #4c566a;
|
||||
$base04: #d8dee9;
|
||||
$base05: #e5e9f0;
|
||||
$base06: #eceff4;
|
||||
$base07: #8fbcbb;
|
||||
$base08: #bf616a;
|
||||
$base09: #d08770;
|
||||
$base0A: #ebcb8b;
|
||||
$base0B: #a3be8c;
|
||||
$base0C: #88c0d0;
|
||||
$base0D: #81a1c1;
|
||||
$base0E: #b48ead;
|
||||
$base0F: #5e81ac;
|
||||
|
||||
* {
|
||||
all: unset;
|
||||
font-size: 15px;
|
||||
color: $base06;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: $base00;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: $base01;
|
||||
}
|
||||
|
||||
.modules-left,
|
||||
.modules-right {
|
||||
background: $base01;
|
||||
padding: 0px 8px;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
background: $base01;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 6px 12px;
|
||||
transition: 0.2s;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
padding: 6px 22px;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background: $base02;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue