- Updated stylix for improved aesthetics. (Defaults to plasma theme for qt apps)

- Added zoxide
- Adjusted gaps and border widths in niri layout.
- Added new wallpaper files.
This commit is contained in:
2025-12-11 10:55:05 +01:00
parent 4daef71117
commit 6bb20b177b
15 changed files with 336 additions and 272 deletions

View File

@ -218,6 +218,26 @@
}; };
# security.rtkit.enable = true; # security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
#jack.enable = true;
};
services.pipewire.wireplumber.extraConfig = {
"10-bluez-monitor.properties" = {
"bluez5.msbc-support" = false;
"bluez5.hfphsp-support" = false;
"bluez5.hfphsp-backend" = "none"; # Key addition: no backend
"bluez5.roles" = [ "a2dp_sink" ];
};
"11-bluetooth-policy" = {
"wireplumber.settings" = {
"bluetooth.autoswitch-to-headset-profile" = false;
};
};
};
# services.pipewire = { # services.pipewire = {
# enable = true; # enable = true;
# alsa.enable = true; # alsa.enable = true;

View File

@ -1,5 +1,14 @@
{ ... }: { username, ... }:
{ {
programs.firefox = {
enable = true;
profiles = {
"${username}" = {
extensions.force = true;
};
};
};
systemd.user.services."firefox-autostart" = { systemd.user.services."firefox-autostart" = {
serviceConfig = { serviceConfig = {
ExecStart = ""; ExecStart = "";

View File

@ -38,6 +38,13 @@
home-manager = { enable = true; }; home-manager = { enable = true; };
zoxide = {
enable = true;
options = [
"--cmd cd"
];
};
kitty = { kitty = {
enable = true; enable = true;
settings = { settings = {

View File

@ -10,11 +10,17 @@
settings = { settings = {
preload = [ preload = [
"/home/${username}/NixOS/other/wallpaper2.png" "/home/${username}/NixOS/other/wallpaper1.png"
#"/home/${username}/NixOS/other/wallpaper2.png"
#"/home/${username}/NixOS/other/wallpaper3.png"
#"/home/${username}/NixOS/other/wallpaper4.png"
]; ];
wallpaper = [ wallpaper = [
"eDP-1,/home/${username}/NixOS/other/wallpaper2.png" "eDP-1,/home/${username}/NixOS/other/wallpaper1.png"
#"eDP-1,/home/${username}/NixOS/other/wallpaper2.png"
#"eDP-1,/home/${username}/NixOS/other/wallpaper3.png"
#"eDP-1,/home/${username}/NixOS/other/wallpaper4.png"
]; ];
}; };
}; };

View File

@ -36,5 +36,7 @@
fprintd fprintd
nh nh
whois whois
networkmanagerapplet
zoxide
]; ];
} }

View File

@ -40,7 +40,7 @@
plymouth.enable = true; plymouth.enable = true;
plymouth.logoAnimated = true; plymouth.logoAnimated = true;
console.enable = true; #Default console without desktop environment! (NOT KITTY!) console.enable = true; #Default console without desktop environment! (NOT KITTY!)
#grub.enable = false; grub.enable = false;
#qt.enable = false; #qt.enable = false;
}; };
}; };

View File

@ -9,9 +9,16 @@
stylix = { stylix = {
targets = { targets = {
#kitty.enable = false; kitty.enable = false;
#firefox = {
# enable = true;
# colorTheme.enable = true;
# profileNames = [ "${username}" ];
#};
qt.enable = true;
qt.platform = "kde";
#kde.enable = false; #kde.enable = false;
#zen-browser.profileNames = [ "${username}" ]; zen-browser.profileNames = [ "${username}" ];
}; };
}; };
} }

View File

@ -1,181 +1,153 @@
// -*- mode: jsonc -*-
{ {
"layer": "top", "layer": "top",
"mode": "dock", "position": "top",
"position": "top", // (top|bottom|left|right)
"height": 40, // (to be removed for auto height)
"width": "auto",
"spacing": 3, // Gaps between modules
"margin": 0,
"fixed-center": true,
"reload_style_on_change": true,
"modules-left": [ "modules-left": [
"sway/workspaces", "custom/launcher",
"sway/mode", "hyprland/workspaces",
"sway/scratchpad" "cpu",
"memory"
], ],
"modules-center": [ "modules-center": [
"clock" "hyprland/window"
], ],
"spacing": 4,
"modules-right": [ "modules-right": [
"custom/weather", "tray",
"pulseaudio", "wireplumber",
"temperature",
"network", "network",
"backlight", "backlight",
"clock",
"battery", "battery",
"tray" "custom/power"
], ],
"keyboard-state": { "backlight": {
"numlock": true, "device": "intel_backlight",
"capslock": true, "format": "{percent}% {icon}",
"format": "{icon} {name}", "format-icons": ["", ""]
"format-icons": { },
"locked": "", "hyprland/workspaces": {
"unlocked": "" "format": "{name}",
"persistent-workspaces": {
"1": [],
"2": [],
"3": []
} }
}, },
"sway/mode": { "hyprland/window": {
"format": "<span style=\"italic\">{}</span>" "icon": false,
}, "separate-outputs": true,
"sway/scratchpad": { "format": "{}"
"format": "{icon} {count}",
"show-empty": false,
"format-icons": [
"",
""
],
"tooltip": true,
"tooltip-format": "{title}",
"rewrite": {
"(.*) - Mozilla Firefox": "🌎 $1"
}
}, },
"tray": { "tray": {
"icon-size": 24, "icon-size": 15,
"show-passive-items": true, "spacing": 7
"spacing": 10
}, },
"clock": { "clock": {
"interval": 1, "format": "{:%H:%M} ",
"format": "{:%A %d. %b %T}", "format-alt": "{:%A, %B %d, %Y (%R)}",
"tooltip-format": "<tt><small>{calendar}</small></tt>", "tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": { "calendar": {
"mode": "year",
"mode-mon-col": 3,
"weeks-pos": "right",
"on-scroll": 1,
"on-click-right": "mode",
"format": { "format": {
"today": "<span color='#ff5555'><b><u>{}</u></b></span>" "months": "<span color='#f5e0dc'><b>{}</b></span>",
} "days": "<span color='#cdd6f4'><b>{}</b></span>",
"weeks": "<span color='#fab387'><b>W{}</b></span>",
"weekdays": "<span color='#f5c2e7'><b>{}</b></span>",
"today": "<span color='#cba6f7'><b><u>{}</u></b></span>"
} }
}, },
"temperature": { "actions": {
// "thermal-zone": 2, "on-click-right": "mode",
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "on-click-forward": "tz_up",
"interval": 1000, "on-click-backward": "tz_down",
"critical-threshold": 80, "on-scroll-up": "shift_up",
// "format-critical": "{temperatureC}°C {icon}", "on-scroll-down": "shift_down"
"format": "{temperatureC}°C" }
//"format-icons": ["", "", ""]
}, },
"backlight": { "cpu": {
// "device": "acpi_video1", "interval": 1,
"format": "{icon}", "format": "CPU {usage:>2}% {icon0}{icon1}{icon2}{icon3}",
"tooltip-format": "{icon} {percent}",
"format-icons": [ "format-icons": [
"󰌶", "",
"󱩎", "",
"󱩏", "",
"󱩐", "",
"󱩑", "",
"󱩒", "",
"󱩓", "",
"󱩔", ""
"󱩕", ],
"󱩖", "on-click": "kitty -e btop"
"󰛨"
]
}, },
"battery": { "memory": {
"states": { "interval": 30,
// "good": 95, "format": "MEM {used:0.1f}G/{total:0.1f}G"
"warning": 30,
"critical": 15
},
"format": "{icon}",
"format-full": "{icon}",
"format-charging": "{icon} ",
"format-plugged": "{icon} ",
"format-alt": "{icon}",
"format-icons": [
"",
"",
"",
"",
""
]
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "",
"performance": "",
"balanced": "",
"power-saver": ""
}
}, },
"network": { "network": {
"interval": 1000, "format": "󰤭 Disabled",
"format-wifi": "{icon}", "format-wifi": "",
"format-ethernet": "{ipaddr}/{cidr} ", "format-ethernet": " 󰈀 ",
"tooltip-format": "{essid}\n{ifname} via {gwaddr}\n{ipaddr}/{cidr}", "format-disconnected": "⚠",
"format-linked": "{ifname} (No IP) ", "tooltip": true,
"format-disconnected": "󰤭", "tooltip-format": "{ifname}\n{ipaddr}",
"format-alt": "{essid}", "tooltip-format-wifi": "{essid} {ifname}\n{ipaddr}\nstrength: {signalStrength}%",
"format-icons": [ "on-click": "networkmanager_dmenu"
"󰤯",
"󰤟",
"󰤢",
"󰤥",
"󰤨"
]
}, },
"pulseaudio": { "custom/launcher": {
"format": "{icon} {format_source}", "format": " 󰣇 ",
"format-muted": " {format_source}", "tooltip": false,
"format-source": "", "on-click": "wofi -c ~/.config/wofi/config -I"
"format-source-muted": " ", },
"format-bluetooth": "{icon} {format_source}", "custom/power": {
"format-bluetooth-muted": "{icon} {format_source}", "format": "  ",
"on-click": "~/.config/wofi/scripts/power.sh",
"tooltip": false
},
"wireplumber": {
"scroll-step": 10,
"format": "{volume}% {icon} ",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "muted ",
"on-click": "pavucontrol",
"format-icons": { "format-icons": {
"headphone": "", "headphones": "",
"hands-free": "", "handsfree": "",
"headset": "󰋎", "headset": "",
"phone": "", "phone": "",
"portable": "", "portable": "",
"car": "", "car": "",
"default": [ "default": [
"",
"", "",
"" "󰓃"
] ]
}
}, },
"tooltip-format": "{icon} {volume}%\n{format_source}", "battery": {
"ignored-sinks": [ "states": {
"Easy Effects Sink" "warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "󰂄 {capacity}%",
"format-pluged": "󱟦 {capacity}%",
"format-full": "󰁹 {capacity}%",
"format-icons": [
"󰂎",
"󰁺",
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
] ]
},
"sway/window": {
"format": "{app_id}",
"max-length": 50,
"rewrite": {
"(?:.*\\.)+(?!.*\\.)([^.]+)": "$1"
}
},
"custom/weather": {
"format": "{}°C",
"tooltip": true,
"interval": 3600,
"exec": "wttrbar --date-format \"%d.%m.%Y\" -l de",
"return-type": "json"
} }
} }

View File

@ -1,130 +1,167 @@
* { * {
border: none; font-family: "JetBrainsMono Nerd Font", sans-serif;
border-radius: 0; font-size: 13px;
font-family: JetBrainsMono NF ExtraBold, Roboto, Helvetica, Arial, sans-serif;
font-size: 21px;
min-height: 0;
} }
window#waybar { window#waybar {
background: rgba(0, 0, 0, 0.6); background-color: transparent;
color: white;
} }
button { window > box {
margin: 3px; margin-top: 0px;
margin-left: 10px;
margin-right: 10px;
padding-left: 4px;
padding-right: 4px;
}
#window {
background-color: #202020;
border-radius: 20px;
padding: 8px 12px 8px 8px;
margin: 0px 0;
}
window#waybar.empty #window {
background: rgba(12, 12, 12, 0);
}
.modules-left {
padding: 3px; padding: 3px;
} }
tooltip { .modules-right {
background: rgba(0, 0, 0, 0.202);/*rgba(43, 48, 59, 0.5);*/ padding: 3px;
border: 4px solid white;
border-radius: 10px;
} }
tooltip label { .modules-center {
color: white; padding: 3px;
}
#workspaces {
background-color: #202020;
border-radius: 20px;
padding: 4px 4px 4px 6px;
margin: 4px 0;
} }
#workspaces button { #workspaces button {
margin: 0; min-height: 0;
padding: 0; padding: 0 7px;
margin-right: 2px;
background: transparent; color: #f5e0dc;
color: #888888;
} }
#workspaces button.focused { #workspaces button.urgent {
color: white; color: #f5e0dc;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
} }
#mode, #workspaces button.empty {
#clock, color: #cdd6f4;
#battery,
#pulseaudio,
#temperature,
#language,
#backlight,
#network,
#tray,
#custom-weather {
padding: 0 10px;
} }
#scratchpad, #workspaces button.visible {
#window { color: #89dceb;
margin-left: 6px;
margin-right: 6px;
} }
#custom-weather.sunny { #workspaces button.active {
color: rgb(215, 215, 0); color: #fab387;
}
#custom-weather.lightrain {
color: lightblue;
}
#custom-weather.rain,
#custom-weather.heavyrain {
color: blue;
}
#custom-weather.cloudy,
#custom-weather.fog {
color: gray;
}
#window {
color: darkred;
}
#language {
color: cadetblue;
}
#pulseaudio {
color: darkcyan;
}
#network {
color: coral;
}
#temperature {
color: rgb(91, 191, 225);
}
#backlight {
color: rgb(255, 255, 61);
}
#clock {
color: aqua;
}
#battery {
color: rgb(147, 63, 225);
}
#battery.charging {
color: #26A65B;
} }
@keyframes blink { @keyframes blink {
to { to {
color: white; color: #202020;
background-color: #dcf5f3;
} }
} }
#battery.warning:not(.charging), #custom-launcher {
#temperature.critical, background-color: #202020;
#workspaces button.urgent, border-radius: 20px;
#mode { padding: 8px 8px 8px 4px;
color: #ff0000; margin: 4px 0;
animation-name: blink; color: #89dceb;
animation-duration: 0.5s; }
animation-timing-function: steps(2);
animation-iteration-count: infinite; #custom-power {
animation-direction: alternate; background-color: #202020;
border-radius: 20px;
padding: 8px 12px 8px 8px;
margin: 4px 0;
}
#cpu {
background-color: #202020;
border-radius: 20px;
padding: 8px 8px 8px 20px;
margin: 4px 0;
color: #f2cdcd;
}
#memory {
background-color: #202020;
border-radius: 20px;
padding: 8px 8px 8px 20px;
margin: 4px 0;
color: #fab387;
}
#wireplumber {
background-color: #202020;
border-radius: 20px;
padding: 8px 8px 8px 20px;
margin: 4px 0;
color: #f9e2af;
}
#wireplumber.muted {
color: #f38ba8;
}
#clock {
background-color: #202020;
border-radius: 20px;
padding: 8px 10px 10px 10px;
margin: 4px 0;
color: #94e2d5;
}
#network {
background-color: #202020;
color: #cdd6f4;
border-radius: 20px;
padding: 8px;
margin: 4px 0;
}
#network.disabled {
color: #f38ba8;
}
#tray {
background-color: #202020;
border-radius: 20px;
padding: 8px 12px 8px 12px;
margin: 4px 0;
}
#battery {
background-color: #202020;
color: #cdd6f4;
border-radius: 20px;
padding: 8px;
margin: 4px 0;
}
#backlight {
background-color: #202020;
color: #cdd6f4;
border-radius: 20px;
padding: 8px;
margin: 4px 0;
} }

