mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
feat: moved from sway to niri
This commit is contained in:
parent
338e12ad7d
commit
4789d2e5d7
17 changed files with 315 additions and 513 deletions
|
@ -1,6 +1 @@
|
|||
export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share
|
||||
|
||||
foot --server
|
||||
if [ -z "$WAYLAND_DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
||||
exec dbus-run-session niri-session
|
||||
fi
|
||||
|
|
19
home-manager/dotfiles/fuzzel/fuzzel.ini
Normal file
19
home-manager/dotfiles/fuzzel/fuzzel.ini
Normal file
|
@ -0,0 +1,19 @@
|
|||
[main]
|
||||
font=
|
||||
match-mode=fzf
|
||||
|
||||
[colors]
|
||||
background=eff1f5dd
|
||||
text=4c4f69ff
|
||||
prompt=5c5f77ff
|
||||
placeholder=8c8fa1ff
|
||||
input=4c4f69ff
|
||||
match=d20f39ff
|
||||
selection=acb0beff
|
||||
selection-text=4c4f69ff
|
||||
selection-match=d20f39ff
|
||||
counter=8c8fa1ff
|
||||
border=d20f39ff
|
||||
|
||||
[border]
|
||||
radius=0
|
|
@ -294,6 +294,7 @@ window-rule {
|
|||
// - host Firefox (app-id is "firefox")
|
||||
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
|
||||
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
|
||||
match app-id=r#"zen$"# title="^Picture-in-Picture$"
|
||||
open-floating true
|
||||
}
|
||||
|
||||
|
@ -333,7 +334,7 @@ binds {
|
|||
|
||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+Return { spawn "foot"; }
|
||||
Mod+D { spawn "walker"; }
|
||||
Mod+D { spawn "fuzzel"; }
|
||||
Super+Alt+L { spawn "swaylock"; }
|
||||
|
||||
// You can also use a shell. Do this if you need pipes, multiple commands, etc.
|
||||
|
@ -566,6 +567,7 @@ binds {
|
|||
Mod+Shift+P { power-off-monitors; }
|
||||
}
|
||||
|
||||
// wayland support
|
||||
spawn-at-startup "xwayland-satellite"
|
||||
|
||||
environment {
|
||||
|
|
BIN
home-manager/dotfiles/niri/wallpapers/miku1.jpg
Normal file
BIN
home-manager/dotfiles/niri/wallpapers/miku1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 219 KiB |
26
home-manager/dotfiles/waybar/latte.css
Normal file
26
home-manager/dotfiles/waybar/latte.css
Normal file
|
@ -0,0 +1,26 @@
|
|||
@define-color rosewater #dc8a78;
|
||||
@define-color flamingo #dd7878;
|
||||
@define-color pink #ea76cb;
|
||||
@define-color mauve #8839ef;
|
||||
@define-color red #d20f39;
|
||||
@define-color maroon #e64553;
|
||||
@define-color peach #fe640b;
|
||||
@define-color yellow #df8e1d;
|
||||
@define-color green #40a02b;
|
||||
@define-color teal #179299;
|
||||
@define-color sky #04a5e5;
|
||||
@define-color sapphire #209fb5;
|
||||
@define-color blue #1e66f5;
|
||||
@define-color lavender #7287fd;
|
||||
@define-color text #4c4f69;
|
||||
@define-color subtext1 #5c5f77;
|
||||
@define-color subtext0 #6c6f85;
|
||||
@define-color overlay2 #7c7f93;
|
||||
@define-color overlay1 #8c8fa1;
|
||||
@define-color overlay0 #9ca0b0;
|
||||
@define-color surface2 #acb0be;
|
||||
@define-color surface1 #bcc0cc;
|
||||
@define-color surface0 #ccd0da;
|
||||
@define-color base #eff1f5;
|
||||
@define-color mantle #e6e9ef;
|
||||
@define-color crust #dce0e8;
|
|
@ -1,4 +1,5 @@
|
|||
@define-color primary rgba(123, 0, 44, 1);
|
||||
@import "latte.css";
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
|
@ -12,11 +13,11 @@
|
|||
font-family: "DM Sans", "CodeNewRoman Nerd Font", sans-serif;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
color: #000;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: #fff;
|
||||
background-color: @base;
|
||||
padding-right: 12px;
|
||||
/*border: solid 2px @primary;*/
|
||||
min-height: 14px; /* set waybar's height to 14px */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue