Wrote dmenu bg-chooser script
This commit is contained in:
10
scripts/bg-chooser
Executable file
10
scripts/bg-chooser
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
base_bg_path="/home/kevin/Pictures/Backgrounds"
|
||||
|
||||
brightness_choice=$(echo -e "dim\nbright" | dmenu -i)
|
||||
editing_choice=$(echo -e "editing\nnon-editing" | dmenu -i)
|
||||
|
||||
bg_path="$base_bg_path/$brightness_choice/$editing_choice"
|
||||
wal_cmd="wal -i $bg_path"
|
||||
eval "$wal_cmd"
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
usb_letter="c"
|
||||
usb_letter="d1"
|
||||
usb="/dev/sd$usb_letter"
|
||||
iso=""
|
||||
iso="/run/media/kevin/iomega/w10.iso"
|
||||
|
||||
sudo dd bs=4M if=$iso of=$usb conv=fdatasync status=progress
|
||||
# sudo dd bs=4M if=$usb of=$iso conv=fdatasync status=progress
|
||||
# sudo dd bs=4M if=$iso of=$usb conv=fdatasync status=progress
|
||||
sudo dd bs=4M if=$usb of=$iso conv=fdatasync status=progress
|
||||
|
||||
Reference in New Issue
Block a user