first commit!
This commit is contained in:
commit
66d911a569
4 changed files with 228 additions and 0 deletions
37
bashrc
Normal file
37
bashrc
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
|
||||
alias sl='ls'
|
||||
alias ls='ls --color=auto'
|
||||
alias lh='ls -l -h --color=auto'
|
||||
alias ll='ls -alF'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
|
||||
alias mkpatch='diff -Naur'
|
||||
|
||||
alias mv='mv -v'
|
||||
alias cp='cp -v'
|
||||
alias rm='rm -v'
|
||||
|
||||
alias cp-sync='cp -rvua'
|
||||
|
||||
function mkcd()
|
||||
{
|
||||
mkdir -pv "$1"
|
||||
cd "$1"
|
||||
}
|
||||
|
||||
function cpcd()
|
||||
{
|
||||
cp -rv "$1" "$2"
|
||||
cd "$2"
|
||||
}
|
||||
|
||||
function cdtemp()
|
||||
{
|
||||
cd $(mktemp -d)
|
||||
}
|
||||
|
||||
59
commands
Normal file
59
commands
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
i3-msg reload
|
||||
i3-msg restart
|
||||
i3-msg exit
|
||||
google-chrome --new-window --profile-directory="Default" https://tpb.party/
|
||||
anki
|
||||
gedit /tmp/main.c
|
||||
gedit -s /tmp/main.py
|
||||
gedit -s /tmp/main.html
|
||||
gedit -s ~/.bashrc
|
||||
gedit -s ~/.commands
|
||||
gedit ~/.config/i3/config
|
||||
gedit ~/utf8 -s
|
||||
libreoffice --writer
|
||||
libreoffice --calc
|
||||
openscad
|
||||
mpv "$(xsel -b)"
|
||||
mpv "$(xsel -b)" --input-ipc-server=/home/zander/.youtube
|
||||
mpv "$(xsel -b)" -loop 0
|
||||
mpv ~/m/u/ -loop 0
|
||||
baobab
|
||||
scrot -s /tmp/screenshot.png
|
||||
scrot -s ~/m/screenshot.png
|
||||
eog "$(xsel -b)"
|
||||
sleep 1; scrot -s /tmp/screenshot.png -o -u
|
||||
eog '/tmp/screenshot.png'
|
||||
gimp '/tmp/screenshot.png'
|
||||
xrandr --output DP-3 --rotate left
|
||||
xrandr --output DP-3 --rotate normal
|
||||
bash ~/.fehbg
|
||||
transmission-gtk
|
||||
gnome-terminal -- vim ~/.passwords
|
||||
gnome-terminal -- minecraft-launcher
|
||||
gnome-terminal -- top
|
||||
gnome-terminal -- bc -l
|
||||
gnome-terminal -- qc
|
||||
gnome-terminal -- dc
|
||||
gnome-terminal -- vim
|
||||
gnome-terminal -- vim ~/.vimrc
|
||||
gnome-terminal -- maxima
|
||||
gnome-terminal -- sudo gparted
|
||||
gnome-terminal -- sudo wireshark
|
||||
gnome-terminal -- bash -c 'ssh -X $(dmenu -l 5 < ~/.ssh-addresses)'
|
||||
gnome-terminal -- bash -c 'ssh -X $(dmenu -l 5 < ~/.ssh-addresses) -t screen -R'
|
||||
gnome-terminal -- bash /home/zander/bin/i3-high-bit.sh
|
||||
gnome-terminal -- sudo openconnect --no-dtls --protocol=pulse vpn.wmich.edu
|
||||
gnome-terminal -- sudo openconnect --no-dtls --protocol=gp vpn.amd.com
|
||||
gnome-terminal -- bpython3
|
||||
gnome-terminal -- watch ifconfig
|
||||
gnome-terminal -- python3 ~/bin/next-kattis.py
|
||||
gnome-terminal -- adb shell
|
||||
gnome-terminal -- adb reboot
|
||||
gnome-terminal -- rclone --vfs-cache-mode writes mount onedrive: ~/onedrive
|
||||
gnome-terminal -- watch -t lsblk
|
||||
gnome-terminal -- watch -t xrandr
|
||||
gnome-terminal -- vim ~/todo
|
||||
# cryptsetup --type luks open /dev/sdc1 encrypted
|
||||
# mount -t ext4 /dev/mapper/encrypted ./sdc1
|
||||
# umount /place/to/mount
|
||||
# cryptsetup close encrypted
|
||||
118
i3-config
Normal file
118
i3-config
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
|
||||
for_window [tiling] border pixel 0
|
||||
|
||||
bindsym $mod+q kill
|
||||
|
||||
bindsym $mod+Return exec gnome-terminal
|
||||
bindsym $mod+KP_Enter exec gnome-terminal
|
||||
bindsym $mod+Caps_Lock exec gnome-terminal
|
||||
|
||||
bindsym $mod+z exec obsidian
|
||||
bindsym $mod+x exec cat ~/git/dotfiles/commands ~/.commands | dmenu -i -l 30 | bash
|
||||
bindsym $mod+comma exec cat ~/git/dotfiles/commands ~/.commands | dmenu -i -l 30 | bash
|
||||
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
bindsym $mod+Tab workspace next_on_output
|
||||
bindsym $mod+Shift+Tab workspace prev_on_output
|
||||
|
||||
bindsym $mod+backslash workspace next_on_output
|
||||
bindsym $mod+Shift+backslash workspace prev_on_output
|
||||
|
||||
bindsym $mod+Shift+s split v layout stacking
|
||||
bindsym $mod+Shift+w split h layout tabbed
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+Shift+e split v
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
floating_modifier $mod
|
||||
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
bindsym $mod+Shift+a focus child
|
||||
bindsym $mod+Shift+z sticky toggle
|
||||
|
||||
# focus the child container
|
||||
bindsym $mod+d focus child
|
||||
|
||||
workspace_auto_back_and_forth yes
|
||||
|
||||
bindsym $mod+grave scratchpad show
|
||||
bindsym $mod+Shift+grave move container to scratchpad
|
||||
|
||||
bindsym $mod+1 workspace 1
|
||||
bindsym $mod+2 workspace 2
|
||||
bindsym $mod+3 workspace 3
|
||||
bindsym $mod+4 workspace 4
|
||||
bindsym $mod+5 workspace 5
|
||||
bindsym $mod+6 workspace 6
|
||||
bindsym $mod+7 workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+0 workspace 10
|
||||
bindsym $mod+minus workspace 11
|
||||
bindsym $mod+plus workspace 12
|
||||
bindsym $mod+BackSpace workspace 13
|
||||
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
bindsym $mod+Shift+3 move container to workspace 3
|
||||
bindsym $mod+Shift+4 move container to workspace 4
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Shift+0 move container to workspace 10
|
||||
bindsym $mod+Shift+minus move container to workspace 11
|
||||
bindsym $mod+Shift+plus move container to workspace 12
|
||||
bindsym $mod+Shift+BackSpace move container to workspace 13
|
||||
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #FFFFFF #000000 #FFFFFF #00FF00 #FFFFFF
|
||||
client.focused_inactive #000000 #000000 #FFFFFF #00FF00 #000000
|
||||
client.unfocused #000000 #000000 #888888 #00FF00 #888888
|
||||
client.urgent #FF0000 #900000 #FF0000 #900000 #FF0000
|
||||
client.placeholder #000000 #0c0c0c #FFFFFF #000000 #000000
|
||||
client.background #ffffff
|
||||
|
||||
bar {
|
||||
# strip_workspace_numbers yes
|
||||
workspace_buttons yes
|
||||
position top
|
||||
|
||||
# mode invisible
|
||||
mode hide
|
||||
|
||||
# mode dock
|
||||
modifier Mod1
|
||||
|
||||
status_command i3status
|
||||
}
|
||||
|
||||
hide_edge_borders smart
|
||||
14
vimrc
Normal file
14
vimrc
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
set background=dark
|
||||
|
||||
set number relativenumber
|
||||
|
||||
set mouse=a
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set expandtab
|
||||
set shiftwidth=4
|
||||
set tabstop=4
|
||||
|
||||
set cc=80
|
||||
|
||||
Loading…
Reference in a new issue