expanded on sway.nix

This commit is contained in:
serenity-F 2024-12-11 20:29:27 +10:00
parent e3b35e7377
commit 5112403a32
3 changed files with 27 additions and 13 deletions

View file

@ -28,8 +28,8 @@
xdg = {
mimeApps = {
enable = true;
associations.added = associations;
defaultApplications = associations;
#associations.added = associations;
#defaultApplications = associations;
};
portal = {
enable = false;
@ -42,14 +42,14 @@
};
configPackages = with pkgs; [
#xdg-desktop-portal
#xdg-desktop-portal-wlr
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
xdg-desktop-portal-gnome
xdg-desktop-portal-hyprland
];
extraPortals = with pkgs; [
#xdg-desktop-portal
#xdg-desktop-portal-wlr
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
xdg-desktop-portal-gnome
xdg-desktop-portal-hyprland
@ -63,11 +63,7 @@
#};
};
fonts = {
fontconfig = {
enable = true;
};
};
fonts = { fontconfig = { enable = true; }; };
qt = {
enable = true;
@ -134,7 +130,6 @@
## desktop
swww # Wallpaper daemon
dconf # GTK settings tweaker
waybar # Desktop status bar
blueman # GTK bluetooth manager
ydotool # Click/Keypress emulator
wlsunset # Blue light filter

View file

@ -82,14 +82,27 @@ in {
};
config = rec {
output = {
eDP-1 = {
## Set HIDP scale (pixel integer scaling)
scale = "1";
};
};
## Use Wofi as menu
menu = "wofi";
menu = "wofi --show run";
## Use kitty as default terminal
terminal = "kitty";
## Startup applications and scripts
## Startup scripts and programs
startup = [ { command = "startup"; } { command = "kitty"; } ];
bars = [{ "command" = "${waybar}/bin/waybar"; }];
## Use waybar as desktop statusbar
bars = [{
command = "${waybar}/bin/waybar";
position = "top";
fonts = { size = 15.0; };
}];
focus = {
followMouse = true;

View file

@ -1,4 +1,10 @@
{ pkgs, config, lib, waybar, ... }: {
home = {
packages = with pkgs; [ waybar ];
};
services = {
blueman-applet.enable = false;
network-manager-applet.enable = true;