logo

dotfiles

My dotfiles, one branch per machine
commit: 4e34d093a1184a471c76a7da6d898f02df815ebd
parent: 7ff0cd29cbf0b11894822248e8fcb0b50765a0b8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 16 Mar 2016 13:07:54 +0100

WIP on gummy: 788e689 Modifications to shells run-config

Diffstat:

M.gitconfig3+++
M.gnupg/gpg.conf6++++--
M.i3/config108+++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------
M.i3status.conf23++++++++++++++++-------
M.rtorrent.rc17+++++++++++------
M.vimrc12+++++-------
6 files changed, 111 insertions(+), 58 deletions(-)

diff --git a/.gitconfig b/.gitconfig @@ -1,3 +1,6 @@ [user] email = contact@hacktivis.me name = Haelwenn (lanodan) Monnier + signingkey = 4BBEBBAD +[push] + default = matching diff --git a/.gnupg/gpg.conf b/.gnupg/gpg.conf @@ -113,7 +113,9 @@ charset utf-8 # servers. To see the IP address of the server actually used, you may use # the "--keyserver-options debug". -keyserver hkp://keys.gnupg.net +keyserver hkps://hkps.pool.sks-keyservers.net +keyserver-options ca-cert-file=/home/haelwenn/sks-keyservers.netCA.pem + #keyserver mailto:pgp-public-keys@keys.nl.pgp.net #keyserver ldap://keyserver.pgp.com @@ -196,7 +198,7 @@ photo-viewer "feh %i" # at ftp.gnupg.org/gcrypt/alpha/aegypten/). To make use of the agent, # you have to run an agent as daemon and use the option # -# use-agent +use-agent # # which tries to use the agent but will fallback to the regular mode # if there is a problem connecting to the agent. The normal way to diff --git a/.i3/config b/.i3/config @@ -11,13 +11,27 @@ # Setup Desktop #exec xsetbg /datalove/img/wallpaper/background_1280x800.png -exec xrdb -merge ~/.Xresource #exec xautolock -locker locker -time 10 set $mod Mod4 -#===== Shortcuts ======= +#======= Colors ======== +# class border backgr. text indicator +client.focused #586e75 #073642 #839496 #eee8d5 +client.unfocused #002b36 #002b36 #586e75 #000000 +client.urgent #586e75 #cb4b16 #93a1a1 #eee8d5 +client.placeholder #000000 #0c0c0c #ffffff #000000 + +client.background #002b36 + +#fonts (4.2) +# ISO 10646 = Unicode +#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# FreeType font, such as: +font pango:Source Sans Pro 9 + +#keybindings (4.3) bindsym Help exec locker bindsym Print exec screenshoot bindsym Alt+Print exec screenshot @@ -31,30 +45,17 @@ bindsym XF86AudioStop exec mpc stop bindsym XF86AudioPrev exec mpc prev bindsym XF86AudioNext exec mpc next -#bindsym XF86HomePage exec .local/bin/firefox-dev -bindsym XF86HomePage exec x-www-browser - -bindsym Cancel exec xinput set-prop "Wacom Bamboo Connect Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1 -bindsym Redo exec xinput set-prop "Wacom Bamboo Connect Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1 - -bindsym $mod+minus scratchpad show +set $← XF86Back # Cancel +set $→ XF86Forward # Redo -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. ISO 10646 = Unicode -font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, if you need a lot of unicode glyphs or -# right-to-left text rendering, you should instead use pango for rendering and -# chose a FreeType font, such as: -# font pango:DejaVu Sans Mono 10 +bindsym $← exec xinput set-prop "Wacom Bamboo Connect Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1 +bindsym $→ exec xinput set-prop "Wacom Bamboo Connect Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1 -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod +bindsym $mod+$→ move workspace to output HDMI-0 +bindsym $mod+$← move workspace to output DVI-D-0 # start a terminal -bindsym $mod+Return exec st -e 'dvtm' -bindsym $mod+Shift+Return exec st -e 'dvtm' -bindsym $mod+Alt+Return exec st +bindsym $mod+Return exec st # kill focused window bindsym $mod+q kill @@ -118,10 +119,10 @@ bindsym $mod+a focus parent #bindsym $mod+d focus child # switch to workspace -bindsym $mod+1 workspace 1 -bindsym $mod+2 workspace 2 -bindsym $mod+3 workspace 3 -bindsym $mod+4 workspace 4 +bindsym $mod+1 workspace 1: Terminal+JACK +bindsym $mod+2 workspace 2: Web +bindsym $mod+3 workspace 3: Graphics +bindsym $mod+4 workspace 4: Gaming bindsym $mod+5 workspace 5 bindsym $mod+6 workspace 6 bindsym $mod+7 workspace 7 @@ -130,10 +131,10 @@ bindsym $mod+9 workspace 9 bindsym $mod+0 workspace 10 # move focused container to workspace -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+1 move container to workspace 1: Terminal+JACK +bindsym $mod+Shift+2 move container to workspace 2: Web +bindsym $mod+Shift+3 move container to workspace 3: Graphics +bindsym $mod+Shift+4 move container to workspace 4: Gaming 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 @@ -152,6 +153,24 @@ bindsym $mod+Shift+q exit bindsym $mod+r mode "resize" +#floating_modifier (4.5) +floating_modifier $mod + +#_layout_mode_for_new_containers (4.8) +workspace_layout tabbed + +#_border_style_for_new_windows (4.9) +new_window pixel +new_float normal + +#_arbitrary_commands_for_specific_windows_for_window (4.11) +for_window [title="colorpicker"] floating enable +for_window [title="QEMU"] floating enable +for_window [class="firefox"] move workspace 2 + +#focus_on_window_activation (4.26) +focus_on_window_activation urgent + # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode @@ -179,11 +198,28 @@ mode "resize" { # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - status_command i3status + mode hide + hidden_state hide + modifier $mod + + status_command i3status + separator_symbol " " + + colors { + #colorclass border bkgrnd text + focused_workspace #586e75 #073642 #839496 + #active_workspace #002b36 #002b36 #586e75 + active_workspace #000000 #0c0c0c #ffffff + inactive_workspace #000000 #0c0c0c #ffffff + urgent_workspace #586e75 #cb4b16 #93a1a1 + + background #002b36 + statusline #839496 + separator #586e75 + } + } -# Some windows needs floating mode by default -for_window [title="colorpicker"] floating enable -for_window [title="QEMU"] floating enable -for_window [class="firefox"] move workspace 2 -for_window [class="xterm"] floating enable +bindsym $mod+i exec i3-input + +binsym $mod+p title_format "%title | %class | %instance" diff --git a/.i3status.conf b/.i3status.conf @@ -7,12 +7,14 @@ # If the above line is not correctly displayed, fix your editor first! general { - colors = true - interval = 5 + colors = true + interval = 5 + markup = pango } order += "disk /" order += "ethernet enp3s0" +order += "ethernet enp0s25" order += "cpu_usage" order += "load" order += "battery 0" @@ -29,14 +31,20 @@ wireless wlan3 { } ethernet enp3s0 { - format_up = "e:3:0 %ip %speed" - format_down = "e:3:0 down" + format_up = "<span bgcolor='#073642' fgcolor='#859900'></span><span fgcolor='#073642' bgcolor='#859900'>e:3:0 </span><span color='#839496'>%ip %speed</span>" + format_down = "<span bgcolor='#073642' fgcolor='#dc322f'></span><span fgcolor='#073642' bgcolor='#dc322f'>e:3:0 </span>" } -load {format = "%1min %5min %15min"} +ethernet enp0s25 { + format_up = "<span bgcolor='#073642' fgcolor='#859900'></span><span fgcolor='#073642' bgcolor='#859900'>e:3:0 </span><span color='#839496'>%ip %speed</span>" + format_down = "<span bgcolor='#073642' fgcolor='#dc322f'></span><span fgcolor='#073642' bgcolor='#dc322f'>e:3:0 </span>" +} + +load { + format = "<span bgcolor='#073642' fgcolor='#2aa198'></span><span fgcolor='#073642' bgcolor='#2aa198'>Load </span>%1min %5min %15min" +} battery 0 { - format = "%status %percentage %remaining %emptytime" format = "%status %percentage %remaining (%emptytime %consumption)" last_full_capacity = true low_threshold = 10 @@ -44,7 +52,8 @@ battery 0 { } cpu_usage { - format = "CPU: %usage" +# format = "<span bgcolor=&quot;red&quot; color=&quot;black&quot;>CPU</span><span bgcolor=&quot;red&quot; color=&quot;yellow&quot;></span><span color=&quot;black&quot; bgcolor=&quot;yellow&quot;>%usage</span>" + format = "<span bgcolor='#073642' fgcolor='#d33682'></span><span fgcolor='#073642' bgcolor='#d33682'>CPU </span>%usage" } volume master { diff --git a/.rtorrent.rc b/.rtorrent.rc @@ -1,13 +1,17 @@ directory = /home/haelwenn/torrent/ session = /home/haelwenn/torrent/session -#chedule = watch_directory,5,5,load_start=/home/haelwenn/torrent/*.torrent -#chedule = untied_directory,5,5,stop_untied= -#chedule = tied_directory,5,5,start_tied= +schedule = watch_directory,5,5,load_start=/home/haelwenn/torrent/*.torrent +schedule = untied_directory,5,5,stop_untied= +schedule = tied_directory,5,5,start_tied= -port_range = 6669-6669 +port_range = 1342-1342 port_random = no encryption = allow_incoming, try_outgoing, enable_retry -dht = auto -dht_port = 6668 +dht = on +dht_port = 1343 peer_exchange = yes +min_peers = 1 +max_peers = 20 + +max_peers_seed = 5+ \ No newline at end of file diff --git a/.vimrc b/.vimrc @@ -1,13 +1,7 @@ "ilet loaded_matchparen = 1 let g:neocomplete#enable_at_startup = 1 -map <C-s> :w <cr> -imap <C-s> <ESC>:w <cr> - -"KISS and no PEP8 bullshit -filetype indent plugin off - -syntax on +filetype indent plugin off "KISS and no PEP8 set nobomb set encoding=utf-8 @@ -20,6 +14,10 @@ set tabpagemax=16 set foldmethod=indent set tabstop=4 +syntax on +set bg=dark +colorscheme solarized + noremap <F8> :call HexMe()<CR> let $in_hex=0