diff options
| author | Shubham Saini <pryr@pryr.xyz> | 2020-07-22 15:36:12 +0000 |
|---|---|---|
| committer | Shubham Saini <pryr@pryr.xyz> | 2020-07-22 15:36:12 +0000 |
| commit | 38c9c6044fbafe151e10201dc4cb4ebee235b788 (patch) | |
| tree | dcefb86d1ca83de8e774c4ced7625afdda93c0c9 | |
| parent | 0e3dd76acedb84ddfda4e4a33ed025f390847562 (diff) | |
making caps productive
| -rw-r--r-- | spectrwm/.config/spectrwm/spectrwm.conf | 2 | ||||
| -rw-r--r-- | x/.Xresources | 20 | ||||
| -rw-r--r-- | x/.xinitrc | 2 | ||||
| -rw-r--r-- | zsh/.zshrc | 6 |
4 files changed, 18 insertions, 12 deletions
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf index 0b46597..94d11c0 100644 --- a/spectrwm/.config/spectrwm/spectrwm.conf +++ b/spectrwm/.config/spectrwm/spectrwm.conf | |||
| @@ -66,7 +66,7 @@ urgent_enabled = 1 | |||
| 66 | # region = screen[1]:1280x1024+1280+0 | 66 | # region = screen[1]:1280x1024+1280+0 |
| 67 | 67 | ||
| 68 | # Launch applications in a workspace of choice | 68 | # Launch applications in a workspace of choice |
| 69 | autorun = ws[2]:chromium | 69 | autorun = ws[2]:chromium --profile-directory=Default |
| 70 | 70 | ||
| 71 | # Customize workspace layout at start | 71 | # Customize workspace layout at start |
| 72 | # layout = ws[1]:4:0:0:0:vertical | 72 | # layout = ws[1]:4:0:0:0:vertical |
diff --git a/x/.Xresources b/x/.Xresources index 39bb560..44bd7c8 100644 --- a/x/.Xresources +++ b/x/.Xresources | |||
| @@ -8,28 +8,28 @@ | |||
| 8 | *.color8: #747c84 | 8 | *.color8: #747c84 |
| 9 | 9 | ||
| 10 | ! red | 10 | ! red |
| 11 | *.color1: #b23e27 | 11 | *.color1: #ce3c1e |
| 12 | *.color9: #b23e27 | 12 | *.color9: #ce3c1e |
| 13 | 13 | ||
| 14 | ! green | 14 | ! green |
| 15 | *.color2: #378e5e | 15 | *.color2: #1ea85c |
| 16 | *.color10: #378e5e | 16 | *.color10: #1ea85c |
| 17 | 17 | ||
| 18 | ! yellow | 18 | ! yellow |
| 19 | *.color3: #aec795 | 19 | *.color3: #758268 |
| 20 | *.color11: #aec795 | 20 | *.color11: #758268 |
| 21 | 21 | ||
| 22 | ! blue | 22 | ! blue |
| 23 | *.color4: #50719b | 23 | *.color4: #50719b |
| 24 | *.color12: #50719b | 24 | *.color12: #50719b |
| 25 | 25 | ||
| 26 | ! magenta | 26 | ! magenta |
| 27 | *.color5: #b76e9f | 27 | *.color5: #aa297f |
| 28 | *.color13: #b76e9f | 28 | *.color13: #aa297f |
| 29 | 29 | ||
| 30 | ! cyan | 30 | ! cyan |
| 31 | *.color6: #318e88 | 31 | *.color6: #35a390 |
| 32 | *.color14: #318e88 | 32 | *.color14: #35a390 |
| 33 | 33 | ||
| 34 | ! white | 34 | ! white |
| 35 | *.color7: #c7ccd1 | 35 | *.color7: #c7ccd1 |
| @@ -5,6 +5,8 @@ xrdb -merge ~/.Xresources & | |||
| 5 | xss-lock -- slock & | 5 | xss-lock -- slock & |
| 6 | xset b off & | 6 | xset b off & |
| 7 | xset s 300 & | 7 | xset s 300 & |
| 8 | setxkbmap -layout us -option caps:ctrl_modifier & | ||
| 9 | xcape -e 'Caps_Lock=Escape' & | ||
| 8 | # xrandr --setprovideroutputsource modesetting NVIDIA-0 | 10 | # xrandr --setprovideroutputsource modesetting NVIDIA-0 |
| 9 | # xrandr --auto | 11 | # xrandr --auto |
| 10 | ~/.fehbg & | 12 | ~/.fehbg & |
| @@ -36,6 +36,10 @@ dict() { | |||
| 36 | curl dict://dict.org/d:$* | 36 | curl dict://dict.org/d:$* |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | sip() { | ||
| 40 | curl https://ipinfo.io/$* | ||
| 41 | } | ||
| 42 | |||
| 39 | # Enable colors and change prompt: | 43 | # Enable colors and change prompt: |
| 40 | autoload -U colors && colors | 44 | autoload -U colors && colors |
| 41 | fpath+=$HOME/.zsh/pure | 45 | fpath+=$HOME/.zsh/pure |
| @@ -50,7 +54,7 @@ zstyle ':completion:*' menu select | |||
| 50 | zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' | 54 | zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' |
| 51 | zmodload zsh/complist | 55 | zmodload zsh/complist |
| 52 | compinit | 56 | compinit |
| 53 | _comp_options+=(globdots) # Include hidden files. | 57 | #_comp_options+=(globdots) # Include hidden files. |
| 54 | 58 | ||
| 55 | # vi mode | 59 | # vi mode |
| 56 | bindkey -v | 60 | bindkey -v |
