mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-10-27 19:20:43 +01: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
|
statusBar = "ashell"; # available: ashell | waybar
|
||||||
|
|
||||||
pathConfig = {
|
pathConfig = {
|
||||||
wallpaper = "Obrazy/tapety/catppuccin";
|
wallpaper = "Obrazy/tapety/catppuccin"; # relative to $HOME/
|
||||||
screenshot = "Obrazy/zrzuty/";
|
screenshot = "Obrazy/zrzuty/"; # relative to $HOME/
|
||||||
obsidian = "Dokumenty/obsidian";
|
obsidian = "Dokumenty/obsidian"; # relative to $HOME/
|
||||||
|
projects = "~/Kodowanie";
|
||||||
|
documents = "~/Dokumenty";
|
||||||
|
pictures = "~/Obrazy";
|
||||||
|
downloads = "~/Pobrane";
|
||||||
|
video = "~/Video";
|
||||||
};
|
};
|
||||||
|
|
||||||
isNixOS = true;
|
isNixOS = true;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ userConfig, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.yazi = {
|
programs.yazi = {
|
||||||
@@ -37,6 +37,41 @@
|
|||||||
"yank"
|
"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 = "";
|
kb_rules = "";
|
||||||
follow_mouse = 1;
|
follow_mouse = 1;
|
||||||
left_handed = false;
|
left_handed = false;
|
||||||
sensitivity = -0.5;
|
sensitivity = 0;
|
||||||
touchpad = {
|
touchpad = {
|
||||||
natural_scroll = true;
|
natural_scroll = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# mouse has super high dpi so lover the sensitivity!
|
||||||
device = {
|
device = {
|
||||||
name = "msft0001:01-06cb:7f28-touchpad";
|
name = "corsair-corsair-m75-gaming-mouse";
|
||||||
sensitivity = 0;
|
sensitivity = -0.5;
|
||||||
};
|
};
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
|
|||||||
@@ -39,8 +39,6 @@ in
|
|||||||
nh
|
nh
|
||||||
runc
|
runc
|
||||||
|
|
||||||
hugo
|
|
||||||
|
|
||||||
# Music
|
# Music
|
||||||
spotify
|
spotify
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ userConfig, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
browserFallback = [
|
browserFallback = [
|
||||||
@@ -52,12 +52,12 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
createDirectories = true;
|
createDirectories = true;
|
||||||
desktop = null;
|
desktop = null;
|
||||||
documents = "$HOME/Dokumenty";
|
documents = baseNameOf userConfig.pathConfig.documents;
|
||||||
download = "$HOME/Pobrane";
|
download = baseNameOf userConfig.pathConfig.downloads;
|
||||||
music = null;
|
music = null;
|
||||||
pictures = "$HOME/Obrazy";
|
pictures = baseNameOf userConfig.pathConfig.pictures;
|
||||||
videos = "$HOME/Video";
|
videos = baseNameOf userConfig.pathConfig.video;
|
||||||
projects = "$HOME/Kodowanie";
|
projects = baseNameOf userConfig.pathConfig.projects;
|
||||||
templates = null;
|
templates = null;
|
||||||
publicShare = null;
|
publicShare = null;
|
||||||
setSessionVariables = true;
|
setSessionVariables = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user