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