mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-24 05:07:00 -04:00
init and keybinds
This commit is contained in:
parent
09223f9531
commit
fa0b46d39e
5 changed files with 68 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./plasma.nix
|
||||
];
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
kdePackages.filelight
|
||||
|
|
35
common/users/homeModules/plasma.nix
Normal file
35
common/users/homeModules/plasma.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.plasma-manager.homeManagerModules.plasma-manager
|
||||
];
|
||||
programs = {
|
||||
plasma = {
|
||||
enable = true;
|
||||
hotkeys = {
|
||||
commands = {
|
||||
"ocr" = {
|
||||
name = "OCR";
|
||||
key = "Meta+Shift+T";
|
||||
command = "frog -e";
|
||||
};
|
||||
"flameshot" = {
|
||||
name = "flameshot";
|
||||
key = "Print";
|
||||
command = "flameshot gui";
|
||||
};
|
||||
"rofi" = {
|
||||
name = "rofi";
|
||||
key = "Alt+P";
|
||||
command = "rofi -show drun";
|
||||
};
|
||||
"kitty" = {
|
||||
name = "kitty";
|
||||
key = "Alt+Shift+Return";
|
||||
command = "kitty";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -37,6 +37,7 @@ in
|
|||
};
|
||||
};
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = { inherit inputs stable unstable; };
|
||||
users = {
|
||||
"${NAME}" = import ./home.nix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue