Compare commits
3 commits
f056629d93
...
787435d7ce
Author | SHA1 | Date | |
---|---|---|---|
Evie Litherland-Smith | 787435d7ce | ||
Evie Litherland-Smith | c47aa27321 | ||
Evie Litherland-Smith | f16bd93df0 |
|
@ -87,11 +87,7 @@
|
|||
};
|
||||
xserver = {
|
||||
enable = true;
|
||||
xkb = {
|
||||
layout = "gb";
|
||||
variant = "";
|
||||
options = "ctrl:nocaps";
|
||||
};
|
||||
xkb.layout = "gb";
|
||||
};
|
||||
};
|
||||
xdg.portal = {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
@ -175,8 +176,7 @@
|
|||
];
|
||||
gestures.workspace_swipe = true;
|
||||
input = {
|
||||
kb_layout = "gb";
|
||||
kb_options = "ctrl:nocaps";
|
||||
kb_layout = osConfig.services.xserver.xkb.layout;
|
||||
follow_mouse = 1;
|
||||
touchpad.natural_scroll = "yes";
|
||||
};
|
||||
|
@ -279,8 +279,8 @@
|
|||
|
||||
# Workspace rules
|
||||
"workspace 2, firefox" # Browser
|
||||
"workspace 3, (signal|whatsapp-for-linux|WebCord|teams-for-linux)" # Messaging
|
||||
"workspace 4, (com.github.neithern.g4music|com.github.rafostar.Clapper)" # Media
|
||||
"workspace 3, (libreoffice|soffice)(.*)" # Documents
|
||||
"workspace 4, (signal|whatsapp-for-linux|WebCord|teams-for-linux)" # Messaging
|
||||
"workspace 5, (org.remmina.Remmina|Nxplayer.bin)" # Remote Desktop
|
||||
"workspace 6 silent, (steam|steam_app|lutris|page.kramo.Cartridges|org.prismlauncher.PrismLauncher)" # Gaming
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
@ -75,8 +76,7 @@
|
|||
config = {
|
||||
input = {
|
||||
"*" = {
|
||||
xkb_layout = "gb";
|
||||
xkb_options = "ctrl:nocaps";
|
||||
xkb_layout = osConfig.services.xserver.xkb.layout;
|
||||
};
|
||||
"type:touchpad" = {
|
||||
tap = "enabled";
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
format-icons = {
|
||||
"1" = " ";
|
||||
"2" = " ";
|
||||
"3" = " ";
|
||||
"4" = " ";
|
||||
"3" = " ";
|
||||
"4" = " ";
|
||||
"5" = " ";
|
||||
"6" = " ";
|
||||
default = " ";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
(defsrc
|
||||
a s d f j k l ;
|
||||
caps a s d f j k l ;
|
||||
)
|
||||
(defvar
|
||||
tap-time 150
|
||||
|
@ -7,18 +7,19 @@
|
|||
)
|
||||
|
||||
(defalias
|
||||
a (tap-hold $tap-time $hold-time a lalt)
|
||||
s (tap-hold $tap-time $hold-time s lmet)
|
||||
d (tap-hold $tap-time $hold-time d lctl)
|
||||
f (tap-hold $tap-time $hold-time f lsft)
|
||||
j (tap-hold $tap-time $hold-time j lsft)
|
||||
k (tap-hold $tap-time $hold-time k lctl)
|
||||
l (tap-hold $tap-time $hold-time l lmet)
|
||||
; (tap-hold $tap-time $hold-time ; lalt)
|
||||
capsctrl (tap-hold 100 100 caps lctl)
|
||||
a (tap-hold $tap-time $hold-time a lsft)
|
||||
s (tap-hold $tap-time $hold-time s lalt)
|
||||
d (tap-hold $tap-time $hold-time d lmet)
|
||||
f (tap-hold $tap-time $hold-time f lctl)
|
||||
j (tap-hold $tap-time $hold-time j lctl)
|
||||
k (tap-hold $tap-time $hold-time k lmet)
|
||||
l (tap-hold $tap-time $hold-time l lalt)
|
||||
; (tap-hold $tap-time $hold-time ; lsft)
|
||||
)
|
||||
|
||||
(deflayer base
|
||||
@a @s @d @f @j @k @l @;
|
||||
@capsctrl @a @s @d @f @j @k @l @;
|
||||
)
|
||||
|
||||
;; Local Variables:
|
||||
|
|
Loading…
Reference in a new issue