mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 12:10:45 +02:00
Compare commits
6 Commits
dd77199323
...
baed566262
| Author | SHA1 | Date | |
|---|---|---|---|
| baed566262 | |||
| 26cbf784b2 | |||
| 3f463c5dc7 | |||
| 5675c7e388 | |||
| b402858cd6 | |||
| 49c1ff737a |
11
flake.nix
11
flake.nix
@@ -70,9 +70,14 @@
|
||||
statusBar = "ashell"; # available: ashell | waybar
|
||||
|
||||
pathConfig = {
|
||||
wallpaper = "Obrazy/tapety/catppuccin";
|
||||
screenshot = "Obrazy/zrzuty/";
|
||||
obsidian = "Dokumenty/obsidian";
|
||||
wallpaper = "Obrazy/tapety/catppuccin"; # relative to $HOME/
|
||||
screenshot = "Obrazy/zrzuty/"; # relative to $HOME/
|
||||
obsidian = "Dokumenty/obsidian"; # relative to $HOME/
|
||||
projects = "~/Kodowanie";
|
||||
documents = "~/Dokumenty";
|
||||
pictures = "~/Obrazy";
|
||||
downloads = "~/Pobrane";
|
||||
video = "~/Video";
|
||||
};
|
||||
|
||||
isNixOS = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ ... }:
|
||||
{ userConfig, ... }:
|
||||
|
||||
{
|
||||
programs.yazi = {
|
||||
@@ -37,6 +37,41 @@
|
||||
"yank"
|
||||
];
|
||||
}
|
||||
{
|
||||
on = [
|
||||
"g"
|
||||
"p"
|
||||
];
|
||||
run = "cd ${userConfig.pathConfig.downloads}";
|
||||
}
|
||||
{
|
||||
on = [
|
||||
"g"
|
||||
"d"
|
||||
];
|
||||
run = "cd ${userConfig.pathConfig.documents}";
|
||||
}
|
||||
{
|
||||
on = [
|
||||
"g"
|
||||
"v"
|
||||
];
|
||||
run = "cd ${userConfig.pathConfig.video}";
|
||||
}
|
||||
{
|
||||
on = [
|
||||
"g"
|
||||
"o"
|
||||
];
|
||||
run = "cd ${userConfig.pathConfig.pictures}";
|
||||
}
|
||||
{
|
||||
on = [
|
||||
"g"
|
||||
"k"
|
||||
];
|
||||
run = "cd ${userConfig.pathConfig.projects}";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,15 +11,16 @@
|
||||
kb_rules = "";
|
||||
follow_mouse = 1;
|
||||
left_handed = false;
|
||||
sensitivity = -0.5;
|
||||
sensitivity = 0;
|
||||
touchpad = {
|
||||
natural_scroll = true;
|
||||
};
|
||||
};
|
||||
|
||||
# mouse has super high dpi so lover the sensitivity!
|
||||
device = {
|
||||
name = "msft0001:01-06cb:7f28-touchpad";
|
||||
sensitivity = 0;
|
||||
name = "corsair-corsair-m75-gaming-mouse";
|
||||
sensitivity = -0.5;
|
||||
};
|
||||
|
||||
cursor = {
|
||||
|
||||
@@ -39,8 +39,6 @@ in
|
||||
nh
|
||||
runc
|
||||
|
||||
hugo
|
||||
|
||||
# Music
|
||||
spotify
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ ... }:
|
||||
{ userConfig, ... }:
|
||||
|
||||
let
|
||||
browserFallback = [
|
||||
@@ -52,12 +52,12 @@ in
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = null;
|
||||
documents = "$HOME/Dokumenty";
|
||||
download = "$HOME/Pobrane";
|
||||
documents = baseNameOf userConfig.pathConfig.documents;
|
||||
download = baseNameOf userConfig.pathConfig.downloads;
|
||||
music = null;
|
||||
pictures = "$HOME/Obrazy";
|
||||
videos = "$HOME/Video";
|
||||
projects = "$HOME/Kodowanie";
|
||||
pictures = baseNameOf userConfig.pathConfig.pictures;
|
||||
videos = baseNameOf userConfig.pathConfig.video;
|
||||
projects = baseNameOf userConfig.pathConfig.projects;
|
||||
templates = null;
|
||||
publicShare = null;
|
||||
setSessionVariables = true;
|
||||
|
||||
Reference in New Issue
Block a user