Cleanup dotfiles
This commit is contained in:
parent
2ed1fc4901
commit
2ed3919a63
10 changed files with 0 additions and 398 deletions
30
.bashrc
30
.bashrc
|
@ -1,30 +0,0 @@
|
|||
#
|
||||
# ~/.bashrc
|
||||
# author: adam gausmann
|
||||
#
|
||||
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
export EDITOR=/usr/bin/vim
|
||||
export GIT_EDITOR=$EDITOR
|
||||
export SUDO_EDITOR=$EDITOR
|
||||
|
||||
# Powerline
|
||||
PS1='[\u@\h \W]\$ '
|
||||
|
||||
# Color aliases
|
||||
alias ls='ls --color=auto'
|
||||
|
||||
# Aliases
|
||||
alias ll="ls -l"
|
||||
alias la="ls -la"
|
||||
alias se="sudoedit"
|
||||
alias ed=$EDITOR
|
||||
alias ssc="sudo systemctl"
|
||||
alias snc="sudo netctl"
|
||||
alias ssu="sudo su"
|
||||
alias termbin="nc termbin.com 9999"
|
||||
alias sloop="while true; do sl; done"
|
||||
|
|
@ -1,142 +0,0 @@
|
|||
#
|
||||
# ~/.config/i3/config
|
||||
# author: adam gausmann
|
||||
#
|
||||
|
||||
# meta keys
|
||||
set $mod Mod4
|
||||
floating_modifier $mod
|
||||
|
||||
|
||||
# appearance
|
||||
# ==========
|
||||
|
||||
# fonts
|
||||
font pango:Liberation Mono 8
|
||||
|
||||
# gaps
|
||||
for_window [class="^.*"] border pixel 0
|
||||
gaps inner 12
|
||||
|
||||
# bar
|
||||
bar {
|
||||
status_command i3blocks
|
||||
font pango:Liberation Mono 10
|
||||
tray_output none
|
||||
}
|
||||
|
||||
# behavior
|
||||
# ========
|
||||
|
||||
# session cleanup
|
||||
exec --no-startup-id shopt -s huponexit
|
||||
|
||||
|
||||
# navigation
|
||||
# ==========
|
||||
|
||||
bindsym $mod+j focus left
|
||||
bindsym $mod+k focus down
|
||||
bindsym $mod+l focus up
|
||||
bindsym $mod+colon focus right
|
||||
|
||||
bindsym $mod+space focus mode_toggle
|
||||
bindsym $mod+a focus parent
|
||||
bindsym $mod+Shift+a focus child
|
||||
|
||||
bindsym $mod+1 workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+3 workspace number 3
|
||||
bindsym $mod+4 workspace number 4
|
||||
bindsym $mod+5 workspace number 5
|
||||
bindsym $mod+6 workspace number 6
|
||||
bindsym $mod+7 workspace number 7
|
||||
bindsym $mod+8 workspace number 8
|
||||
bindsym $mod+9 workspace number 9
|
||||
bindsym $mod+0 workspace number 10
|
||||
|
||||
focus_follows_mouse no
|
||||
|
||||
|
||||
# layout
|
||||
# ======
|
||||
|
||||
bindsym $mod+Shift+j move left
|
||||
bindsym $mod+Shift+k move down
|
||||
bindsym $mod+Shift+l move up
|
||||
bindsym $mod+Shift+colon move right
|
||||
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
bindsym $mod+Shift+1 move container to workspace number 1
|
||||
bindsym $mod+Shift+2 move container to workspace number 2
|
||||
bindsym $mod+Shift+3 move container to workspace number 3
|
||||
bindsym $mod+Shift+4 move container to workspace number 4
|
||||
bindsym $mod+Shift+5 move container to workspace number 5
|
||||
bindsym $mod+Shift+6 move container to workspace number 6
|
||||
bindsym $mod+Shift+7 move container to workspace number 7
|
||||
bindsym $mod+Shift+8 move container to workspace number 8
|
||||
bindsym $mod+Shift+9 move container to workspace number 9
|
||||
bindsym $mod+Shift+0 move container to workspace number 10
|
||||
|
||||
bindsym $mod+b split h
|
||||
bindsym $mod+v split v
|
||||
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
mode "resize" {
|
||||
bindsym j resize shrink width 10 px or 10 ppt
|
||||
bindsym k resize grow height 10 px or 10 ppt
|
||||
bindsym l resize shrink height 10 px or 10 ppt
|
||||
bindsym colon resize grow width 10 px or 10 ppt
|
||||
|
||||
bindsym Shift+j resize shrink width 100 px or 100 ppt
|
||||
bindsym Shift+k resize grow height 100 px or 100 ppt
|
||||
bindsym Shift+l resize shrink height 100 px or 100 ppt
|
||||
bindsym Shift+colon resize grow width 100 px or 100 ppt
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
|
||||
# management
|
||||
# ==========
|
||||
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+r restart
|
||||
bindsym $mod+Shift+e exit
|
||||
|
||||
|
||||
# programs
|
||||
# ========
|
||||
|
||||
bindsym $mod+Return exec --no-startup-id ~/.local/bin/i3/terminal
|
||||
bindsym $mod+d exec --no-startup-id ~/.local/bin/i3/menu
|
||||
bindsym $mod+Shift+p exec --no-startup-id ~/.local/bin/i3/lock
|
||||
bindsym XF86AudioMute exec --no-startup-id ~/.local/bin/i3/vol_mute
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.local/bin/i3/vol_down
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.local/bin/i3/vol_up
|
||||
|
||||
|
||||
# autostart
|
||||
# =========
|
||||
|
||||
# host-specific init
|
||||
exec --no-startup-id ~/.local/bin/i3/autostart
|
||||
|
||||
# automount
|
||||
exec --no-startup-id udiskie &
|
||||
|
||||
# notifications
|
||||
exec --no-startup-id twmnd &
|
||||
|
||||
# appearance
|
||||
exec --no-startup-id compton -b
|
||||
exec --no-startup-id nitrogen --restore &
|
|
@ -1,39 +0,0 @@
|
|||
#
|
||||
# ~/.config/i3blocks/.config
|
||||
# author: adam gausmann
|
||||
#
|
||||
|
||||
[volume]
|
||||
label=vol
|
||||
command=~/.local/lib/i3blocks/volume
|
||||
interval=once
|
||||
signal=1 # use `pkill -RTMIN+1 i3blocks` to update
|
||||
|
||||
[iface]
|
||||
label=lan
|
||||
command=~/.local/lib/i3blocks/iface
|
||||
interval=5
|
||||
|
||||
[battery]
|
||||
label=bat
|
||||
command=~/.local/lib/i3blocks/battery
|
||||
interval=60
|
||||
|
||||
[cpu]
|
||||
label=cpu
|
||||
command=~/.local/lib/i3blocks/cpu_usage
|
||||
interval=5
|
||||
|
||||
[memory]
|
||||
label=mem
|
||||
command=~/.local/lib/i3blocks/memory
|
||||
interval=5
|
||||
|
||||
[disk]
|
||||
label=sda
|
||||
command=~/.local/lib/i3blocks/disk
|
||||
interval=300
|
||||
|
||||
[time]
|
||||
command=date '+%Y-%m-%d %H:%M'
|
||||
interval=10
|
|
@ -1,88 +0,0 @@
|
|||
[gui]
|
||||
; Screen number to display notifications on when using a multi-head desktop.
|
||||
screen= ; 0 indexed screen number
|
||||
|
||||
; WARNING: Deprecated by "screen"
|
||||
; Absolute position from the top-left corner of the slide. You may need it for a multi-screen setup.
|
||||
; You still have to set position in order to choose the slide animation. If empty, twmnd will try
|
||||
; to figure out where to display the slide according to your desktop size and the slide position.
|
||||
absolute_position= ; Supported format: WxH. Width and Height being integers.
|
||||
|
||||
; Background color.
|
||||
background_color=darkred ; RBG hex and keywords (eg. lightgray) are supported.
|
||||
|
||||
; An icon for the layout. Useful only for a layout file.
|
||||
icon= ; Path to image file. Optional.
|
||||
|
||||
; Font family.
|
||||
font=Liberation Mono
|
||||
|
||||
; Font size.
|
||||
font_size=13 ; In pixel.
|
||||
|
||||
; Font variation.
|
||||
; accepted values are:
|
||||
; oblique, italic, ultra-light, light, medium, semi-bold, bold, ultra-bold, heavy, ultra-condensed,
|
||||
; extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded.
|
||||
font_variant=medium
|
||||
|
||||
; Text color.
|
||||
foreground_color=lightgray ; RBG hex and keywords (eg. lightgray) are supported.
|
||||
|
||||
; Height of the slide bar. Useful to match your tiling window manager's bar.
|
||||
height=22 ; In pixel.
|
||||
|
||||
; Position of the notification slide.
|
||||
position=bottom_center
|
||||
; Accepted values: top_right (tr), top_left (tl), bottom_right (br),
|
||||
; bottom_left (bl), top_center (tc), bottom_center (bc), center (c).
|
||||
|
||||
; moves the position of the slide in +/- pixels on the x or y axis (e.g. "+50" or "-100")
|
||||
offset_x=+0 ; default is 0
|
||||
offset_y=+0 ; default is 0
|
||||
|
||||
; The animation to use when the slide appear
|
||||
in_animation=38 ; see https://doc.qt.io/qt-5/qeasingcurve.html#Type-enum for types
|
||||
|
||||
; The in animation's duration
|
||||
in_animation_duration=1000 ; in milliseconds
|
||||
|
||||
; The animation to use whe the slide is closing
|
||||
out_animation=13
|
||||
|
||||
; The out animation's duration
|
||||
out_animation_duration=1000 ; in milliseconds
|
||||
|
||||
; Enable or disable notification bounce when changing notification
|
||||
bounce=true ; true or false
|
||||
|
||||
; Change bounce duration
|
||||
bounce_duration=500 ; in milliseconds
|
||||
|
||||
; If the character length is more then max_length the text is cut off and "..." is appended
|
||||
max_length = -1 ; default is -1 (which means: don't cut off)
|
||||
|
||||
[icons]
|
||||
; An icon. You can add as many as you want.
|
||||
NAME= ; Path to image file. NAME being the icon's custom name.
|
||||
|
||||
|
||||
[main]
|
||||
; Program/command to be executed on notification activation.
|
||||
activate_command= ; Path to command.
|
||||
|
||||
; Time each notification remains visible.
|
||||
duration=3000 ; In millisecond.
|
||||
|
||||
; Enable or disable shortcuts.
|
||||
enable_shortcuts=true ; true or false.
|
||||
|
||||
; Host address to listen on for notifications.
|
||||
host=127.0.0.1
|
||||
|
||||
; UDP port used for notifications.
|
||||
port=9797
|
||||
|
||||
; Program/command to play sound with.
|
||||
sound_command= ; Path to command. Leave empty for no sound.
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
# This file is written by xdg-user-dirs-update
|
||||
# If you want to change or add directories, just edit the line you're
|
||||
# interested in. All local changes will be retained on the next run.
|
||||
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
|
||||
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
|
||||
# absolute path. No other format is supported.
|
||||
#
|
||||
XDG_DESKTOP_DIR="$HOME/desktop"
|
||||
XDG_DOWNLOAD_DIR="$HOME/downloads"
|
||||
XDG_TEMPLATES_DIR="$HOME/templates"
|
||||
XDG_PUBLICSHARE_DIR="$HOME/public"
|
||||
XDG_DOCUMENTS_DIR="$HOME/documents"
|
||||
XDG_MUSIC_DIR="$HOME/music"
|
||||
XDG_PICTURES_DIR="$HOME/pictures"
|
||||
XDG_VIDEOS_DIR="$HOME/videos"
|
1
.gdbinit
1
.gdbinit
|
@ -1 +0,0 @@
|
|||
s##:et disassembly-flavor intel
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
.config/powerline/config.json
|
19
.nanorc
19
.nanorc
|
@ -1,19 +0,0 @@
|
|||
#
|
||||
# ~/.nanorc
|
||||
# author: adam gausmann
|
||||
#
|
||||
|
||||
|
||||
# appearance
|
||||
# ==========
|
||||
|
||||
set nohelp
|
||||
set nowrap
|
||||
set smooth
|
||||
|
||||
|
||||
# indentation
|
||||
# ===========
|
||||
|
||||
set tabsize 4
|
||||
set tabstospaces
|
26
.tmux.conf
26
.tmux.conf
|
@ -1,26 +0,0 @@
|
|||
#
|
||||
# ~/.tmux.conf
|
||||
# author: adam gausmann
|
||||
#
|
||||
|
||||
|
||||
# appearance
|
||||
# ==========
|
||||
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
set -g status-bg cyan
|
||||
set -g status-fg black
|
||||
set -g pane-active-border-fg cyan
|
||||
|
||||
# rebinds
|
||||
# =======
|
||||
|
||||
# navigation
|
||||
bind -n M-j select-pane -L
|
||||
bind -n M-k select-pane -D
|
||||
bind -n M-l select-pane -U
|
||||
bind -n M-\; select-pane -R
|
||||
|
||||
# nesting
|
||||
bind-key b send-prefix
|
37
.vimrc
37
.vimrc
|
@ -1,37 +0,0 @@
|
|||
"
|
||||
" ~/.vimrc
|
||||
" author: adam gausmann
|
||||
"
|
||||
|
||||
|
||||
" appearance
|
||||
" =========
|
||||
|
||||
set number
|
||||
set showcmd
|
||||
set incsearch
|
||||
set hlsearch
|
||||
|
||||
" syntax
|
||||
filetype plugin on
|
||||
syntax on
|
||||
|
||||
|
||||
" rebinds
|
||||
" ==========
|
||||
|
||||
noremap ; l
|
||||
noremap l k
|
||||
noremap k j
|
||||
noremap j h
|
||||
inoremap jk <esc>
|
||||
|
||||
|
||||
" indentation
|
||||
" ===========
|
||||
|
||||
set tabstop=4
|
||||
set softtabstop=4
|
||||
set expandtab
|
||||
filetype indent on
|
||||
set shiftwidth=4
|
Loading…
Add table
Reference in a new issue