Compare commits

...

4 commits

Author SHA1 Message Date
vorboyvo fa335a372c Added a font. 2025-11-19 14:34:05 -05:00
vorboyvo 157cc8f902 Add EnCours Search 2025-11-19 14:33:36 -05:00
vorboyvo 705541327a Added catgirl. 2025-11-04 11:01:26 -05:00
vorboyvo 4736a539b9 Added new screenshot for full screenshot.
Added xdg-desktop-portal-wlr for screen sharing.
2025-11-03 16:11:09 -05:00
4 changed files with 22 additions and 3 deletions

View file

@ -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
[ [

View file

@ -72,6 +72,7 @@
libertinus libertinus
roboto roboto
lato lato
montserrat
merriweather merriweather
openmoji-black openmoji-black
openmoji-color openmoji-color

View file

@ -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
}; };

View file

@ -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 ];
# };
} }