start of fonts, start of screenshots
This commit is contained in:
parent
87784a955c
commit
baaec12535
3 changed files with 37 additions and 6 deletions
|
|
@ -8,6 +8,10 @@ let
|
|||
|
||||
|
||||
in {
|
||||
|
||||
home.packages = with pkgs;
|
||||
[ grim slurp wl-clipboard brightnessctl ];
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = {
|
||||
|
|
@ -23,7 +27,9 @@ in {
|
|||
|
||||
menu = "${pkgs.lib.getExe config.programs.rofi.package} -modes \"drun,run\" -show-icons -show drun";
|
||||
|
||||
keybindings = lib.mkOptionDefault ({
|
||||
keybindings = let
|
||||
screenshotPath ="pictures/Screenshots/screenshot`date +%Y%m%d%H%M%S`.png";
|
||||
in lib.mkOptionDefault ({
|
||||
# volume
|
||||
XF86AudioRaiseVolume = "exec bash ${chvol} sink 5";
|
||||
XF86AudioLowerVolume = "exec bash ${chvol} sink -5";
|
||||
|
|
@ -42,10 +48,16 @@ in {
|
|||
# Lock
|
||||
"${mod}+Shift+l" = "exec swaylock -f";
|
||||
|
||||
# Screenshots
|
||||
"${mod}+Shift+s" = "exec grim -g \"`slurp`\" - | wl-copy && wl-paste > ${screenshotPath}";
|
||||
|
||||
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
# GODOT IS A PAIN
|
||||
# extraConfig = "for_window [app_id=\"godot\"] border none";
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue