add sway config

This commit is contained in:
jopejoe1 2024-12-26 15:13:19 +01:00
parent 27a730fdee
commit df08130015

View file

@ -48,6 +48,10 @@ in
];
};
fonts.packages = with pkgs; [
noto-fonts
];
home-manager = {
users.c3terminal = {
home = {
@ -62,6 +66,18 @@ in
chromium
];
};
wayland.windowManager.sway = {
enable = true;
extraConfig = ''
set $ws1 c3nav
default_border none
font pango: "Noto Sans" regular 30
exec swaymsg "workspace $ws1;exec firefox-esr --name=c3nav --no-remote -P "terminal" https://c3nav.de; workspace $ws2; exec firefox-esr --name=fahrplan --no-remote -P "default" https://fahrplan.events.ccc.de/congress/2024/fahrplan/schedule/"
include /etc/sway/config.d/*
'';
};
programs = {
firefox = {
enable = true;
@ -102,7 +118,7 @@ in
boot = {
loader = {
grub = {
enable = true;
#enable = true;
};
efi = {
canTouchEfiVariables = true;