Merge branch 'master' of github.com:Jab2870/dotfiles

Jonathan Hodgson 7 years ago
commit 9fdbf62ee6
  1. 8
      i3/blocks/mediaplayer
  2. 3
      i3/configWork
  3. 5
      i3/i3blocks-secondary.conf

@ -18,10 +18,12 @@ fi
title=$($COMMAND metadata title | sed "s/\&/\&/g") title=$($COMMAND metadata title | sed "s/\&/\&/g")
artist=$($COMMAND metadata artist | sed "s/\&/\&/g") artist=$($COMMAND metadata artist | sed "s/\&/\&/g")
if [ "$title" != "(null)" ]; then
ret="<span foreground='$colour'>$title</span>"
ret="$ret - $artist"
ret="<span foreground='$colour'>$title</span>" echo "$ret";
ret="$ret - $artist" fi
echo "$ret";

@ -69,6 +69,9 @@ bindsym $mod+u exec ~/.dotfiles/rofi/scripts/rofi-emoji
#kill i3 #kill i3
bindsym $mod+Shift+x exec killall i3 bindsym $mod+Shift+x exec killall i3
# Rename Current Workspace
bindsym $mod+m exec man -k . | awk '{ print $1 " " $2 }' | rofi -dmenu -p man: | awk '{ print $2 " " $1 }' | tr -d '()' | xargs st -e man
# Send signals to i3 blocks and zsh to tell them that capslock has been pushed # Send signals to i3 blocks and zsh to tell them that capslock has been pushed
# The message to zsh is technically a "window change" which causes zsh to re-draw the prompt # The message to zsh is technically a "window change" which causes zsh to re-draw the prompt

@ -40,6 +40,11 @@ interval=once
signal=11 signal=11
[wanip]
command=curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
interval=10
color=#00FF00
# Generic media player support # Generic media player support
# #
# This displays "ARTIST - SONG" if a music is playing. # This displays "ARTIST - SONG" if a music is playing.

Loading…
Cancel
Save