Compare commits

..

No commits in common. "787435d7ce6ff14eb3f4386c4c7e7ed83196abee" and "f056629d93547d2c5f850dc55e25a31907ae4dbb" have entirely different histories.

5 changed files with 23 additions and 20 deletions

View file

@ -87,7 +87,11 @@
}; };
xserver = { xserver = {
enable = true; enable = true;
xkb.layout = "gb"; xkb = {
layout = "gb";
variant = "";
options = "ctrl:nocaps";
};
}; };
}; };
xdg.portal = { xdg.portal = {

View file

@ -2,7 +2,6 @@
config, config,
lib, lib,
pkgs, pkgs,
osConfig,
... ...
}: }:
{ {
@ -176,7 +175,8 @@
]; ];
gestures.workspace_swipe = true; gestures.workspace_swipe = true;
input = { input = {
kb_layout = osConfig.services.xserver.xkb.layout; kb_layout = "gb";
kb_options = "ctrl:nocaps";
follow_mouse = 1; follow_mouse = 1;
touchpad.natural_scroll = "yes"; touchpad.natural_scroll = "yes";
}; };
@ -279,8 +279,8 @@
# Workspace rules # Workspace rules
"workspace 2, firefox" # Browser "workspace 2, firefox" # Browser
"workspace 3, (libreoffice|soffice)(.*)" # Documents "workspace 3, (signal|whatsapp-for-linux|WebCord|teams-for-linux)" # Messaging
"workspace 4, (signal|whatsapp-for-linux|WebCord|teams-for-linux)" # Messaging "workspace 4, (com.github.neithern.g4music|com.github.rafostar.Clapper)" # Media
"workspace 5, (org.remmina.Remmina|Nxplayer.bin)" # Remote Desktop "workspace 5, (org.remmina.Remmina|Nxplayer.bin)" # Remote Desktop
"workspace 6 silent, (steam|steam_app|lutris|page.kramo.Cartridges|org.prismlauncher.PrismLauncher)" # Gaming "workspace 6 silent, (steam|steam_app|lutris|page.kramo.Cartridges|org.prismlauncher.PrismLauncher)" # Gaming

View file

@ -2,7 +2,6 @@
config, config,
lib, lib,
pkgs, pkgs,
osConfig,
... ...
}: }:
{ {
@ -76,7 +75,8 @@
config = { config = {
input = { input = {
"*" = { "*" = {
xkb_layout = osConfig.services.xserver.xkb.layout; xkb_layout = "gb";
xkb_options = "ctrl:nocaps";
}; };
"type:touchpad" = { "type:touchpad" = {
tap = "enabled"; tap = "enabled";

View file

@ -38,8 +38,8 @@
format-icons = { format-icons = {
"1" = "󰆍 "; "1" = "󰆍 ";
"2" = "󰈹 "; "2" = "󰈹 ";
"3" = "󰝰 "; "3" = "󰭹 ";
"4" = "󰭹 "; "4" = "󰝚 ";
"5" = "󰢹 "; "5" = "󰢹 ";
"6" = "󰓓 "; "6" = "󰓓 ";
default = "󰀻 "; default = "󰀻 ";

View file

@ -1,5 +1,5 @@
(defsrc (defsrc
caps a s d f j k l ; a s d f j k l ;
) )
(defvar (defvar
tap-time 150 tap-time 150
@ -7,19 +7,18 @@
) )
(defalias (defalias
capsctrl (tap-hold 100 100 caps lctl) a (tap-hold $tap-time $hold-time a lalt)
a (tap-hold $tap-time $hold-time a lsft) s (tap-hold $tap-time $hold-time s lmet)
s (tap-hold $tap-time $hold-time s lalt) d (tap-hold $tap-time $hold-time d lctl)
d (tap-hold $tap-time $hold-time d lmet) f (tap-hold $tap-time $hold-time f lsft)
f (tap-hold $tap-time $hold-time f lctl) j (tap-hold $tap-time $hold-time j lsft)
j (tap-hold $tap-time $hold-time j lctl) k (tap-hold $tap-time $hold-time k lctl)
k (tap-hold $tap-time $hold-time k lmet) l (tap-hold $tap-time $hold-time l lmet)
l (tap-hold $tap-time $hold-time l lalt) ; (tap-hold $tap-time $hold-time ; lalt)
; (tap-hold $tap-time $hold-time ; lsft)
) )
(deflayer base (deflayer base
@capsctrl @a @s @d @f @j @k @l @; @a @s @d @f @j @k @l @;
) )
;; Local Variables: ;; Local Variables: