Add trap SIGINT

This commit is contained in:
Digital Studium 2024-03-29 09:50:32 +03:00
parent be62c800bd
commit 6d8da1abcd
5 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
1.3
1.4

1
a
View File

@ -1,5 +1,6 @@
#!/bin/bash
set -e
trap 'clear' SIGINT
cat > /tmp/.dialogrc << EOL
# Item color
tag_color = (BLACK,WHITE,ON)

1
g
View File

@ -1,5 +1,6 @@
#!/bin/bash
set -e
trap 'clear' SIGINT
cat > /tmp/.dialogrc << EOL
# Item color
tag_color = (BLACK,WHITE,ON)

1
r
View File

@ -1,3 +1,4 @@
#!/bin/bash
trap 'clear' SIGINT
setxkbmap
cat ~/.aliases.txt | fzf | cut -d : -f 2- | xargs -I _ xdotool type _

1
s
View File

@ -1,5 +1,6 @@
#!/bin/bash
set -e
trap 'clear' SIGINT
cat > /tmp/.dialogrc << EOL
# Item color
tag_color = (BLACK,WHITE,ON)