Tablet improvements
- rnote for note taking - nautilus home module - improved on screen keyboard (added russian and improved english)
This commit is contained in:
parent
df3795f99b
commit
277951e25f
4 changed files with 46 additions and 6 deletions
|
|
@ -7,11 +7,15 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}:
|
||||||
|
with lib.custom; let
|
||||||
username = config.snowfallorg.user.name;
|
username = config.snowfallorg.user.name;
|
||||||
home = config.snowfallorg.user.home.directory;
|
home = config.snowfallorg.user.home.directory;
|
||||||
in
|
in
|
||||||
lib.mkIf osConfig.custom.windowManagers.niri.enable {
|
lib.mkIf osConfig.custom.windowManagers.niri.enable {
|
||||||
|
custom = {
|
||||||
|
programs.nautilus = enabled;
|
||||||
|
};
|
||||||
programs.fuzzel = {
|
programs.fuzzel = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.main.terminal = "kitty";
|
settings.main.terminal = "kitty";
|
||||||
|
|
@ -20,6 +24,8 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
playerctl
|
||||||
|
papers
|
||||||
nwg-drawer
|
nwg-drawer
|
||||||
wlogout
|
wlogout
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
|
@ -136,6 +142,11 @@ in
|
||||||
|
|
||||||
"XF86MonBrightnessUp".action = sh "brightnessctl set 10%+";
|
"XF86MonBrightnessUp".action = sh "brightnessctl set 10%+";
|
||||||
"XF86MonBrightnessDown".action = sh "brightnessctl set 10%-";
|
"XF86MonBrightnessDown".action = sh "brightnessctl set 10%-";
|
||||||
|
|
||||||
|
"XF86AudioNext".action = sh "playerctl next";
|
||||||
|
"XF86AudioPause".action = sh "playerctl play-pause";
|
||||||
|
"XF86AudioPlay".action = sh "playerctl play-pause";
|
||||||
|
"XF86AudioPrev".action = sh "playerctl previous";
|
||||||
#"Mod+Tab".action = focus-window-down-or-column-right;
|
#"Mod+Tab".action = focus-window-down-or-column-right;
|
||||||
#"Mod+Shift+Tab".action = focus-window-up-or-column-left;
|
#"Mod+Shift+Tab".action = focus-window-up-or-column-left;
|
||||||
"Mod+Tab".action = toggle-overview;
|
"Mod+Tab".action = toggle-overview;
|
||||||
|
|
@ -162,7 +173,7 @@ in
|
||||||
hide-after-inactive-ms = 10000;
|
hide-after-inactive-ms = 10000;
|
||||||
};
|
};
|
||||||
gestures.hot-corners.enable = true;
|
gestures.hot-corners.enable = true;
|
||||||
prefer-no-csd = true;
|
prefer-no-csd = !config.custom.hardware.tablet.enable;
|
||||||
environment = {
|
environment = {
|
||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
__GL_GSYNC_ALLOWED = "1";
|
__GL_GSYNC_ALLOWED = "1";
|
||||||
|
|
|
||||||
28
modules/home/programs/nautilus/default.nix
Normal file
28
modules/home/programs/nautilus/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
namespace,
|
||||||
|
system,
|
||||||
|
target,
|
||||||
|
format,
|
||||||
|
virtual,
|
||||||
|
systems,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
with lib.${namespace}; let
|
||||||
|
cfg = config.${namespace}.programs.nautilus;
|
||||||
|
in {
|
||||||
|
options.${namespace}.programs.nautilus = with types; {
|
||||||
|
enable = mkBoolOpt false "Enable nautilus on platforms, that are not GNOME";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
nautilus
|
||||||
|
adwaita-icon-theme
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -45,6 +45,7 @@ in {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
with pkgs.${namespace}; [
|
with pkgs.${namespace}; [
|
||||||
|
rnote
|
||||||
libreoffice
|
libreoffice
|
||||||
root-files
|
root-files
|
||||||
gparted
|
gparted
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,12 @@ in
|
||||||
wvkbd.overrideAttrs (final: prev: {
|
wvkbd.overrideAttrs (final: prev: {
|
||||||
pname = "wvkbd-kylekrein";
|
pname = "wvkbd-kylekrein";
|
||||||
name = "wvkbd-kylekrein";
|
name = "wvkbd-kylekrein";
|
||||||
version = "0.17";
|
version = "0.17-kylekrein";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Paulicat";
|
owner = "KyleKrein";
|
||||||
repo = "wvkbd";
|
repo = "wvkbd";
|
||||||
rev = "ac02545ab6f6ccfa5b6f132414021ba57ea73096";
|
rev = "ed46e1b0e64fd105402dc85e607892343677f5bd";
|
||||||
hash = "sha256-py/IqNEEaTOx/9W935Vc47WoNFz99+bNaYD0sL//JmY=";
|
hash = "sha256-xhn3QjKJL53K59oSnnLFVEv4AyRUGhYBoqSwJe4qfxE=";
|
||||||
};
|
};
|
||||||
installFlags = prev.installFlags ++ ["LAYOUT=vistath"];
|
installFlags = prev.installFlags ++ ["LAYOUT=vistath"];
|
||||||
patches = prev.patches or [] ++ [smithay-patch];
|
patches = prev.patches or [] ++ [smithay-patch];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue