sway
This commit is contained in:
parent
492f085d52
commit
bb021a1aae
30 changed files with 487 additions and 573 deletions
|
@ -7,43 +7,32 @@
|
|||
{
|
||||
imports = [
|
||||
./audio
|
||||
./autorandr
|
||||
./background
|
||||
./browser
|
||||
./cursor
|
||||
./frobar/module.nix
|
||||
./i3.nix
|
||||
./lock
|
||||
./mpd
|
||||
./presentation
|
||||
./redness
|
||||
./screenshots
|
||||
./sway
|
||||
./terminal
|
||||
];
|
||||
config = lib.mkIf config.frogeye.desktop.xorg {
|
||||
|
||||
xsession = {
|
||||
enable = true;
|
||||
# Not using config.xdg.configHome because it needs to be $HOME-relative paths and path manipulation is hard
|
||||
scriptPath = ".config/xsession";
|
||||
profilePath = ".config/xprofile";
|
||||
windowManager = {
|
||||
i3.enable = true;
|
||||
};
|
||||
numlock.enable = config.frogeye.desktop.numlock;
|
||||
};
|
||||
wayland.windowManager.sway.enable = true;
|
||||
|
||||
programs = {
|
||||
# Terminal
|
||||
bash.shellAliases = {
|
||||
x = "startx ${config.home.homeDirectory}/${config.xsession.scriptPath}; logout";
|
||||
lmms = "lmms --config ${config.xdg.configHome}/lmmsrc.xml";
|
||||
};
|
||||
rofi = {
|
||||
# TODO This theme template, that was used for Arch, looks much better:
|
||||
# https://gitlab.com/jordiorlando/base16-rofi/-/blob/master/templates/default.mustache
|
||||
enable = true;
|
||||
pass.enable = true;
|
||||
pass = {
|
||||
enable = true;
|
||||
package = pkgs.rofi-pass-wayland;
|
||||
};
|
||||
extraConfig = {
|
||||
lazy-grab = false;
|
||||
matching = "regex";
|
||||
|
@ -111,7 +100,6 @@
|
|||
};
|
||||
services = {
|
||||
blueman-applet.enable = true;
|
||||
unclutter.enable = true;
|
||||
dunst = {
|
||||
enable = true;
|
||||
settings = with config.lib.stylix.colors.withHashtag; {
|
||||
|
@ -139,7 +127,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
keynav.enable = true;
|
||||
kanshi.enable = true;
|
||||
};
|
||||
|
||||
home = {
|
||||
|
@ -176,13 +164,13 @@
|
|||
meld
|
||||
python3Packages.magic
|
||||
bluetuith
|
||||
trayer # For occasional applications that want to put themselves in tray
|
||||
|
||||
# x11-exclusive
|
||||
simplescreenrecorder
|
||||
trayer
|
||||
xclip
|
||||
xorg.xinit
|
||||
scrot
|
||||
# wayland exclusive
|
||||
wl-clipboard # Easy copy/paste from/to terminal
|
||||
# TODO Clipboard history?
|
||||
wdisplays # Ad-hoc display setup GUI
|
||||
wf-recorder # Screen recorder (much more basic than simplescreenrecorder but alright)
|
||||
];
|
||||
sessionVariables = {
|
||||
# XAUTHORITY = "${config.xdg.configHome}/Xauthority"; # Disabled as this causes lock-ups with DMs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue