Greetd setup for niri config, get waybar into a good aesthetic state
This commit is contained in:
parent
3e1dc6cc69
commit
a3055cf24c
|
|
@ -51,11 +51,11 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# Start sway after login if on TTY1 (Default Linux TTY upon boot/login)
|
# Start sway after login if on TTY1 (Default Linux TTY upon boot/login)
|
||||||
programs.bash.profileExtra = ''
|
#programs.bash.profileExtra = ''
|
||||||
if [[ $(tty) == "/dev/tty1" ]]; then
|
# if [[ $(tty) == "/dev/tty1" ]]; then
|
||||||
niri --session
|
# niri-session
|
||||||
exit
|
# exit
|
||||||
fi
|
# fi
|
||||||
'';
|
# '';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,17 @@ in
|
||||||
kdePackages.polkit-kde-agent-1 # Polkit Prompt for password prompts etc
|
kdePackages.polkit-kde-agent-1 # Polkit Prompt for password prompts etc
|
||||||
lxqt.lxqt-openssh-askpass # GUI to query passwords on behalf of SSH agents
|
lxqt.lxqt-openssh-askpass # GUI to query passwords on behalf of SSH agents
|
||||||
];
|
];
|
||||||
|
# The minimal login manager I'm using for niri
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd niri-session";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# XDG Portal Integration (For file chooser/screensharing etc)
|
# XDG Portal Integration (For file chooser/screensharing etc)
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
xdg.portal.wlr.enable = true;
|
xdg.portal.wlr.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"modules-left": [],
|
"modules-left": [],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["network", "battery", "pulseaudio"],
|
"modules-right": ["network", "pulseaudio", "battery"],
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%H:%M}",
|
"format": " {:%H:%M}",
|
||||||
"format-alt": "{:%a %b %d}",
|
"format-alt": " {:%a %b %d}",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
|
|
@ -16,24 +16,24 @@
|
||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
"bat":"BAT1",
|
"bat":"BAT1",
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-charging": " {capacity}%",
|
"format-charging": " {capacity}%",
|
||||||
"format-plugged": " {capacity}%",
|
"format-plugged": " {capacity}%",
|
||||||
"format-discharging": " {capacity}%",
|
"format-discharging": " {capacity}%",
|
||||||
"format-alt": "{icon} {time}",
|
"format-alt": "{icon} {time}",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"format": "{ifname}",
|
"format": "{ifname}",
|
||||||
"format-wifi": " {essid}",
|
"format-wifi": " {essid}",
|
||||||
"format-ethernet": " {ifname}",
|
"format-ethernet": " {ifname}",
|
||||||
"format-disconnected": "",
|
"format-disconnected": " No Internet",
|
||||||
"tooltip-format-wifi": "{signalStrength}%",
|
"tooltip-format-wifi": "{signalStrength}%",
|
||||||
"max-length": 20
|
"max-length": 20
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon} {volume}%",
|
"format": "{icon} {volume}%",
|
||||||
"format-bluetooth": "{icon} {volume}%",
|
"format-bluetooth": "{icon} {volume}%",
|
||||||
"format-muted": "",
|
"format-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphone": "",
|
"headphone": "",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
|
@define-color background-color rgb (40, 40, 40);
|
||||||
|
@define-color foreground-color rgb (235, 219, 178);
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-size: 12px;
|
font-size: 13px;
|
||||||
font-family: "Terminus (TTF)";
|
font-family: "Hack Nerd Font";
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
|
|
@ -9,42 +12,40 @@ window#waybar {
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
margin: 3px 0px 3px 0px;
|
margin: 3px 0px 3px 0px;
|
||||||
background: #1d1f21;
|
background: @background-color;
|
||||||
|
color: @foreground-color;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
color: #c5c8c6;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
margin: 3px 0px 3px 3px;
|
margin: 3px 0px 3px 3px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
color: #FFF;
|
background: #fbf1c7;
|
||||||
background: #1d1f21;
|
background: @background-color;
|
||||||
border-top-left-radius: 10px;
|
color: @foreground-color;
|
||||||
border-bottom-left-radius: 10px;
|
border-radius: 10px;
|
||||||
color: #c5c8c6;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-keyboard {
|
#custom-keyboard {
|
||||||
background: #1d1f21;
|
background: @background-color;
|
||||||
color: #c5c8c6;
|
color: @foreground-color;
|
||||||
padding: 5px 5px 5px 7px;
|
padding: 5px 5px 5px 7px;
|
||||||
margin: 3px 0px 3px 3px;
|
margin: 3px 0px 3px 3px;
|
||||||
border-top-left-radius: 10px;
|
border-radius: 10px;
|
||||||
border-bottom-left-radius: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
margin: 3px 3px 3px 0px;
|
margin: 3px 3px 3px 0px;
|
||||||
padding: 5px 7px 5px 5px;
|
padding: 5px 7px 5px 5px;
|
||||||
background: #1d1f21;
|
background: @background-color;
|
||||||
border-top-right-radius: 10px;
|
color: @foreground-color;
|
||||||
border-bottom-right-radius: 10px;
|
border-radius: 10px;
|
||||||
color: #c5c8c6;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#network {
|
#network {
|
||||||
background: #1d1f21;
|
margin: 3px 3px 3px 0px;
|
||||||
color: #c5c8c6;
|
padding: 5px 7px 5px 5px;
|
||||||
margin: 3px 0px 3px 0px;
|
background: @background-color;
|
||||||
padding: 5px;
|
color: @foreground-color;
|
||||||
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue