summaryrefslogtreecommitdiff
path: root/hosts/local/i3.nix
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-05-08 20:14:37 +0700
committerpolwex <polwex@sortug.com>2025-05-08 20:14:37 +0700
commit3efdd55d5cc2e784c6934e9d133f16844c324aad (patch)
treeb901eda1a717f183eeeca297b54312e68a07e1c9 /hosts/local/i3.nix
parent6dcb4af2623174c4c52202c7ea064f40a35091ed (diff)
m
Diffstat (limited to 'hosts/local/i3.nix')
-rw-r--r--hosts/local/i3.nix18
1 files changed, 15 insertions, 3 deletions
diff --git a/hosts/local/i3.nix b/hosts/local/i3.nix
index f955c56..b9e67a7 100644
--- a/hosts/local/i3.nix
+++ b/hosts/local/i3.nix
@@ -1,10 +1,14 @@
{pkgs, ...}: {
environment.pathsToLink = ["/libexec"];
services.xserver = {
- xkb.layout = "us";
- xkb.variant = "";
+ xkb.options = "compose:ralt";
+ # xkb.layout = "us";
+ # xkb.variant = "";
enable = true;
autorun = false;
+ # displayManager = {
+ # startx.enable = true;
+ # };
desktopManager = {
xterm.enable = false;
};
@@ -45,6 +49,7 @@
# screenshots
flameshot
shutter
+ maim
xclip
pavucontrol
# icons
@@ -111,7 +116,14 @@
# screen capture
#
- xdg.portal.enable = true;
+ xdg.portal = {
+ enable = true;
+ xdgOpenUsePortal = true;
+ extraPortals = [
+ pkgs.xdg-desktop-portal-gtk
+ pkgs.xdg-desktop-portal-gnome
+ ];
+ };
xdg.portal.config.common.default = "*";
xdg.portal.wlr.enable = true;
services.dbus.enable = true;