summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-10 14:01:45 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-10 14:01:45 +0200
commit7f1ad3a9c825b0b4f1c2df2ee6d54e89bca79a5f (patch)
tree3c6e53b2b22c7ee1622ff1a8b982a778250a87d0 /.local
parentupdate (diff)
downloaddotfiles-bsd-7f1ad3a9c825b0b4f1c2df2ee6d54e89bca79a5f.tar.gz
dotfiles-bsd-7f1ad3a9c825b0b4f1c2df2ee6d54e89bca79a5f.tar.bz2
dotfiles-bsd-7f1ad3a9c825b0b4f1c2df2ee6d54e89bca79a5f.tar.xz
dotfiles-bsd-7f1ad3a9c825b0b4f1c2df2ee6d54e89bca79a5f.tar.zst
dotfiles-bsd-7f1ad3a9c825b0b4f1c2df2ee6d54e89bca79a5f.zip
update
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/dmscrot8
1 files changed, 2 insertions, 6 deletions
diff --git a/.local/bin/dmscrot b/.local/bin/dmscrot
index 0503abe..6029256 100755
--- a/.local/bin/dmscrot
+++ b/.local/bin/dmscrot
@@ -72,18 +72,17 @@ sub action
my $file_name;
chomp $var;
+ $file_name = file_name();
if ($var eq ${+LIST}[0]) {
- $file_name = file_name();
system(
SCREENSHOT_PATH,
$file_name,
'-q', '100',
'-s',
- '-l', 'mode=classic,style=dash,width=2,color=#990000'
+ '-l', 'mode=edge,width=2,color=#990000'
);
}
elsif ($var eq ${+LIST}[1]) {
- $file_name = file_name();
system(
SCREENSHOT_PATH,
$file_name,
@@ -92,7 +91,6 @@ sub action
);
}
elsif ($var eq ${+LIST}[2]) {
- $file_name = file_name();
system(
SCREENSHOT_PATH,
$file_name,
@@ -100,7 +98,6 @@ sub action
);
}
elsif ($var eq ${+LIST}[3]) {
- $file_name = file_name();
system(
SCREENSHOT_PATH,
$file_name,
@@ -109,7 +106,6 @@ sub action
);
}
elsif ($var eq ${+LIST}[4]) {
- $file_name = file_name();
system(
SCREENSHOT_PATH,
$file_name,