@hurshb50/setup-ubuntu 1.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -126,7 +126,7 @@ function fuzzy_finder() {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
function typescript_toolchain() {
|
|
129
|
-
. "
|
|
129
|
+
. "$HOME/.config/vite-plus/env"
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
|
|
@@ -139,6 +139,10 @@ function swap_keys() {
|
|
|
139
139
|
return
|
|
140
140
|
fi
|
|
141
141
|
|
|
142
|
+
if ! gsettings list-schemas 2>/dev/null | grep -qx "org.gnome.desktop.input-sources"; then
|
|
143
|
+
return
|
|
144
|
+
fi
|
|
145
|
+
|
|
142
146
|
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:swapescape']"
|
|
143
147
|
}
|
|
144
148
|
|
|
@@ -156,7 +160,6 @@ function run() {
|
|
|
156
160
|
list_directory_alias
|
|
157
161
|
custom_bash_rc
|
|
158
162
|
disable_legacy
|
|
159
|
-
swap_capslock_and_esc
|
|
160
163
|
fuzzy_finder
|
|
161
164
|
typescript_toolchain
|
|
162
165
|
swap_keys
|
|
@@ -11,7 +11,7 @@ import util from "util";
|
|
|
11
11
|
import childProcess from "child_process";
|
|
12
12
|
//#region package.json
|
|
13
13
|
var name = "@hurshb50/setup-ubuntu";
|
|
14
|
-
var version = "1.
|
|
14
|
+
var version = "1.5.0";
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region source/modules/logger/logger.ts
|
|
17
17
|
var Logger = class Logger {
|