Added Screenshot script for i3, fixed writeup path for ranger, added aws centos to ssh, added some abbrevs for *.go in vim, added metasploit alias to .zshrc~
This commit is contained in:
@@ -147,9 +147,16 @@ bindsym $mod+p exec firefox --private-window https://mos4.de
|
||||
bindsym $mod+e exec urxvtc -e ranger
|
||||
bindsym $mod+m exec thunderbird
|
||||
|
||||
bindsym Print exec --no-startup-id maim -f png ~/Pictures/Screenshots/$(date +%G-%m)/$(cat /proc/$(xdotool getwindowpid $(xdotool getwindowfocus))/comm)_$(date +%G-%m-%d_%H-%M-%S).png
|
||||
bindsym control+Shift+Print --release exec --no-startup-id maim -u -s -f png ~/Pictures/Screenshots/$(date +%G-%m)/$(cat /proc/$(xdotool getwindowpid $(xdotool getwindowfocus))/comm)_$(date +%G-%m-%d_%H-%M-%S).png
|
||||
bindsym Shift+Print --release exec --no-startup-id maim -u -i $(xdotool getactivewindow) -f png ~/Pictures/Screenshots/$(date +%G-%m)/$(cat /proc/$(xdotool getwindowpid $(xdotool getwindowfocus))/comm)_$(date +%G-%m-%d_%H-%M-%S).png
|
||||
# Whole Screen
|
||||
bindsym Control+Print exec --no-startup-id ~/.scripts/screenshot.sh screen
|
||||
|
||||
# Window
|
||||
bindsym Mod1+Print --release exec --no-startup-id ~/.scripts/screenshot.sh window
|
||||
|
||||
# Area
|
||||
bindsym Print --release exec --no-startup-id ~/.scripts/screenshot.sh area
|
||||
|
||||
# Kill Window
|
||||
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||
|
||||
# change focus
|
||||
|
||||
@@ -9,4 +9,4 @@ map nrg shell cp ~/Templates/LaTeX/Invoice/elektro_invoice.tex Gefeba_Elektr
|
||||
map nrb shell cp ~/Templates/LaTeX/Invoice/engineering_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g-%m)_-Engineering.tex; ~/Templates/LaTeX/Invoice/InvNum.sh
|
||||
map nu shell touch L_$(basename %f .pdf)\.md
|
||||
map ntu shell cp ~/Templates/LaTeX/UniversityAssignmets/assignment.tex .
|
||||
map nw shell sed "s/# $/# $(pwd | rev | cut -d/ -f1 | rev)/" ~/Templates/writeup.md > ./writeup.md
|
||||
map nw shell sed "s/# $/# $(pwd | rev | cut -d/ -f1 | rev)/" ~/.vim/templates/writeup.md > ./writeup.md
|
||||
|
||||
Reference in New Issue
Block a user