Make kitty work, remove xorg from lappy and add printscreen.
This commit is contained in:
parent
7cef2fb7d4
commit
124e3cd97c
|
@ -1,4 +1,29 @@
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
home.sessionVariables = {
|
||||||
|
XDG_CURRENT_DESKTOP = "sway";
|
||||||
|
XDG_SESSION_TYPE = "wayland";
|
||||||
|
WLR_DRM_DEVICES = "/dev/dri/card0";
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [ grim slurp wl-clipboard jq wofi wmctrl ];
|
||||||
|
|
||||||
|
programs.zsh.profileExtra = ''
|
||||||
|
# If running from tty1 start sway
|
||||||
|
if [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
|
systemctl --user unset-environment \
|
||||||
|
SWAYSOCK \
|
||||||
|
I3SOCK \
|
||||||
|
WAYLAND_DISPLAY \
|
||||||
|
DISPLAY \
|
||||||
|
IN_NIX_SHELL \
|
||||||
|
__HM_SESS_VARS_SOURCED \
|
||||||
|
GPG_TTY \
|
||||||
|
NIX_PATH \
|
||||||
|
SHLVL
|
||||||
|
exec env --unset=SHLVL systemd-cat -t sway -- sway
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
programs.mako = {
|
programs.mako = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultTimeout = 3000;
|
defaultTimeout = 3000;
|
||||||
|
|
Loading…
Reference in a new issue