View File

@ -33,8 +33,10 @@
} }
} }
prefer-no-csd
layout { layout {
gaps 16 gaps 10
center-focused-column "never" center-focused-column "never"
preset-column-widths { preset-column-widths {
@ -49,7 +51,7 @@
focus-ring { focus-ring {
// off // off
width 4 width 2
active-color "#7fc8ff" active-color "#7fc8ff"
@ -59,7 +61,7 @@
border { border {
off off
width 4 width 2
active-color "#ffc87f" active-color "#ffc87f"
inactive-color "#505050" inactive-color "#505050"
@ -89,6 +91,13 @@
window-rule { window-rule {
geometry-corner-radius 12 geometry-corner-radius 12
clip-to-geometry true clip-to-geometry true
draw-border-with-background false
}
output "eDP-1" {
mode "2880x1920@120.000"
scale 2
// Optional: position x=0 y=0
} }
binds { binds {
@ -96,7 +105,7 @@
Mod+T hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; } Mod+T hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; }
Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
Super+L hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyrplock"; } Super+L hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; }
Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; } Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }

View File

@ -18,11 +18,12 @@
waybar waybar
]; ];
# programs = { programs = {
# niri = { niri = {
# enable = true; enable = true;
# }; };
# }; xwayland.enable = true;
};
#services.xserver.enable = true; #services.xserver.enable = true;
@ -36,11 +37,5 @@
#sound.enable = true; #sound.enable = true;
#security.rtkit.enable = true; #security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
#alsa.support3Bbit = true;
pulse.enable = true;
# jack.enable = true;
};
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 MiB

BIN
other/wallpaper1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
other/wallpaper3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

BIN
other/wallpaper4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB