Skip to content

Commit

Permalink
Fix PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymo111 committed Aug 26, 2022
1 parent f8f9a65 commit 3fec7fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions i3lock-bash
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ _i3lock() {
"--debug"

# i3lock-color OPTIONS

"--screen -S"
"--blur -B"
"--clock --force-clocl -k"
Expand Down Expand Up @@ -82,20 +81,16 @@ _i3lock() {
"--pass-power-keys"
"--pass-volume-keys"
"--custom-key-commands"

"--cmd-brightness-up"
"--cmd-brightness-down"

"--cmd-media-play"
"--cmd-media-pause"
"--cmd-media-stop"
"--cmd-media-next"
"--cmd-media-prev"

"--cmd-audio-mute"
"--cmd-volume-up"
"--cmd-volume-down"

"--cmd-power-down"
"--cmd-power-off"
"--cmd-power-sleep"
Expand Down
4 changes: 2 additions & 2 deletions i3lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ int main(int argc, char *argv[]) {
unlock_indicator = false;
break;
case 'i':
image_path = optarg;
image_path = strdup(optarg);
break;
case 't':
if(bg_type != NONE) {
Expand Down Expand Up @@ -2382,7 +2382,7 @@ int main(int argc, char *argv[]) {
no_verify = true;
break;
case 998:
image_raw_format = optarg;
image_raw_format = strdup(optarg);
break;
case 999:
debug_mode = true;
Expand Down

0 comments on commit 3fec7fd

Please sign in to comment.