mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 16:31:54 -05:00
sway: switch to shotman for screenshots
This commit is contained in:
parent
0c3525302b
commit
6d45ea1106
|
@ -118,10 +118,12 @@
|
||||||
media_next = "${media} next";
|
media_next = "${media} next";
|
||||||
media_prev = "${media} previous";
|
media_prev = "${media} previous";
|
||||||
|
|
||||||
screenshot = "${pkgs.grim}/bin/grim";
|
screenshot = "${pkgs.shotman}/bin/shotman";
|
||||||
screenshot_folder = "~/pics/screenshots";
|
# screenshot_folder = "~/pics/screenshots";
|
||||||
screenshot_screen = "${screenshot} ${screenshot_folder}/$(date +'%s_grim.png')";
|
# screenshot_screen = "${screenshot} ${screenshot_folder}/$(date +'%s_grim.png')";
|
||||||
# screenshot_region = "${screenshot} -m region -o ${screenshot_folder}";
|
# screenshot_region = "${screenshot} -m region -o ${screenshot_folder}";
|
||||||
|
screenshot_screen = "${screenshot} --capture output";
|
||||||
|
screenshot_region = "${screenshot} --capture region";
|
||||||
|
|
||||||
# Color, themes, scaling
|
# Color, themes, scaling
|
||||||
colorText = "#FAFAFA";
|
colorText = "#FAFAFA";
|
||||||
|
@ -286,7 +288,7 @@
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
"PRINT" = "exec ${screenshot_screen}";
|
"PRINT" = "exec ${screenshot_screen}";
|
||||||
# "${modifier}+PRINT" = "${screenshot_region}";
|
"${modifier}+PRINT" = "exec ${screenshot_region}";
|
||||||
|
|
||||||
# Show/hide waybar
|
# Show/hide waybar
|
||||||
"${modifier}+F11" = "exec pkill -SIGUSR1 waybar";
|
"${modifier}+F11" = "exec pkill -SIGUSR1 waybar";
|
||||||
|
@ -335,8 +337,8 @@
|
||||||
{command = "${pkgs.networkmanagerapplet}/bin/nm-applet";}
|
{command = "${pkgs.networkmanagerapplet}/bin/nm-applet";}
|
||||||
{command = "${pkgs.swayosd}/bin/swayosd-server";}
|
{command = "${pkgs.swayosd}/bin/swayosd-server";}
|
||||||
{command = "${pkgs.trayscale}/bin/trayscale --hide-window";}
|
{command = "${pkgs.trayscale}/bin/trayscale --hide-window";}
|
||||||
{command = "${pkgs.wl-clipboard}/bin/wl-paste --type image --watch cliphist store";}
|
{command = "${pkgs.wl-clipboard}/bin/wl-paste --type image --watch ${pkgs.cliphist}/bin/cliphist store";}
|
||||||
{command = "${pkgs.wl-clipboard}/bin/wl-paste --type text --watch cliphist store";}
|
{command = "${pkgs.wl-clipboard}/bin/wl-paste --type text --watch ${pkgs.cliphist}/bin/cliphist store";}
|
||||||
];
|
];
|
||||||
output = {
|
output = {
|
||||||
"BOE 0x095F Unknown" = {
|
"BOE 0x095F Unknown" = {
|
||||||
|
|
Loading…
Reference in a new issue