aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdus <mail@abdus.xyz>2020-10-26 21:08:27 +0530
committerAbdus <mail@abdus.xyz>2020-10-26 21:08:27 +0530
commit5730224d1e50fd113b9e9c31361fc60300af60df (patch)
treec7d6ed2dba6b3bd9706d69fb619c373d409750a1
parentc4417951381d5015c7a519e29c4d986c14dd0723 (diff)
downloaddotfiles-5730224d1e50fd113b9e9c31361fc60300af60df.tar.bz2
dotfiles-5730224d1e50fd113b9e9c31361fc60300af60df.zip
:zap: automated updates
-rwxr-xr-xaggregate.sh4
-rw-r--r--alacritty/alacritty.yml8
-rw-r--r--sway/config5
-rw-r--r--zsh/.zshrc3
4 files changed, 11 insertions, 9 deletions
diff --git a/aggregate.sh b/aggregate.sh
index abf1562..a637160 100755
--- a/aggregate.sh
+++ b/aggregate.sh
@@ -7,7 +7,7 @@
COMMAND=$1
-function update_eerything() {
+function update_everything() {
# alacritty
rsync --out-format="%n" -La ~/.config/alacritty/* ./alacritty/
@@ -53,7 +53,7 @@ if [[ $COMMAND == "clean" ]]; then
echo "Cleaing Workspace"
find . -type d -not -path "./.git/*" -not -name ".git" -exec rm -vrf {} +
elif [[ $COMMAND == "update" ]]; then
- update_eerything
+ update_everything
if [[ ! -d ".git" ]]; then
git init
diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml
index e1bd91b..06fe0a4 100644
--- a/alacritty/alacritty.yml
+++ b/alacritty/alacritty.yml
@@ -303,7 +303,7 @@ draw_bold_text_with_bright_colors: true
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
-background_opacity: 1
+background_opacity: 0.9
selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
@@ -325,7 +325,7 @@ cursor:
# If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused.
-#unfocused_hollow: true
+ unfocused_hollow: false
# Live config reload (changes require restart)
#live_config_reload: true
@@ -387,7 +387,7 @@ cursor:
# Record all characters and escape sequences as test data.
#ref_test: false
-#mouse:
+mouse:
# Click settings
#
# The `double_click` and `triple_click` settings control the time
@@ -397,7 +397,7 @@ cursor:
#triple_click: { threshold: 300 }
# If this is `true`, the cursor is temporarily hidden when typing.
-#hide_when_typing: false
+ hide_when_typing: true
#url:
# URL launcher
diff --git a/sway/config b/sway/config
index 6b5c30a..bd4c9df 100644
--- a/sway/config
+++ b/sway/config
@@ -60,6 +60,11 @@ input * {
accel_profile adaptive
pointer_accel 0.8
}
+
+input "type:keyboard" {
+ xkb_options caps:escape
+}
+
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
diff --git a/zsh/.zshrc b/zsh/.zshrc
index cc25e49..caad5e9 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -79,9 +79,6 @@ alias swaylock="swaylock --screenshots --clock --indicator --indicator-radius 10
#==== FUNCTIONS ==========================================================
-function cd() {
- builtin cd "$@" && tree -L 2 --noreport -I node_modules;
-}
function haste() {
curl -XPOST 'https://hastebin.com/documents' --data-binary @-