commit dd291851a8c702ab603db7151ee3a0d3f7e7fca0
parent b59a35e12c5f727ea72a72e3e964a233e948b82b
Author: nickfarrow <nicholas.w.farrow@gmail.com>
Date: Tue, 4 May 2021 18:09:52 +1000
update bar and hotkeys
Diffstat:
4 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/.config/.aliasrc b/.config/.aliasrc
@@ -4,7 +4,10 @@ alias pi='ssh pi@124.183.138.174'
alias prox='sudo openvpn --config client1.ovpn'
alias digo='ssh root@165.227.51.160'
-alias proton='ssh root@202.182.97.180'
+alias photon='ssh root@202.182.97.180'
+#alias photon-sync="photon 'cd nickfarrow.com; git pull origin master & pwd & export LC_ALL="en_US.UTF-8" & export LANG="en_US.UTF-8" & bundle exec jekyll build'"
+
+
# DEL
alias uskeys='setxkbmap -layout us'
@@ -36,4 +39,10 @@ alias pipu='python3 -m pip install --user'
alias gs='git status'
alias sps='sudo prime-switch && xinit'
+alias whatismyip='curl https://ifconfig.me/'
+
# test Alias
+
+
+# Electrum & Electrum personal server
+alias elec='LD_LIBRARY_PATH=/home/nick/install/electrum-4.0.5/contrib/secp256k1/dist/lib electrum --oneserver --server localhost:50002:s | ssh pi@192.168.0.252 -L 50002:localhost:50002 cat'
diff --git a/.config/compton.conf b/.config/compton.conf
@@ -1,7 +1,7 @@
## Shadow
shadow = true;
no-dnd-shadow = true;
-no-dock-shadow = false;
+no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 12;
shadow-offset-x = -17;
@@ -38,3 +38,4 @@ blur-strength = 8;
#blur-background-exclude = [ "window_type = 'desktop'" ];
opacity-rule = [ "100:class_g = 'St'" ];
+opacity-rule = [ "100:class_g = 'Polybar'" ];
diff --git a/.config/i3/config b/.config/i3/config
@@ -14,6 +14,9 @@ font pango:monospace 8
workspace 1 output HDMI-0
workspace 2 output DVI-I-0
+# Fix optimus
+exec /usr/bin/prime-offload
+
# Load bash_profile on startup
exec --no-startup-id source $HOME/.bash_profile
@@ -68,7 +71,7 @@ exec --no-startup-id pkill polybar; polybar -r example
bindsym $mod+F1 exec brave --disable-seccomp-filter-sandbox #google-chrome-stable
bindsym $mod+F2 exec nautilus
bindsym $mod+F3 exec firefox
-bindsym $mod+F4 exec discord
+bindsym $mod+F4 exec discord-canary
bindsym $mod+F5 exec s-tui
bindsym $mod+F6 exec google-chrome-stable
diff --git a/.config/polybar/config b/.config/polybar/config
@@ -59,7 +59,7 @@ padding-left = 2
padding-right = 2
module-margin = 1.5
-modules-left = i3 crypto nordstat corona
+modules-left = i3 crypto nordstat
modules-center = optimusgfx
modules-right = volume memory cpu wlan battery temperature date powermenu