rofi ssh, i3block for weather and crypto alias

This commit is contained in:
Rick van Lieshout 2019-07-05 22:03:57 +02:00
parent 54efa8ffa4
commit fb907b365d
5 changed files with 16 additions and 5 deletions

View File

@ -49,6 +49,9 @@ alias scan-wifi='sudo iw dev wlp2s0 scan'
alias pretty-json='python -m json.tool'
alias addpgpkey='gpg --recv-keys'
# cli tools
alias crypto='curl -s rate.sx?qF | head -n -2 | tail -n +10'
# show file content without comment lines
alias nocomment='grep -Ev '\''^(#|$)'\'''

View File

@ -5,4 +5,8 @@ rofi.color-urgent: #333333, #ef5350, #0000ff, #333333, #f6f6f7
rofi.lines: 10
rofi.line-padding: 5
rofi.font: monospace 10
rofi.font: monospace 10
rofi.terminal: xfce4-terminal
rofi.ssh-client: ssh
rofi.ssh-command: {terminal} -e "{ssh-client} {host}"

View File

@ -7,7 +7,7 @@ MiscBellUrgent=FALSE
MiscBordersDefault=FALSE
MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscDefaultGeometry=80x24
MiscDefaultGeometry=132x43
MiscInheritGeometry=FALSE
MiscMenubarDefault=FALSE
MiscMouseAutohide=FALSE
@ -24,14 +24,12 @@ MiscCopyOnSelect=FALSE
MiscDefaultWorkingDir=
MiscRewrapOnResize=TRUE
MiscUseShiftArrowsToScroll=FALSE
MiscSlimTabs=FALSE
MiscSlimTabs=TRUE
MiscNewTabAdjacent=FALSE
ScrollingUnlimited=TRUE
ScrollingBar=TERMINAL_SCROLLBAR_NONE
MiscShowRelaunchDialog=TRUE
ColorCursor=#c5c5c8c8c6c6
ColorForeground=#c5c5c8c8c6c6
ColorBackground=#000000
ColorPalette=#28282a2a2e2e;#a5a542424242;#8c8c94944040;#dede93935f5f;#5f5f81819d9d;#858567678f8f;#5e5e8d8d8787;#707078788080;#37373b3b4141;#cccc66666666;#b5b5bdbd6868;#f0f0c6c67474;#8181a2a2bebe;#b2b29494bbbb;#8a8abebeb7b7;#c5c5c8c8c6c6

View File

@ -127,6 +127,7 @@ bindsym $mod+shift+b exec /bin/bash ~/.config/i3/scripts/brightness.sh
# Rofi
bindsym $mod+d exec "rofi -show run"
bindsym $mod+Tab exec "rofi -show"
bindsym $mod+s exec "rofi -show ssh"
bindsym $mod+n exec $vpnmanager
############################################

View File

@ -41,6 +41,11 @@ separator_block_width=13
interval=1
color=#1DB954
[weather]
command=curl wttr.in?format=1
separator_block_width=13
interval=900
color=#999999
# Temperature
#