156 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 *

This commit is contained in:
Max Känner 2024-03-10 10:15:35 +01:00
parent 085ec0b0d0
commit 6742f2a4f8

View File

@ -25,6 +25,25 @@
}; };
config = { config = {
output = let
bgdir = "~/Documents/Blender/desktop background Informatiker";
bg1080 = bgdir + "/render 1080p new color.png";
bg1080vert = bgdir + "/render 1080p hochkant new.png";
bg4k = bgdir + "/render 4K new color.png";
in {
eDP-1 = {
bg = "'${bg1080}' fit";
};
HDMI-A-1 = {
bg = "'${bg4k}' fit";
};
DP-4 = {
bg = "'${bg1080}' fit";
};
DP-5 = {
bg = "'${bg1080vert}' fit";
};
};
input = { input = {
"*" = { "*" = {
xkb_layout = "de"; xkb_layout = "de";
@ -35,6 +54,14 @@
tap = "enable"; tap = "enable";
natural_scroll = "enable"; natural_scroll = "enable";
}; };
# map laptop touchscreen to laptop display
"1267:11676:ELAN2513:00_04F3:2D9C" = {
map_to_output = "AU Optronics 0x4B2D Unknown";
};
# map laptop stylus to laptop display
"1267:11676:ELAN2513:00_04F3:2D9C_Stylus" = {
map_to_output = "AU Optronics 0x4B2D Unknown";
};
}; };
modifier = "Mod4"; modifier = "Mod4";
keybindings = let keybindings = let
@ -51,6 +78,10 @@
"${modifier}+Shift+3" = "move container to workspace msg"; "${modifier}+Shift+3" = "move container to workspace msg";
"${modifier}+Shift+4" = "move container to workspace music"; "${modifier}+Shift+4" = "move container to workspace music";
# screen capture
"${modifier}+Print" = ''exec ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.wl-clipboard}/bin/wl-copy'';
"${modifier}+Shift+Print" = ''exec ${pkgs.wf-recorder}/bin/wf-recorder -g "$(${pkgs.slurp}/bin/slurp)" -f "$HOME/Videos/screencapture_$(${pkgs.coreutils}/bin/date +%F-%T).mp4"'';
# brightness # brightness
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 5"; "XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 5";
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 5"; "XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 5";
@ -67,6 +98,7 @@
assigns = { assigns = {
"main" = [{app_id = "firefox";}]; "main" = [{app_id = "firefox";}];
"term" = [{app_id = "foot-startup";}]; "term" = [{app_id = "foot-startup";}];
"msg" = [{app_id = "org.keepassxc.KeePassXC";}];
}; };
bars = []; bars = [];
menu = "${pkgs.tofi}/bin/tofi-drun | ${pkgs.findutils}/bin/xargs swaymsg exec --"; menu = "${pkgs.tofi}/bin/tofi-drun | ${pkgs.findutils}/bin/xargs swaymsg exec --";