1
Fork 0

Dunst and typst

This commit is contained in:
Matei Adriel 2023-05-28 00:40:40 +02:00
parent 1cd3d7a903
commit 11fc0f67bf
No known key found for this signature in database
4 changed files with 14 additions and 2 deletions

View file

@ -0,0 +1 @@
require("my.helpers.wrapMovement").setup()

View file

@ -30,6 +30,10 @@ function fish_user_key_bindings
bind -M default \cx "clear && commandline -f repaint" bind -M default \cx "clear && commandline -f repaint"
bind -M insert \cx "clear && commandline -f repaint" bind -M insert \cx "clear && commandline -f repaint"
# }}} # }}}
# {{{ C-enter to run command through less
bind -M default \e\[13\;2u "commandline -a ' | less' && commandline -f execute"
bind -M insert \e\[13\;2u "commandline -a ' | less' && commandline -f execute"
# }}}
# {{{ C-g to open neogit # {{{ C-g to open neogit
bind -M default \cg "nvim +Neogit" bind -M default \cg "nvim +Neogit"
bind -M insert \cg "nvim +Neogit" bind -M insert \cg "nvim +Neogit"

View file

@ -0,0 +1,5 @@
{
services.dunst = {
enable = true;
};
}

View file

@ -1,6 +1,7 @@
# Common wayland stuff # Common wayland stuff
{ lib, pkgs, upkgs, ... }: { { lib, pkgs, upkgs, ... }: {
imports = [ ../common/wofi.nix ]; imports = [ ../common/wofi.nix ];
# Makes some stuff run on wayland (?) # Makes some stuff run on wayland (?)
# Taken from [here](https://github.com/fufexan/dotfiles/blob/3b0075fa7a5d38de13c8c32140c4b020b6b32761/home/wayland/default.nix#L14) # Taken from [here](https://github.com/fufexan/dotfiles/blob/3b0075fa7a5d38de13c8c32140c4b020b6b32761/home/wayland/default.nix#L14)
# TODO: ask author what those do # TODO: ask author what those do
@ -11,6 +12,8 @@
# }; # };
# TODO: set up # TODO: set up
# - wallpaper
# - notification daemon
# - screen recording # - screen recording
# - volume/backlight controls # - volume/backlight controls
# - eww bar # - eww bar
@ -18,13 +21,12 @@
# - look into swaylock or whatever people use # - look into swaylock or whatever people use
# - look into greetd or something # - look into greetd or something
# - multiple keyboard layouts # - multiple keyboard layouts
# - wallpaper
# - notification daemon
home.packages = home.packages =
let let
_ = lib.getExe; _ = lib.getExe;
# TODO: put this in it's own file perhaps?
# Taken from [here](https://github.com/fufexan/dotfiles/blob/3b0075fa7a5d38de13c8c32140c4b020b6b32761/home/wayland/default.nix#L14) # Taken from [here](https://github.com/fufexan/dotfiles/blob/3b0075fa7a5d38de13c8c32140c4b020b6b32761/home/wayland/default.nix#L14)
wl-ocr = pkgs.writeShellScriptBin "wl-ocr" '' wl-ocr = pkgs.writeShellScriptBin "wl-ocr" ''
${_ pkgs.grim} -g "$(${_ pkgs.slurp})" -t ppm - \ ${_ pkgs.grim} -g "$(${_ pkgs.slurp})" -t ppm - \