From 0f5fb2ce24adb69454ec59f60179a1a2b1bfaf87 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 29 Oct 2016 14:11:21 +0200 Subject: misc Signed-off-by: Florian Pritz --- .config/htop/htoprc | 3 ++- .i3/config | 2 ++ .vim/UltiSnips/php.snippets | 35 +++++++++++++++++++++++++++++++++++ .xinitrc | 13 ++++++++++--- .zshrc | 1 + 5 files changed, 50 insertions(+), 4 deletions(-) diff --git a/.config/htop/htoprc b/.config/htop/htoprc index ce059de..391cfe8 100644 --- a/.config/htop/htoprc +++ b/.config/htop/htoprc @@ -1,6 +1,6 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. -fields=0 48 17 18 38 39 40 2 46 47 62 63 49 1 +fields=106 107 109 110 111 0 48 17 18 38 39 40 2 46 47 49 1 sort_key=46 sort_direction=1 hide_threads=0 @@ -8,6 +8,7 @@ hide_kernel_threads=0 hide_userland_threads=0 shadow_other_users=1 show_thread_names=1 +show_program_path=1 highlight_base_name=1 highlight_megabytes=1 highlight_threads=1 diff --git a/.i3/config b/.i3/config index 68ca9f3..8227e0e 100644 --- a/.i3/config +++ b/.i3/config @@ -92,6 +92,8 @@ bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right +bindsym $mod+x move workspace to output right + # split in horizontal orientation bindsym $mod+h split h diff --git a/.vim/UltiSnips/php.snippets b/.vim/UltiSnips/php.snippets index 903b1ed..86c4ee1 100644 --- a/.vim/UltiSnips/php.snippets +++ b/.vim/UltiSnips/php.snippets @@ -9,3 +9,38 @@ snippet copy "Copyright notice" b */ endsnippet + +snippet testclass "Test class for filebin" b + + * + * Licensed under AGPLv3 + * (see COPYING for full license text) + * + */ + +namespace test\tests; + +class `!p +snip.rv = re.match(r'.*(?=\.)', fn).group() +` extends \test\Test { + + public function __construct() + { + parent::__construct(); + } + + public function init() + { + } + + public function cleanup() + { + } + + $0 + +} + +endsnippet diff --git a/.xinitrc b/.xinitrc index d29669d..a71a675 100644 --- a/.xinitrc +++ b/.xinitrc @@ -7,9 +7,15 @@ export SDL_AUDIODRIVER=pulse export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh export QT_QPA_PLATFORMTHEME="qt5ct" +export LANG=en_US.UTF-8 +export TZ=Europe/Vienna + [[ -f ~/.nvidia-settings-rc ]] && nvidia-settings -l xrandr --output DP-4 --left-of DP-2 +nvidia-settings -a '[gpu:0]/GPUGraphicsClockOffset[3]=150' +nvidia-settings -a '[gpu:0]/GPUMemoryTransferRateOffset[3]=400' + # I don't like no background ;) dash $HOME/.bg & @@ -42,9 +48,10 @@ autostart () { keepassx & transmission-remote-gtk & #claws-mail & - #thunderbird & - kwalletd5 & - kmail & + thunderbird & + #kwalletd5 & + #kded5 & + #kmail & firefox & steam & copyq & diff --git a/.zshrc b/.zshrc index 38eb9b2..e0185dd 100644 --- a/.zshrc +++ b/.zshrc @@ -6,6 +6,7 @@ stty -echo ZDOTDIR="$HOME/.zsh" export LANG=en_US.UTF-8 +export TZ=Europe/Vienna # add extra dirs to path. allows to separate script bundles into dirs for _dir in $HOME/bin/extra/*(/N); do -- cgit v1.2.3-24-g4f1b