expanded on sway.nix
This commit is contained in:
parent
e3b35e7377
commit
5112403a32
3 changed files with 27 additions and 13 deletions
|
|
@ -28,8 +28,8 @@
|
||||||
xdg = {
|
xdg = {
|
||||||
mimeApps = {
|
mimeApps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
associations.added = associations;
|
#associations.added = associations;
|
||||||
defaultApplications = associations;
|
#defaultApplications = associations;
|
||||||
};
|
};
|
||||||
portal = {
|
portal = {
|
||||||
enable = false;
|
enable = false;
|
||||||
|
|
@ -42,14 +42,14 @@
|
||||||
};
|
};
|
||||||
configPackages = with pkgs; [
|
configPackages = with pkgs; [
|
||||||
#xdg-desktop-portal
|
#xdg-desktop-portal
|
||||||
#xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-gnome
|
xdg-desktop-portal-gnome
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
];
|
];
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
#xdg-desktop-portal
|
#xdg-desktop-portal
|
||||||
#xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-gnome
|
xdg-desktop-portal-gnome
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
|
|
@ -63,11 +63,7 @@
|
||||||
#};
|
#};
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts = {
|
fonts = { fontconfig = { enable = true; }; };
|
||||||
fontconfig = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -134,7 +130,6 @@
|
||||||
## desktop
|
## desktop
|
||||||
swww # Wallpaper daemon
|
swww # Wallpaper daemon
|
||||||
dconf # GTK settings tweaker
|
dconf # GTK settings tweaker
|
||||||
waybar # Desktop status bar
|
|
||||||
blueman # GTK bluetooth manager
|
blueman # GTK bluetooth manager
|
||||||
ydotool # Click/Keypress emulator
|
ydotool # Click/Keypress emulator
|
||||||
wlsunset # Blue light filter
|
wlsunset # Blue light filter
|
||||||
|
|
|
||||||
|
|
@ -82,14 +82,27 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = rec {
|
config = rec {
|
||||||
|
|
||||||
|
output = {
|
||||||
|
eDP-1 = {
|
||||||
|
## Set HIDP scale (pixel integer scaling)
|
||||||
|
scale = "1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
## Use Wofi as menu
|
## Use Wofi as menu
|
||||||
menu = "wofi";
|
menu = "wofi --show run";
|
||||||
## Use kitty as default terminal
|
## Use kitty as default terminal
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
## Startup applications and scripts
|
## Startup scripts and programs
|
||||||
startup = [ { command = "startup"; } { command = "kitty"; } ];
|
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 = {
|
focus = {
|
||||||
followMouse = true;
|
followMouse = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,10 @@
|
||||||
{ pkgs, config, lib, waybar, ... }: {
|
{ pkgs, config, lib, waybar, ... }: {
|
||||||
|
|
||||||
|
home = {
|
||||||
|
|
||||||
|
packages = with pkgs; [ waybar ];
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
blueman-applet.enable = false;
|
blueman-applet.enable = false;
|
||||||
network-manager-applet.enable = true;
|
network-manager-applet.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue