Add .gitignore for python cache files.
This commit is contained in:
parent
d393677f00
commit
93127aeca3
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
**/__pycache__/
|
||||||
|
*.pyc
|
||||||
|
*.pyo
|
||||||
|
*.pyd
|
35
i38.sh
35
i38.sh
@ -295,6 +295,23 @@ if [[ $(yesno "Do you want to use multiple keyboard layouts?") -eq 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
# Volume jump
|
# Volume jump
|
||||||
volumeJump=$(rangebox "How much should pressing the volume keys change the volume?" 1 15 5)
|
volumeJump=$(rangebox "How much should pressing the volume keys change the volume?" 1 15 5)
|
||||||
|
# Screen Reader
|
||||||
|
unset programList
|
||||||
|
for i in cthulhu orca ; do
|
||||||
|
if command -v ${i/#-/} &> /dev/null ; then
|
||||||
|
if [ -n "$programList" ]; then
|
||||||
|
programList="$programList $i"
|
||||||
|
else
|
||||||
|
programList="$i"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ "$programList" != "${programList// /}" ]; then
|
||||||
|
screenReader="$(menulist ":Screen Reader" $programList)"
|
||||||
|
else
|
||||||
|
screenReader="${programList/#-/}"
|
||||||
|
fi
|
||||||
|
export screenReader="$(command -v $screenReader)"
|
||||||
# Email client
|
# Email client
|
||||||
unset programList
|
unset programList
|
||||||
for i in betterbird evolution thunderbird ; do
|
for i in betterbird evolution thunderbird ; do
|
||||||
@ -311,7 +328,7 @@ if [ "$programList" != "${programList// /}" ]; then
|
|||||||
else
|
else
|
||||||
emailClient="${programList/#-/}"
|
emailClient="${programList/#-/}"
|
||||||
fi
|
fi
|
||||||
emailClient="$(command -v $emailClient)"
|
export emailClient="$(command -v $emailClient)"
|
||||||
# Web browser
|
# Web browser
|
||||||
unset programList
|
unset programList
|
||||||
for i in brave chromium epiphany firefox google-chrome-stable google-chrome-unstable microsoft-edge-stable microsoft-edge-beta microsoft-edge-dev midori seamonkey ; do
|
for i in brave chromium epiphany firefox google-chrome-stable google-chrome-unstable microsoft-edge-stable microsoft-edge-beta microsoft-edge-dev midori seamonkey ; do
|
||||||
@ -328,7 +345,7 @@ if [ "$programList" != "${programList// /}" ]; then
|
|||||||
else
|
else
|
||||||
webBrowser="${programList/#-/}"
|
webBrowser="${programList/#-/}"
|
||||||
fi
|
fi
|
||||||
webBrowser="$(command -v $webBrowser)"
|
export webBrowser="$(command -v $webBrowser)"
|
||||||
# Text editor
|
# Text editor
|
||||||
unset programList
|
unset programList
|
||||||
for i in emacs geany gedit kate kwrite l3afpad leafpad libreoffice mousepad pluma ; do
|
for i in emacs geany gedit kate kwrite l3afpad leafpad libreoffice mousepad pluma ; do
|
||||||
@ -345,7 +362,7 @@ textEditor="$(menulist "Text editor:" $programList)"
|
|||||||
else
|
else
|
||||||
textEditor="${programList/#-/}"
|
textEditor="${programList/#-/}"
|
||||||
fi
|
fi
|
||||||
textEditor="$(command -v $textEditor)"
|
export textEditor="$(command -v $textEditor)"
|
||||||
# File browser
|
# File browser
|
||||||
# Configure file browser
|
# Configure file browser
|
||||||
unset programList
|
unset programList
|
||||||
@ -363,7 +380,7 @@ if [ "$programList" != "${programList// /}" ]; then
|
|||||||
else
|
else
|
||||||
fileBrowser="${programList/#-/}"
|
fileBrowser="${programList/#-/}"
|
||||||
fi
|
fi
|
||||||
fileBrowser="$(command -v $fileBrowser)"
|
export fileBrowser="$(command -v $fileBrowser)"
|
||||||
# Auto mount removable media
|
# Auto mount removable media
|
||||||
udiskie=1
|
udiskie=1
|
||||||
if command -v udiskie &> /dev/null ; then
|
if command -v udiskie &> /dev/null ; then
|
||||||
@ -375,14 +392,14 @@ if command -v dex &> /dev/null ; then
|
|||||||
export dex=$(yesno "Would you like to autostart applications with dex?")
|
export dex=$(yesno "Would you like to autostart applications with dex?")
|
||||||
fi
|
fi
|
||||||
if [[ $dex -eq 0 ]]; then
|
if [[ $dex -eq 0 ]]; then
|
||||||
dex -t "${XDG_CONFIG_HOME:-${HOME}/.config}/autostart" -c $(command -v orca)
|
dex -t "${XDG_CONFIG_HOME:-${HOME}/.config}/autostart" -c $(command -v $screenReader)
|
||||||
fi
|
fi
|
||||||
if command -v acpi &> /dev/null ; then
|
if command -v acpi &> /dev/null ; then
|
||||||
batteryAlert=1
|
batteryAlert=1
|
||||||
batteryAlert=$(yesno "Do you want low battery notifications?")
|
batteryAlert=$(yesno "Do you want low battery notifications?")
|
||||||
fi
|
fi
|
||||||
brlapi=1
|
brlapi=1
|
||||||
brlapi=$(yesno "Do you want to use a braille display with Orca?")
|
brlapi=$(yesno "Do you want to use a braille display with $screenReader?")
|
||||||
sounds=1
|
sounds=1
|
||||||
sounds=$(yesno "Do you want window event sounds?")
|
sounds=$(yesno "Do you want window event sounds?")
|
||||||
# Play Login Sound
|
# Play Login Sound
|
||||||
@ -623,8 +640,8 @@ bindsym Mod1+b exec --no-startup-id ${i3Path}/scripts/battery_status.sh, mode "d
|
|||||||
bindsym g exec ${i3Path}/scripts/game_controler.sh -s, mode "default"
|
bindsym g exec ${i3Path}/scripts/game_controler.sh -s, mode "default"
|
||||||
# Get a list of windows in the current workspace
|
# Get a list of windows in the current workspace
|
||||||
bindsym apostrophe exec --no-startup-id ${i3Path}/scripts/window_list.sh, mode "default"
|
bindsym apostrophe exec --no-startup-id ${i3Path}/scripts/window_list.sh, mode "default"
|
||||||
# Restart orca
|
# Restart $screenReader
|
||||||
bindsym Shift+o exec $(command -v orca) --replace, mode "default"
|
bindsym Shift+o exec $screenReader --replace, mode "default"
|
||||||
$(if [[ $usingSway -eq 0 ]]; then
|
$(if [[ $usingSway -eq 0 ]]; then
|
||||||
echo "# reload the configuration file"
|
echo "# reload the configuration file"
|
||||||
echo "bindsym Control+semicolon exec bash -c '$i3msg -t command reload && spd-say -P important -Cw "I38 Configuration reloaded."', mode "default""
|
echo "bindsym Control+semicolon exec bash -c '$i3msg -t command reload && spd-say -P important -Cw "I38 Configuration reloaded."', mode "default""
|
||||||
@ -693,7 +710,7 @@ else
|
|||||||
echo 'exec --no-startup-id x11bell play -nqV0 synth .1 sq norm -12'
|
echo 'exec --no-startup-id x11bell play -nqV0 synth .1 sq norm -12'
|
||||||
fi
|
fi
|
||||||
echo 'exec --no-startup-id clipster -d'
|
echo 'exec --no-startup-id clipster -d'
|
||||||
echo 'exec orca'
|
echo "exec $screenReader"
|
||||||
echo "exec_always --no-startup-id ${i3Path}/scripts/desktop.sh"
|
echo "exec_always --no-startup-id ${i3Path}/scripts/desktop.sh"
|
||||||
fi)
|
fi)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user