Compare commits
4 commits
38a8921956
...
fa335a372c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa335a372c | ||
|
|
157cc8f902 | ||
|
|
705541327a | ||
|
|
4736a539b9 |
|
|
@ -32,7 +32,7 @@ rec {
|
|||
kalker
|
||||
tldr
|
||||
] ++ # Basic utilities
|
||||
[ htop snore ]
|
||||
[ htop snore catgirl ]
|
||||
++ # Personalized selection of command-line (CLI/TUI) apps
|
||||
[ defaultPrograms.terminal ] ++ # Terminal emulator
|
||||
[
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@
|
|||
libertinus
|
||||
roboto
|
||||
lato
|
||||
montserrat
|
||||
merriweather
|
||||
openmoji-black
|
||||
openmoji-color
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
isDefault = true;
|
||||
search = {
|
||||
force = true;
|
||||
default = "DuckDuckGo";
|
||||
order = [ "DuckDuckGo" "Google" ];
|
||||
default = "EnCours";
|
||||
order = [ "EnCours" "DuckDuckGo" "Google" ];
|
||||
engines = {
|
||||
"Nix Packages" = {
|
||||
urls = [{
|
||||
|
|
@ -81,6 +81,11 @@
|
|||
[{ template = "https://www.geoguessr.com/join/{searchTerms}"; }];
|
||||
definedAliases = [ "@ggj" ];
|
||||
};
|
||||
"EnCours" = {
|
||||
urls =
|
||||
[{ template = "https://search.encours.xyz/search?q={searchTerms}"; }];
|
||||
definedAliases = [ "@enc" ];
|
||||
};
|
||||
"Google".metaData.alias =
|
||||
"@g"; # builtin engines only support specifying one additional alias
|
||||
};
|
||||
|
|
|
|||
|
|
@ -51,6 +51,8 @@ in {
|
|||
in lib.mkOptionDefault ({ # Screenshot keybinds
|
||||
"Print" =
|
||||
"exec grim - | wl-copy && wl-paste > ${screenshotPath}"; # Take screenshot of whole screen, save it, and copy it to clipboard
|
||||
"${mod}+Ctrl+Shift+s" =
|
||||
"exec grim - | wl-copy && wl-paste > ${screenshotPath}"; # Take screenshot of whole screen, save it, and copy it to clipboard
|
||||
"Shift+Print" = ''
|
||||
exec swaymsg -t get_tree | ${pkgs.lib.getExe pkgs.jq} -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - | wl-copy && wl-paste > ${screenshotPath}''; # Take screenshot of current window, save it, and copy it to clipboard
|
||||
"Ctrl+Print" =
|
||||
|
|
@ -166,8 +168,14 @@ in {
|
|||
[ swaybg bemenu j4-dmenu-desktop swaysome ] ++
|
||||
[ brightnessctl grim slurp wl-clipboard wdisplays ] ++
|
||||
[ playerctl ] ++
|
||||
[ xdg-desktop-portal-wlr ] ++
|
||||
[];
|
||||
|
||||
home.sessionVariables = {
|
||||
XDG_CURRENT_DESKTOP = "sway";
|
||||
MOZ_ENABLE_WAYLAND = 1;
|
||||
};
|
||||
|
||||
services.playerctld = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
@ -185,4 +193,9 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# xdg.portal = {
|
||||
# enable = true;
|
||||
# extraPortals = with pkgs; [ xdg-desktop-portal-wlr ];
|
||||
# };
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue