Compare commits
3 commits
940c1a751f
...
baae4c3a03
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
baae4c3a03 | ||
|
|
bd3e08ef0a | ||
|
|
fc5f1b8a98 |
|
|
@ -61,6 +61,13 @@
|
|||
];
|
||||
};
|
||||
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
dnssec = "true";
|
||||
domains = [ "~." ];
|
||||
fallbackDns = [ "9.9.9.9" "149.112.112.112" ];
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Montreal";
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ in {
|
|||
};
|
||||
keybindings = let
|
||||
screenshotPath =
|
||||
"Pictures/Screenshots/screenshot`date +%Y%m%d%H%M%S`.png";
|
||||
"pictures/Screenshots/screenshot`date +%Y%m%d%H%M%S`.png";
|
||||
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
|
||||
|
|
@ -55,6 +55,8 @@ in {
|
|||
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" =
|
||||
"exec grim -g \"`slurp`\" - | wl-copy && wl-paste > ${screenshotPath}";
|
||||
"${mod}+Shift+s" =
|
||||
"exec grim -g \"`slurp`\" - | wl-copy && wl-paste > ${screenshotPath}";
|
||||
} // rec { # Function Media Keys
|
||||
XF86MonBrightnessUp = "exec bash ${changebrightness} 1";
|
||||
XF86MonBrightnessDown = "exec bash ${changebrightness} -1";
|
||||
|
|
|
|||
Loading…
Reference in a new issue