Compare commits
10 Commits
clean_emac
...
4be55c69b4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4be55c69b4 | ||
|
|
5f3703da07 | ||
|
|
172702b289 | ||
|
|
59e661e620 | ||
|
|
38b7133cfb | ||
|
|
fd2da739e8 | ||
|
|
a046134f7e | ||
|
|
49118bbc01 | ||
|
|
5fa0681986 | ||
|
|
48eace8cee |
@@ -79,8 +79,40 @@ bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
|
|||||||
bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0
|
bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0
|
||||||
|
|
||||||
# Open specific applications in floating mode
|
# Open specific applications in floating mode
|
||||||
|
<<<<<<< HEAD
|
||||||
|
for_window [class="^Thunderbird$" title="^.*Event:"] floating enable
|
||||||
|
|
||||||
|
# https://github.com/z3ntu/dotfiles/blob/master/i3/.config/i3/config
|
||||||
|
# Steam
|
||||||
|
for_window [class="^Steam$" title="^Friends List$"] floating enable
|
||||||
|
for_window [class="^Steam$" title="Steam"] floating enable
|
||||||
|
for_window [class="^Steam$" title="^Settings$"] floating enable
|
||||||
|
for_window [class="^Steam$" title=".* - event started"] floating enable
|
||||||
|
for_window [class="^Steam$" title=".* CD key"] floating enable
|
||||||
|
for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
|
||||||
|
for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
|
||||||
|
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
|
||||||
|
for_window [title="^Steam Keyboard$"] floating enable
|
||||||
|
||||||| e9d53f0
|
||||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||||
for_window [title="KeePassX$"] floating enable border normal
|
for_window [title="KeePassX$"] floating enable border normal
|
||||||
|
for_window [class="^Thunderbird$" title="^.*Event:"] floating enable
|
||||||
|
|
||||||
|
# https://github.com/z3ntu/dotfiles/blob/master/i3/.config/i3/config
|
||||||
|
# Steam
|
||||||
|
for_window [class="^Steam$" title="^Friends List$"] floating enable
|
||||||
|
for_window [class="^Steam$" title="Steam"] floating enable
|
||||||
|
for_window [class="^Steam$" title="^Settings$"] floating enable
|
||||||
|
for_window [class="^Steam$" title=".* - event started"] floating enable
|
||||||
|
for_window [class="^Steam$" title=".* CD key"] floating enable
|
||||||
|
for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
|
||||||
|
for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
|
||||||
|
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
|
||||||
|
for_window [title="^Steam Keyboard$"] floating enable
|
||||||
|
=======
|
||||||
|
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||||
|
for_window [title="KeePassX$"] floating enable border normal
|
||||||
|
>>>>>>> clean_emacs
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
############################ Startup Applications #############################
|
############################ Startup Applications #############################
|
||||||
@@ -93,7 +125,21 @@ exec --no-startup-id conky -c ~/.conky/syclo-crimson-bottomleft.conkyrc
|
|||||||
# exec --no-startup-id synergyc -f --no-tray --debug INFO --name genesis --enable-crypto 192.168.178.38:24800
|
# exec --no-startup-id synergyc -f --no-tray --debug INFO --name genesis --enable-crypto 192.168.178.38:24800
|
||||||
exec --no-startup-id dunst
|
exec --no-startup-id dunst
|
||||||
exec --no-startup-id ~/.scripts/startup.sh
|
exec --no-startup-id ~/.scripts/startup.sh
|
||||||
|
<<<<<<< HEAD
|
||||||
|
exec --no-startup-id ~/.scripts/battery_stats.sh
|
||||||
|
exec --no-startup-id llk
|
||||||
|
||||||| e9d53f0
|
||||||
|
exec --no-startup-id llk
|
||||||
|
exec --no-startup-id emacs --daemon
|
||||||
|
=======
|
||||||
|
>>>>>>> clean_emacs
|
||||||
exec --no-startup-id syncthing
|
exec --no-startup-id syncthing
|
||||||
|
<<<<<<< HEAD
|
||||||
|
exec --no-startup-id xrandr --output eDP1 --auto --left-of HDMI1 --output HDMI1 --off --output DP1 --off
|
||||||
|
||||||| e9d53f0
|
||||||
|
exec --no-startup-id xrandr --output eDP1 --auto --left-of HDMI1 --output HDMI1 --off --output DP1 --off; feh --randomize --bg-fill /home/tuan/Pictures/Wallpaper/*
|
||||||
|
=======
|
||||||
|
>>>>>>> clean_emacs
|
||||||
exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/*
|
exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/*
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@@ -130,7 +176,17 @@ bindsym XF86AudioPrevious exec "playerctl previous"
|
|||||||
|
|
||||||
# Application Shortcuts
|
# Application Shortcuts
|
||||||
bindsym $mod+b exec firefox
|
bindsym $mod+b exec firefox
|
||||||
|
<<<<<<< HEAD
|
||||||
|
bindsym $mod+p exec firefox --private-window https://mos4.de
|
||||||
|
bindsym $mod+e exec emacs
|
||||||
|
bindsym $mod+m exec thunderbird
|
||||||
|
||||||| e9d53f0
|
||||||
|
bindsym $mod+p exec firefox --private-window https://mos4.de
|
||||||
|
bindsym $mod+e exec emacsclient -c
|
||||||
|
bindsym $mod+m exec thunderbird
|
||||||
|
=======
|
||||||
bindsym $mod+p exec firefox --private-window https://tudattr.dev
|
bindsym $mod+p exec firefox --private-window https://tudattr.dev
|
||||||
|
>>>>>>> clean_emacs
|
||||||
|
|
||||||
# Whole Screen
|
# Whole Screen
|
||||||
bindsym Control+Print exec --no-startup-id ~/.scripts/screenshot.sh screen
|
bindsym Control+Print exec --no-startup-id ~/.scripts/screenshot.sh screen
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ keybinds {
|
|||||||
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
|
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
|
||||||
bind "Alt n" { NewPane; }
|
bind "Alt n" { NewPane; }
|
||||||
bind "Alt t" { NewTab; }
|
bind "Alt t" { NewTab; }
|
||||||
|
bind "Alt w" { ToggleFloatingPanes; }
|
||||||
bind "Alt =" "Alt +" { Resize "Increase"; }
|
bind "Alt =" "Alt +" { Resize "Increase"; }
|
||||||
bind "Alt -" { Resize "Decrease"; }
|
bind "Alt -" { Resize "Decrease"; }
|
||||||
|
|
||||||
|
|||||||
19
config/.local/share/ranger/bookmarks
Normal file
19
config/.local/share/ranger/bookmarks
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
u:/home/tuan/Documents/Uni/Studium
|
||||||
|
p:/home/tuan/Documents/Protokolle/FSE
|
||||||
|
o:/home/tuan/.dotfiles/config
|
||||||
|
m:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-machine-learning/mvr
|
||||||
|
a:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK
|
||||||
|
l:/home/tuan/Local
|
||||||
|
c:/home/tuan/Documents/CTF
|
||||||
|
t:/home/tuan/Templates
|
||||||
|
w:/home/tuan/workspace_l/home_lab/wiki
|
||||||
|
k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor
|
||||||
|
q:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-gps
|
||||||
|
':/home/tuan/workspace_l/rust/LibAFL/fuzzers
|
||||||
|
e:/home/tuan/Documents/Uni/Studium/2022&2023_Wintersemester/Bachelorprojekt/ethfuzz
|
||||||
|
s:/home/tuan/Pictures/Screenshots
|
||||||
|
v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible
|
||||||
|
f:/home/tuan/Documents/Finanzen/Unternehmen/Rechnungen
|
||||||
|
g:/home/tuan/workspace_l/home_lab
|
||||||
|
r:/home/tuan/Documents/roam
|
||||||
|
b:/home/tuan/.syncthing/Documents/Uni/Studium/2022&2023_Wintersemester/Bachelorprojekt/ethfuzz
|
||||||
10
config/.scripts/battery_stats.sh
Executable file
10
config/.scripts/battery_stats.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
FILENAME=$(date -I)
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
TIMESTAMP=$(date +%s)
|
||||||
|
STATS=$(acpi | sed "s/.*\([0-9]\{2\}\)%.*/\1/")
|
||||||
|
echo "$TIMESTAMP,$STATS" >> ~/.scripts/battery_$FILENAME.log
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
36
zsh/.zshrc
36
zsh/.zshrc
@@ -11,12 +11,38 @@ export EDITOR="nvim"
|
|||||||
|
|
||||||
|
|
||||||
# History
|
# History
|
||||||
export HISTSIZE=10000000
|
export HISTSIZE=50000
|
||||||
export SAVEHIST=10000000
|
export SAVEHIST=50000
|
||||||
export HISTTIMEFORMAT="[%F %T] "
|
export HISTTIMEFORMAT="[%F %T] "
|
||||||
|
|
||||||
|
# Following commands from: https://registerspill.thorstenball.com/p/which-command-did-you-run-1731-days
|
||||||
|
# Immediately append to history file:
|
||||||
|
setopt INC_APPEND_HISTORY
|
||||||
|
|
||||||
|
# Record timestamp in history:
|
||||||
setopt EXTENDED_HISTORY
|
setopt EXTENDED_HISTORY
|
||||||
|
|
||||||
|
# Expire duplicate entries first when trimming history:
|
||||||
|
setopt HIST_EXPIRE_DUPS_FIRST
|
||||||
|
|
||||||
|
# Dont record an entry that was just recorded again:
|
||||||
|
setopt HIST_IGNORE_DUPS
|
||||||
|
|
||||||
|
# Delete old recorded entry if new entry is a duplicate:
|
||||||
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
|
|
||||||
|
# Do not display a line previously found:
|
||||||
setopt HIST_FIND_NO_DUPS
|
setopt HIST_FIND_NO_DUPS
|
||||||
|
|
||||||
|
# Dont record an entry starting with a space:
|
||||||
|
setopt HIST_IGNORE_SPACE
|
||||||
|
|
||||||
|
# Dont write duplicate entries in the history file:
|
||||||
|
setopt HIST_SAVE_NO_DUPS
|
||||||
|
|
||||||
|
# Share history between all sessions:
|
||||||
|
setopt SHARE_HISTORY
|
||||||
|
|
||||||
# Alias
|
# Alias
|
||||||
alias q="exit"
|
alias q="exit"
|
||||||
alias b="byobu"
|
alias b="byobu"
|
||||||
@@ -25,7 +51,6 @@ alias cat="bat --pager=never"
|
|||||||
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
|
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
|
||||||
alias xsel='xsel -ib'
|
alias xsel='xsel -ib'
|
||||||
alias msfconsole="msfconsole -x \"db_connect metasploit@msf\""
|
alias msfconsole="msfconsole -x \"db_connect metasploit@msf\""
|
||||||
alias nmap="nmap -T5 --min-parallelism 100 -Pn"
|
|
||||||
alias ed="\emacs --daemon"
|
alias ed="\emacs --daemon"
|
||||||
alias e="open_emacs"
|
alias e="open_emacs"
|
||||||
alias df="df -h"
|
alias df="df -h"
|
||||||
@@ -63,3 +88,8 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
|
|
||||||
add_soft_git() { git remote add soft ssh://git.aya01:/$1 }
|
add_soft_git() { git remote add soft ssh://git.aya01:/$1 }
|
||||||
open_emacs() { emacsclient -c $1 & disown; };
|
open_emacs() { emacsclient -c $1 & disown; };
|
||||||
|
|
||||||
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
|
complete -o nospace -C /usr/bin/terraform terraform
|
||||||
|
|
||||||
|
# echo "rm -rf braincells/*"
|
||||||
|
|||||||
Reference in New Issue
Block a user