Clipboard history, brightness control, eu layout
This commit is contained in:
parent
d260022cc8
commit
35aa6456d5
4 changed files with 48 additions and 9 deletions
|
|
@ -54,6 +54,7 @@ in
|
|||
settings = {
|
||||
spawn-at-startup = [
|
||||
{command = ["qs" "-c" "DankMaterialShell"];}
|
||||
{command = ["wl-paste" "--watch" "cliphist" "store"];}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -205,13 +205,49 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
"XF86MonBrightnessUp".action = sh "brightnessctl set 10%+";
|
||||
"XF86MonBrightnessDown".action = sh "brightnessctl set 10%-";
|
||||
"XF86MonBrightnessUp" = {
|
||||
allow-when-locked = true;
|
||||
action.spawn = [
|
||||
"qs"
|
||||
"-c"
|
||||
"DankMaterialShell"
|
||||
"ipc"
|
||||
"call"
|
||||
"brightness"
|
||||
"increment"
|
||||
"5"
|
||||
];
|
||||
};
|
||||
"XF86MonBrightnessDown" = {
|
||||
allow-when-locked = true;
|
||||
action.spawn = [
|
||||
"qs"
|
||||
"-c"
|
||||
"DankMaterialShell"
|
||||
"ipc"
|
||||
"call"
|
||||
"brightness"
|
||||
"decrement"
|
||||
"5"
|
||||
];
|
||||
};
|
||||
|
||||
"XF86AudioNext".action = sh "playerctl next";
|
||||
"XF86AudioPause".action = sh "playerctl play-pause";
|
||||
"XF86AudioPlay".action = sh "playerctl play-pause";
|
||||
"XF86AudioPrev".action = sh "playerctl previous";
|
||||
"XF86AudioNext" = {
|
||||
allow-when-locked = true;
|
||||
action = sh "playerctl next";
|
||||
};
|
||||
"XF86AudioPause" = {
|
||||
allow-when-locked = true;
|
||||
action = sh "playerctl play-pause";
|
||||
};
|
||||
"XF86AudioPlay" = {
|
||||
allow-when-locked = true;
|
||||
action = sh "playerctl play-pause";
|
||||
};
|
||||
"XF86AudioPrev" = {
|
||||
allow-when-locked = true;
|
||||
action = sh "playerctl previous";
|
||||
};
|
||||
#"Mod+Tab".action = focus-window-down-or-column-right;
|
||||
#"Mod+Shift+Tab".action = focus-window-up-or-column-left;
|
||||
"Mod+Tab".action = toggle-overview;
|
||||
|
|
@ -223,7 +259,7 @@ in
|
|||
};
|
||||
warp-mouse-to-focus.enable = true;
|
||||
keyboard = {
|
||||
xkb.layout = "us, ru, de";
|
||||
xkb.layout = "eu, ru";
|
||||
xkb.options = "grp:lctrl_toggle, ctrl:nocaps";
|
||||
track-layout = "window";
|
||||
numlock = true;
|
||||
|
|
|
|||
|
|
@ -68,11 +68,11 @@ in {
|
|||
};
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
layout = "us,ru";
|
||||
layout = "eu,ru";
|
||||
variant = "";
|
||||
options = "grp:caps_toggle";
|
||||
};
|
||||
console.keyMap = "us";
|
||||
console.keyMap = "eu";
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [
|
||||
|
|
|
|||
|
|
@ -60,6 +60,8 @@ in
|
|||
blender
|
||||
video-downloader
|
||||
];
|
||||
services.power-profiles-daemon.enable = true;
|
||||
services.tlp.enable = false;
|
||||
#Chat host
|
||||
networking.firewall.allowedTCPPorts = [80 443 22 8448 9993 8081];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue