Skip to content

Commit

Permalink
add some more configs
Browse files Browse the repository at this point in the history
  • Loading branch information
3ximus committed Mar 29, 2023
1 parent 19be886 commit 44d06c6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .bash/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ alias wget-directory='wget -r -np -nc -nd -k'

alias pip-upgrade='pip3 list --outdated --format=freeze | grep -v "^\-e" | cut -d = -f 1 | xargs -n1 sudo pip3 install -U'

# start konsole emulator attached to remote tmux session
alias kali-tmux='konsole --workdir /home/eximus/Desktop/kali -e "vagrant ssh -- -t tmux new-session -A -s KALI -c /vagrant"'

# PLEX
# Add this to sudoers or a file in sudoers.d
# %eximus ALL= NOPASSWD: /bin/systemctl start plexmediaserver.service
Expand Down
2 changes: 2 additions & 0 deletions .bash/scripts/kali-tmux
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
konsole --workdir /home/eximus/Desktop/kali -e "vagrant ssh -- -t tmux new-session -A -s KALI -c /vagrant"
3 changes: 3 additions & 0 deletions .bash/scripts/spotify-nowplaying.5s.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
data=$(qdbus --literal org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | sed 's/.*"xesam:artist"[^"]*"\([^"]*\)".*"xesam:title"[^"]*"\([^"]*\)".*/\2 - \1/')
[[ -z $data ]] && echo -n '_' || echo -n "<font size=4 color='#b3deef'>♫</font> ${data} | size=16"
2 changes: 1 addition & 1 deletion .radare2rc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
e asm.bytes = false
e asm.cmt.right = true
e asm.cmt.col = 70
e asm.pseudo = true
# e asm.pseudo = true
e asm.describe = true

e graph.cmtright = false
Expand Down
1 change: 1 addition & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ set -g @fingers-key C-f
set -g @fingers-hint-format "#[fg=red,bold]%s"
set -g @fingers-highlight-format "#[fg=yellow,dim]%s"
set -g @fingers-pattern-1 '["].*["]' # match quoted text, useful when files path are quoted
set -g @fingers-pattern-2 "['][^']+[']" # match quoted text, useful when files path are quoted

set -g @extrakto_popup_size '60%'
set -g @extrakto_copy_key tab
Expand Down

0 comments on commit 44d06c6

Please sign in to comment.