feat: wallpaper switch keybind
This commit is contained in:
parent
5bc5164148
commit
e6974a5cc8
|
@ -1183,11 +1183,11 @@
|
||||||
"pre-commit-hooks": "pre-commit-hooks_2"
|
"pre-commit-hooks": "pre-commit-hooks_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712774101,
|
"lastModified": 1712851738,
|
||||||
"narHash": "sha256-t58qLvRLjrekfnHWS5Un5LXQJCrLeycKcuPRtoVqJbw=",
|
"narHash": "sha256-3Hxz4ORxF2QSbRUt3YPK1MN6xbVQjRjSxSEAJ8lePz8=",
|
||||||
"owner": "oddlama",
|
"owner": "oddlama",
|
||||||
"repo": "nixos-extra-modules",
|
"repo": "nixos-extra-modules",
|
||||||
"rev": "0f4e5f7391532ddf105020a5be75421ea2e4fdc7",
|
"rev": "3ade74f7616458c38f00ee6fed73794e1a79bbf3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
BIN
img/wallpaper.png.age
Normal file
BIN
img/wallpaper.png.age
Normal file
Binary file not shown.
|
@ -25,6 +25,7 @@
|
||||||
maim = "${pkgs.maim}/bin/maim -qs -b 1 --hidecursor";
|
maim = "${pkgs.maim}/bin/maim -qs -b 1 --hidecursor";
|
||||||
in {
|
in {
|
||||||
"Menu" = "exec ${cfg.menu}";
|
"Menu" = "exec ${cfg.menu}";
|
||||||
|
"Ctrl+F9" = "exec ${config.xsession.wallpapers.script}";
|
||||||
"${cfg.modifier}+F12" =
|
"${cfg.modifier}+F12" =
|
||||||
"exec "
|
"exec "
|
||||||
+ toString (
|
+ toString (
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
programs.nixvim.options = {
|
programs.nixvim.opts = {
|
||||||
# Set maximum undo levels
|
# Set maximum undo levels
|
||||||
undolevels = 1000000;
|
undolevels = 1000000;
|
||||||
# Persistent Undo
|
# Persistent Undo
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
};
|
};
|
||||||
indent-blankline = {
|
indent-blankline = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraOptions = {
|
settings = {
|
||||||
exclude.buftypes = ["help" "terminal" "nofile"];
|
exclude.buftypes = ["help" "terminal" "nofile"];
|
||||||
exclude.filetypes = ["terminal" "lsp-info"];
|
exclude.filetypes = ["terminal" "lsp-info"];
|
||||||
};
|
};
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
};
|
};
|
||||||
treesitter-context.enable = true;
|
treesitter-context.enable = true;
|
||||||
vim-matchup.enable = true;
|
vim-matchup.enable = true;
|
||||||
comment-nvim.enable = true;
|
comment.enable = true;
|
||||||
# Fzf picker for arbitrary stuff
|
# Fzf picker for arbitrary stuff
|
||||||
telescope = {
|
telescope = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
exe = lib.getExe (pkgs.nixvim.makeNixvim {
|
exe = lib.getExe (pkgs.nixvim.makeNixvim {
|
||||||
package = pkgs.neovim-clean;
|
package = pkgs.neovim-clean;
|
||||||
|
|
||||||
options = {
|
opts = {
|
||||||
buftype = "nowrite";
|
buftype = "nowrite";
|
||||||
backup = false;
|
backup = false;
|
||||||
modeline = false;
|
modeline = false;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
# button number
|
# button number
|
||||||
"5" = {
|
"5" = {
|
||||||
# keyInput to press
|
# keyInput to press
|
||||||
keys = "F7";
|
keys = "ctrl+F7";
|
||||||
# Text shown on button
|
# Text shown on button
|
||||||
#text = "mute";
|
#text = "mute";
|
||||||
icon = config.images.images."mic.png";
|
icon = config.images.images."mic.png";
|
||||||
|
@ -18,8 +18,13 @@
|
||||||
text_vertical_align = "middle-bottom";
|
text_vertical_align = "middle-bottom";
|
||||||
background_color = "#7289DA";
|
background_color = "#7289DA";
|
||||||
};
|
};
|
||||||
|
"0" = {
|
||||||
|
keys = "ctrl+F9";
|
||||||
|
icon = config.images.images."wallpaper.png";
|
||||||
|
background_color = "#7289DA";
|
||||||
|
};
|
||||||
"6" = {
|
"6" = {
|
||||||
keys = "F8";
|
keys = "ctrl+F8";
|
||||||
icon = config.images.images."heads.png";
|
icon = config.images.images."heads.png";
|
||||||
background_color = "#7289DA";
|
background_color = "#7289DA";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue