Compare commits
30 Commits
56b0f4d312
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 90591b9bec | |||
| b9a1b01f21 | |||
| 1c2ce8b116 | |||
| ea59469b7d | |||
| 18814bda3a | |||
| 910ad36424 | |||
| a2d8313573 | |||
| ba084e9ca1 | |||
| 3b54a08428 | |||
| dc6dffa481 | |||
| f0757d76b9 | |||
| f7414132fe | |||
| 91806843ee | |||
| 9abadc0d8f | |||
| ac54b67744 | |||
| 95b3d087a3 | |||
| 677783bfd2 | |||
| f8407706a3 | |||
| b6d1be0efc | |||
| fff6779344 | |||
| 3a6f8c49cc | |||
| 2e3ac6e095 | |||
| 42ae7ddd18 | |||
| e96cf7518e | |||
| b4efbdcd2d | |||
| 8e82b16dbd | |||
| 10234ceb9a | |||
| d60ec7cdfe | |||
| 17a1e0c788 | |||
| 0d7c392b47 |
@@ -22,6 +22,7 @@ dotfiles-modules = {
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.zen-browser.follows = "zen-browser";
|
inputs.zen-browser.follows = "zen-browser";
|
||||||
inputs.walker.follows = "walker";
|
inputs.walker.follows = "walker";
|
||||||
|
inputs.elephant.follows = "elephant";
|
||||||
};
|
};
|
||||||
|
|
||||||
zen-browser = {
|
zen-browser = {
|
||||||
@@ -32,6 +33,12 @@ zen-browser = {
|
|||||||
walker = {
|
walker = {
|
||||||
url = "github:abenz1267/walker";
|
url = "github:abenz1267/walker";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.elephant.follows = "elephant";
|
||||||
|
};
|
||||||
|
|
||||||
|
elephant = {
|
||||||
|
url = "github:abenz1267/elephant";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
38
flake.lock
generated
38
flake.lock
generated
@@ -3,20 +3,16 @@
|
|||||||
"elephant": {
|
"elephant": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"walker",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"systems": [
|
"systems": "systems"
|
||||||
"walker",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759675127,
|
"lastModified": 1769329000,
|
||||||
"narHash": "sha256-AsYUdOukKNXIu47CpQNJeAccu524sIj9UTuP9Aadycs=",
|
"narHash": "sha256-0vibWqmCsG1t4xL2euR6PScB3M4QZigB5JGl+BIH4NY=",
|
||||||
"owner": "abenz1267",
|
"owner": "abenz1267",
|
||||||
"repo": "elephant",
|
"repo": "elephant",
|
||||||
"rev": "abfa18c844f1028b0b2beef456fee6d40e98dfad",
|
"rev": "1988112d1f54dd76e8a90f551945df763586bdad",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -27,7 +23,7 @@
|
|||||||
},
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731533236,
|
"lastModified": 1731533236,
|
||||||
@@ -104,6 +100,7 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"elephant": "elephant",
|
||||||
"nix-options-doc": "nix-options-doc",
|
"nix-options-doc": "nix-options-doc",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"walker": "walker",
|
"walker": "walker",
|
||||||
@@ -132,6 +129,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1689347949,
|
||||||
|
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default-linux",
|
||||||
|
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default-linux",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
@@ -146,7 +158,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_2": {
|
"systems_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689347949,
|
"lastModified": 1689347949,
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||||
@@ -163,11 +175,13 @@
|
|||||||
},
|
},
|
||||||
"walker": {
|
"walker": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"elephant": "elephant",
|
"elephant": [
|
||||||
|
"elephant"
|
||||||
|
],
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"systems": "systems_2"
|
"systems": "systems_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760434150,
|
"lastModified": 1760434150,
|
||||||
|
|||||||
@@ -11,9 +11,15 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
elephant = {
|
||||||
|
url = "github:abenz1267/elephant";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
walker = {
|
walker = {
|
||||||
url = "github:abenz1267/walker";
|
url = "github:abenz1267/walker";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.elephant.follows = "elephant";
|
||||||
};
|
};
|
||||||
|
|
||||||
nix-options-doc = {
|
nix-options-doc = {
|
||||||
|
|||||||
@@ -14,11 +14,13 @@ in
|
|||||||
config = lib.mkIf config.modules.default_apps.enable {
|
config = lib.mkIf config.modules.default_apps.enable {
|
||||||
xdg.mimeApps.enable = true;
|
xdg.mimeApps.enable = true;
|
||||||
xdg.mimeApps.defaultApplications = {
|
xdg.mimeApps.defaultApplications = {
|
||||||
|
# Future Reference: use `xdg-mime query filetype <file>` to get the mime tyep of a given file
|
||||||
"text/html" = "${defaultBrowser}.desktop";
|
"text/html" = "${defaultBrowser}.desktop";
|
||||||
"x-scheme-handler/http" = "${defaultBrowser}.desktop";
|
"x-scheme-handler/http" = "${defaultBrowser}.desktop";
|
||||||
"x-scheme-handler/https" = "${defaultBrowser}.desktop";
|
"x-scheme-handler/https" = "${defaultBrowser}.desktop";
|
||||||
"x-scheme-handler/about" = "${defaultBrowser}.desktop";
|
"x-scheme-handler/about" = "${defaultBrowser}.desktop";
|
||||||
"inode/directory" = "org.gnome.Nautilus.desktop";
|
"inode/directory" = "org.gnome.Nautilus.desktop";
|
||||||
|
"application/pdf" = "${defaultBrowser}.desktop";
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.terminal-exec.enable = true;
|
xdg.terminal-exec.enable = true;
|
||||||
|
|||||||
@@ -30,18 +30,10 @@
|
|||||||
indent_size = 2;
|
indent_size = 2;
|
||||||
};
|
};
|
||||||
"*.yaml" = {
|
"*.yaml" = {
|
||||||
indent_style = "space";
|
|
||||||
indent_size = 4;
|
|
||||||
};
|
|
||||||
"*.yml" = {
|
|
||||||
indent_style = "space";
|
|
||||||
indent_size = 4;
|
|
||||||
};
|
|
||||||
"compose.yml" = {
|
|
||||||
indent_style = "space";
|
indent_style = "space";
|
||||||
indent_size = 2;
|
indent_size = 2;
|
||||||
};
|
};
|
||||||
"compose.yaml" = {
|
"*.yml" = {
|
||||||
indent_style = "space";
|
indent_style = "space";
|
||||||
indent_size = 2;
|
indent_size = 2;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -27,6 +27,11 @@ in
|
|||||||
"hypr/nix.conf".text = ''
|
"hypr/nix.conf".text = ''
|
||||||
$defaultBrowser=${defaultBrowser}
|
$defaultBrowser=${defaultBrowser}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
"hypr/scripts/gpu-screen-recorder/save-replay.sh".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink ./hyprland/scripts/gpu-screen-recorder/save-replay.sh;
|
||||||
|
"hypr/scripts/gpu-screen-recorder/start-replay.sh".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink ./hyprland/scripts/gpu-screen-recorder/start-replay.sh;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ source = ~/.config/hypr/nix.conf
|
|||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$terminal = ghostty
|
$terminal = ghostty
|
||||||
$fileManager = nautilus
|
$fileManager = nautilus
|
||||||
$browser = zen
|
$browser = zen-beta
|
||||||
$menu = walker
|
$menu = walker
|
||||||
|
|
||||||
#################
|
#################
|
||||||
@@ -39,16 +39,20 @@ exec-once = hyprpanel & hyprpaper & hypridle & elephant & walker --gapplication-
|
|||||||
exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Classic'
|
exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Classic'
|
||||||
exec-once = gsettings set org.gnome.desktop.interface cursor-size 24
|
exec-once = gsettings set org.gnome.desktop.interface cursor-size 24
|
||||||
|
|
||||||
|
# This requires gpu-screen-recorder to be installed. I installed it with this https://wiki.nixos.org/wiki/Gpu-screen-recorder.
|
||||||
|
exec-once = ~/.config/hypr/scripts/gpu-screen-recorder/start-replay.sh
|
||||||
|
|
||||||
|
exec-once = spotify & signal-desktop & thunderbird & gnome-calendar & bitwarden & $browser & discord & steam-silent
|
||||||
|
|
||||||
exec-once = [workspace 4 silent] signal-desktop
|
|
||||||
exec-once = [workspace 4 silent] spotify
|
|
||||||
exec-once = [workspace 4 silent] thunderbird
|
|
||||||
exec-once = [workspace 3 silent] gnome-calendar
|
|
||||||
exec-once = [workspace 3 silent] bitwarden
|
|
||||||
exec-once = [workspace 2 silent] $browser
|
|
||||||
exec-once = [workspace 1 silent] $terminal
|
exec-once = [workspace 1 silent] $terminal
|
||||||
# exec-once = [workspace 4 silent] discord
|
|
||||||
# windowrulev2 = workspace 4 silent once, class:^(discord)$
|
windowrule = match:class ^(zen-beta)$, workspace 2 silent
|
||||||
|
windowrule = match:class ^(org.gnome.Calendar)$, workspace 3 silent
|
||||||
|
windowrule = match:class ^(Bitwarden)$, workspace 3 silent
|
||||||
|
windowrule = match:class ^(discord)$, workspace 4 silent
|
||||||
|
windowrule = match:class ^(thunderbird)$, workspace 4 silent
|
||||||
|
windowrule = match:class ^(signal)$, workspace 4 silent
|
||||||
|
windowrule = match:class ^(Spotify)$, workspace 4 silent
|
||||||
|
|
||||||
|
|
||||||
env = HYPRCURSOR_SIZE,28
|
env = HYPRCURSOR_SIZE,28
|
||||||
@@ -212,7 +216,7 @@ bind = $mainMod, T, exec, $terminal
|
|||||||
bind = $mainMod, B, exec, $browser
|
bind = $mainMod, B, exec, $browser
|
||||||
bind = $mainMod, I, exec, hyprpanel toggleWindow bar-0
|
bind = $mainMod, I, exec, hyprpanel toggleWindow bar-0
|
||||||
bind = $mainMod, C, killactive,
|
bind = $mainMod, C, killactive,
|
||||||
bind = $mainMod, Q, exit,
|
bind = $mainMod SHIFT, Q, exit,
|
||||||
bind = $mainMod, F, fullscreen, 1
|
bind = $mainMod, F, fullscreen, 1
|
||||||
bind = $mainMod ALT, F, fullscreen, 0
|
bind = $mainMod ALT, F, fullscreen, 0
|
||||||
bind = $mainMod, E, exec, $fileManager
|
bind = $mainMod, E, exec, $fileManager
|
||||||
@@ -224,7 +228,9 @@ bind = $mainMod SHIFT, D, exec, discord
|
|||||||
bind = SUPER_ALT,L, exec, hyprlock
|
bind = SUPER_ALT,L, exec, hyprlock
|
||||||
bind = ,F10, exec, hyprlock
|
bind = ,F10, exec, hyprlock
|
||||||
bind = $mainMod ALT, Space, exec, hyprctl switchxkblayout current next
|
bind = $mainMod ALT, Space, exec, hyprctl switchxkblayout current next
|
||||||
bind = $mainMod SHIFT, S, exec, hyprshot -m region
|
bind = $mainMod SHIFT, S, exec, hyprshot -m region -z
|
||||||
|
# This requires gpu-screen-recorder to be installed. I installed it with this https://wiki.nixos.org/wiki/Gpu-screen-recorder.
|
||||||
|
bind = $mainMod SHIFT, V, exec, ~/.config/hypr/scripts/gpu-screen-recorder/save-replay.sh
|
||||||
bind = $mainMod SHIFT, C, exec, hyprpicker | wl-copy
|
bind = $mainMod SHIFT, C, exec, hyprpicker | wl-copy
|
||||||
bind = $mainMod, Y, exec, firefox
|
bind = $mainMod, Y, exec, firefox
|
||||||
|
|
||||||
@@ -283,25 +289,3 @@ bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|||||||
bindl=, XF86AudioPlay, exec, playerctl play-pause # the stupid key is called play , but it toggles
|
bindl=, XF86AudioPlay, exec, playerctl play-pause # the stupid key is called play , but it toggles
|
||||||
bindl=, XF86AudioNext, exec, playerctl next
|
bindl=, XF86AudioNext, exec, playerctl next
|
||||||
bindl=, XF86AudioPrev, exec, playerctl previous
|
bindl=, XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
|
||||||
##############################
|
|
||||||
### WINDOWS AND WORKSPACES ###
|
|
||||||
##############################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
|
||||||
|
|
||||||
# Example windowrule v1
|
|
||||||
# windowrule = float, ^(kitty)$
|
|
||||||
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
|
|
||||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
|
||||||
# windowrulev2 = noanim,class:ulauncher
|
|
||||||
windowrulev2 = noborder,class:ulauncher
|
|
||||||
windowrulev2 = noblur,class:ulauncher
|
|
||||||
windowrulev2 = noshadow,class:ulauncher
|
|
||||||
# layerrule = blur, wofi
|
|
||||||
# layerrule = blur, waybar
|
|
||||||
|
|||||||
3
homemanager/hyprland/scripts/gpu-screen-recorder/save-replay.sh
Executable file
3
homemanager/hyprland/scripts/gpu-screen-recorder/save-replay.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
killall -SIGUSR1 gpu-screen-recorder && sleep 0.5 && notify-send -t 1500 -u low -- "GPU Screen Recorder" "Replay saved"
|
||||||
|
|
||||||
6
homemanager/hyprland/scripts/gpu-screen-recorder/start-replay.sh
Executable file
6
homemanager/hyprland/scripts/gpu-screen-recorder/start-replay.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pidof -q gpu-screen-recorder && exit 0
|
||||||
|
video_path="$HOME/Videos"
|
||||||
|
mkdir -p "$video_path"
|
||||||
|
gpu-screen-recorder -w screen -f 60 -a default_output -c mkv -bm cbr -q 40000 -r 60 -o "$video_path"
|
||||||
@@ -40,7 +40,7 @@ in
|
|||||||
pkgs.luajitPackages.lua-lsp
|
pkgs.luajitPackages.lua-lsp
|
||||||
pkgs.lua-language-server
|
pkgs.lua-language-server
|
||||||
pkgs.nil
|
pkgs.nil
|
||||||
pkgs.nixfmt-rfc-style
|
pkgs.nixfmt
|
||||||
pkgs.nixd
|
pkgs.nixd
|
||||||
pkgs.rust-analyzer
|
pkgs.rust-analyzer
|
||||||
pkgs.rustfmt
|
pkgs.rustfmt
|
||||||
@@ -58,6 +58,7 @@ in
|
|||||||
pkgs.clang-tools
|
pkgs.clang-tools
|
||||||
pkgs.taplo
|
pkgs.taplo
|
||||||
pkgs.tinymist
|
pkgs.tinymist
|
||||||
|
pkgs.dart
|
||||||
];
|
];
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"nvim/init.lua".source = config.lib.file.mkOutOfStoreSymlink ./neovim/init.lua;
|
"nvim/init.lua".source = config.lib.file.mkOutOfStoreSymlink ./neovim/init.lua;
|
||||||
|
|||||||
@@ -36,3 +36,5 @@ vim.opt.showtabline = 1
|
|||||||
|
|
||||||
-- remove indicators above statusline
|
-- remove indicators above statusline
|
||||||
vim.opt.showmode = false
|
vim.opt.showmode = false
|
||||||
|
|
||||||
|
vim.opt.diffopt = "vertical"
|
||||||
|
|||||||
@@ -1,13 +1,17 @@
|
|||||||
return {
|
return {
|
||||||
'tpope/vim-fugitive',
|
'tpope/vim-fugitive',
|
||||||
keys = {
|
keys = {
|
||||||
{ '<leader>gg', ':Git<cr>', 'Git Status' },
|
{ '<leader>gg', ':tab Git<cr>', 'Git Status' },
|
||||||
{ '<leader>gc', function()
|
{ '<leader>gc', function()
|
||||||
if vim.bo.filetype == 'fugitive' then
|
if vim.bo.filetype == 'fugitive' then
|
||||||
vim.cmd.close()
|
vim.cmd.close()
|
||||||
end
|
end
|
||||||
vim.cmd("Git commit")
|
vim.cmd("tab Git commit")
|
||||||
end, '(g)it (c)ommit' }
|
end, '(g)it (c)ommit' }
|
||||||
},
|
},
|
||||||
cmd = 'Git'
|
cmd = {
|
||||||
|
'Git',
|
||||||
|
'Gread',
|
||||||
|
'Gbrowse'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -122,7 +122,8 @@ local function lsp_setup()
|
|||||||
'clangd',
|
'clangd',
|
||||||
'eslint',
|
'eslint',
|
||||||
'nushell',
|
'nushell',
|
||||||
'tinymist'
|
'tinymist',
|
||||||
|
'dartls'
|
||||||
-- 'jdtls'
|
-- 'jdtls'
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -160,6 +161,8 @@ local function lsp_setup()
|
|||||||
cmd = { "tinymist" }
|
cmd = { "tinymist" }
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
vim.lsp.config('dartls', with_defaults(require("plugins.spec.server_configurations.dart")))
|
||||||
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
virtual_text = {
|
virtual_text = {
|
||||||
prefix = '●', -- or '■', '▎', 'x', '' whatever you want
|
prefix = '●', -- or '■', '▎', 'x', '' whatever you want
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
return {
|
||||||
|
cmd = { "dart", "language-server", "--protocol=lsp" },
|
||||||
|
}
|
||||||
@@ -4,7 +4,7 @@ return {
|
|||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
event = { "BufReadPost", "BufNewFile" },
|
event = { "BufReadPost", "BufNewFile" },
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-treesitter.configs").setup {
|
require("nvim-treesitter").setup {
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"lua",
|
"lua",
|
||||||
"typescript",
|
"typescript",
|
||||||
@@ -26,14 +26,7 @@ return {
|
|||||||
},
|
},
|
||||||
indent = {
|
indent = {
|
||||||
enable = true
|
enable = true
|
||||||
}
|
},
|
||||||
}
|
|
||||||
end,
|
|
||||||
dependencies = {
|
|
||||||
{
|
|
||||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
|
||||||
config = function()
|
|
||||||
require("nvim-treesitter.configs").setup {
|
|
||||||
textobjects = {
|
textobjects = {
|
||||||
select = {
|
select = {
|
||||||
enable = true,
|
enable = true,
|
||||||
@@ -54,7 +47,10 @@ return {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end,
|
||||||
|
dependencies = {
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,6 +29,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.direnv.enable = true;
|
||||||
|
programs.direnv.silent = true;
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
|
||||||
# note taking
|
# note taking
|
||||||
@@ -45,8 +48,11 @@
|
|||||||
pkgs.sops
|
pkgs.sops
|
||||||
pkgs.pavucontrol
|
pkgs.pavucontrol
|
||||||
|
|
||||||
|
# https://github.com/quirinecker/dotfiles-modules/issues/13
|
||||||
|
# pkgs.errands
|
||||||
|
|
||||||
# editors
|
# editors
|
||||||
pkgs.zed-editor
|
# pkgs.zed-editor # updating softwar crashed the pc. Not in use right now anyway. disabled for now
|
||||||
pkgs.vscode
|
pkgs.vscode
|
||||||
|
|
||||||
# browsers
|
# browsers
|
||||||
@@ -72,9 +78,11 @@
|
|||||||
pkgs.gnome-system-monitor
|
pkgs.gnome-system-monitor
|
||||||
pkgs.geary
|
pkgs.geary
|
||||||
pkgs.nautilus
|
pkgs.nautilus
|
||||||
|
pkgs.baobab
|
||||||
|
|
||||||
# social
|
# social
|
||||||
pkgs.discord
|
pkgs.discord
|
||||||
|
pkgs.element-desktop
|
||||||
pkgs.signal-desktop
|
pkgs.signal-desktop
|
||||||
pkgs.spotify
|
pkgs.spotify
|
||||||
|
|
||||||
@@ -83,6 +91,10 @@
|
|||||||
pkgs.python3
|
pkgs.python3
|
||||||
pkgs.typescript
|
pkgs.typescript
|
||||||
pkgs.typst
|
pkgs.typst
|
||||||
|
|
||||||
|
# Gaming
|
||||||
|
pkgs.gdlauncher-carbon # Minecraft Launcher for mods and vanilla
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,27 @@
|
|||||||
name = "pw"
|
name = "power"
|
||||||
name_pretty = "Power"
|
name_pretty = "Power"
|
||||||
icon = "Power"
|
icon = "applications-other"
|
||||||
global_search = true
|
|
||||||
|
|
||||||
[[entries]]
|
[[entries]]
|
||||||
text = "Shutdown"
|
text = "Shutdown"
|
||||||
keywords = ["color", "picker", "hypr"]
|
keywords = ["turn", "off", "power", "shutdown"]
|
||||||
actions = { "cp_use" = "wl-copy $(hyprpicker)" }
|
actions = { "cp_use" = "shutdown -h now" }
|
||||||
icon = "system-shutdown"
|
icon = "system-shutdown"
|
||||||
|
|
||||||
|
[[entries]]
|
||||||
|
text = "Reboot"
|
||||||
|
keywords = ["restart", "reboot"]
|
||||||
|
actions = { "cp_use" = "reboot -r now" }
|
||||||
|
icon = "system-reboot"
|
||||||
|
|
||||||
|
[[entries]]
|
||||||
|
text = "Sleep"
|
||||||
|
keywords = ["sleep", "hibernate", "suspend"]
|
||||||
|
actions = { "cp_use" = "systemctl hibernate" }
|
||||||
|
icon = "weather-clear-night"
|
||||||
|
|
||||||
|
[[entries]]
|
||||||
|
text = "Lock"
|
||||||
|
keywords = ["lock"]
|
||||||
|
actions = { "cp_use" = "hyprlock" }
|
||||||
|
icon = "system-lock-screen"
|
||||||
|
|||||||
@@ -18,14 +18,7 @@ previous = ["ctrl p", "Up"]
|
|||||||
quick_activate = []
|
quick_activate = []
|
||||||
|
|
||||||
[providers]
|
[providers]
|
||||||
default = [
|
default = ["desktopapplications", "calc", "runner", "websearch", "menus", "pw"]
|
||||||
"desktopapplications",
|
|
||||||
"calc",
|
|
||||||
"runner",
|
|
||||||
"websearch",
|
|
||||||
"menus",
|
|
||||||
"pw"
|
|
||||||
]
|
|
||||||
|
|
||||||
[[providers.prefixes]]
|
[[providers.prefixes]]
|
||||||
prefix = ";"
|
prefix = ";"
|
||||||
@@ -57,60 +50,19 @@ provider = "clipboard"
|
|||||||
|
|
||||||
[[providers.prefixes]]
|
[[providers.prefixes]]
|
||||||
prefix = "pw "
|
prefix = "pw "
|
||||||
provider = "pw"
|
provider = "menus:power"
|
||||||
|
|
||||||
[providers.actions]
|
[providers.actions]
|
||||||
|
fallback = [
|
||||||
|
{ action = "menus:open", label = "open", after = "Nothing" },
|
||||||
|
{ action = "erase_history", label = "clear hist", bind = "ctrl h", after = "AsyncReload" },
|
||||||
|
]
|
||||||
desktopapplications = [
|
desktopapplications = [
|
||||||
{ action = "start", default = true, bind = "Return" },
|
{ action = "start", default = true, bind = "Return" },
|
||||||
{ action = "start:keep", label = "open+next", bind = "shift Return", after = "KeepOpen" },
|
{ action = "start:keep", label = "open+next", bind = "shift Return", after = "KeepOpen" },
|
||||||
{ action = "erase_history", label = "clear hist", bind = "ctrl h", after = "AsyncReload" },
|
{ action = "erase_history", label = "clear hist", bind = "ctrl h", after = "AsyncReload" },
|
||||||
{ action = "pin", bind = "ctrl alt p", after = "AsyncReload" },
|
{ action = "pin", bind = "ctrl alt p", after = "Nothing" },
|
||||||
{ action = "unpin", bind = "ctrl alt p", after = "AsyncReload" },
|
{ action = "unpin", bind = "ctrl alt p", after = "Nothing" },
|
||||||
{ action = "pinup", bind = "ctrl n", after = "AsyncReload" },
|
{ action = "pinup", bind = "ctrl alt n", after = "Nothing" },
|
||||||
{ action = "pindown", bind = "ctrl m", after = "AsyncReload" },
|
{ action = "pindown", bind = "ctrl alt m", after = "Nothing" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[plugins]]
|
|
||||||
name = "wifi"
|
|
||||||
prefix = "wifi "
|
|
||||||
src_once = "node ~/.config/walker/plugins/wifi.cjs"
|
|
||||||
parser = "kv"
|
|
||||||
|
|
||||||
[[plugins]]
|
|
||||||
name = "power"
|
|
||||||
prefix = "pw "
|
|
||||||
keep_sort = false
|
|
||||||
placeholder = "Power"
|
|
||||||
recalculate_score = true
|
|
||||||
show_icon_when_single = true
|
|
||||||
switcher_only = true
|
|
||||||
|
|
||||||
[[plugins.entries]]
|
|
||||||
label = "Shutdown"
|
|
||||||
icon = "system-shutdown-symbolic"
|
|
||||||
exec = "shutdown now"
|
|
||||||
weight = 1
|
|
||||||
|
|
||||||
[[plugins.entries]]
|
|
||||||
label = "Reboot"
|
|
||||||
icon = "system-reboot-symbolic"
|
|
||||||
exec = "reboot"
|
|
||||||
weight = 2
|
|
||||||
|
|
||||||
[[plugins.entries]]
|
|
||||||
label = "Sleep"
|
|
||||||
icon = "weather-clear-night-symbolic"
|
|
||||||
exec = "systemctl suspend"
|
|
||||||
weight = 3
|
|
||||||
|
|
||||||
[[plugins.entries]]
|
|
||||||
label = "Lock"
|
|
||||||
icon = "system-lock-screen-symbolic"
|
|
||||||
exec = "hyprlock"
|
|
||||||
weight = 4
|
|
||||||
|
|
||||||
[[plugins.entries]]
|
|
||||||
label = "Logout"
|
|
||||||
icon = "system-log-out-symbolic"
|
|
||||||
exec = "hyprctl dispatch exit"
|
|
||||||
weight = 5
|
|
||||||
|
|||||||
Reference in New Issue
Block a user