From 38c9c6044fbafe151e10201dc4cb4ebee235b788 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Wed, 22 Jul 2020 21:06:12 +0530 Subject: making caps productive --- spectrwm/.config/spectrwm/spectrwm.conf | 2 +- x/.Xresources | 20 ++++++++++---------- x/.xinitrc | 2 ++ 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 # region = screen[1]:1280x1024+1280+0 # Launch applications in a workspace of choice -autorun = ws[2]:chromium +autorun = ws[2]:chromium --profile-directory=Default # Customize workspace layout at start # 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 @@ *.color8: #747c84 ! red -*.color1: #b23e27 -*.color9: #b23e27 +*.color1: #ce3c1e +*.color9: #ce3c1e ! green -*.color2: #378e5e -*.color10: #378e5e +*.color2: #1ea85c +*.color10: #1ea85c ! yellow -*.color3: #aec795 -*.color11: #aec795 +*.color3: #758268 +*.color11: #758268 ! blue *.color4: #50719b *.color12: #50719b ! magenta -*.color5: #b76e9f -*.color13: #b76e9f +*.color5: #aa297f +*.color13: #aa297f ! cyan -*.color6: #318e88 -*.color14: #318e88 +*.color6: #35a390 +*.color14: #35a390 ! white *.color7: #c7ccd1 diff --git a/x/.xinitrc b/x/.xinitrc index f490477..2269628 100644 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -5,6 +5,8 @@ xrdb -merge ~/.Xresources & xss-lock -- slock & xset b off & xset s 300 & +setxkbmap -layout us -option caps:ctrl_modifier & +xcape -e 'Caps_Lock=Escape' & # xrandr --setprovideroutputsource modesetting NVIDIA-0 # xrandr --auto ~/.fehbg & diff --git a/zsh/.zshrc b/zsh/.zshrc index 34f59ae..c1e5c28 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -36,6 +36,10 @@ dict() { curl dict://dict.org/d:$* } +sip() { + curl https://ipinfo.io/$* +} + # Enable colors and change prompt: autoload -U colors && colors fpath+=$HOME/.zsh/pure @@ -50,7 +54,7 @@ zstyle ':completion:*' menu select zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' zmodload zsh/complist compinit -_comp_options+=(globdots) # Include hidden files. +#_comp_options+=(globdots) # Include hidden files. # vi mode bindkey -v -- cgit v1.2.3