From d72d6e1c0b69773b6ea51599bb0db38fcbec6121 Mon Sep 17 00:00:00 2001 From: olari Date: Sun, 22 Jul 2018 20:04:55 +0300 Subject: [PATCH] Initial --- .Xresources | 30 +++++++++++++ .bash_logout | 1 + .bash_profile | 1 + .bashrc | 7 ++++ .config/gtk-3.0/settings.ini | 15 +++++++ .config/htop/htoprc | 26 ++++++++++++ .config/i3/config | 65 +++++++++++++++++++++++++++++ .config/mpv/input.conf | 81 ++++++++++++++++++++++++++++++++++++ .config/mpv/mpv.conf | 14 +++++++ .config/ranger/rc.conf | 2 + .gtkrc-2.0 | 14 +++++++ .vimrc | 4 ++ .xinitrc | 10 +++++ 13 files changed, 270 insertions(+) create mode 100644 .Xresources create mode 100644 .bash_logout create mode 100644 .bash_profile create mode 100644 .bashrc create mode 100644 .config/gtk-3.0/settings.ini create mode 100644 .config/htop/htoprc create mode 100644 .config/i3/config create mode 100755 .config/mpv/input.conf create mode 100755 .config/mpv/mpv.conf create mode 100644 .config/ranger/rc.conf create mode 100644 .gtkrc-2.0 create mode 100644 .vimrc create mode 100644 .xinitrc diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..3b0448d --- /dev/null +++ b/.Xresources @@ -0,0 +1,30 @@ +! Dracula Xresources palette +*.foreground: #F8F8F2 +*.background: #282A36 +*.color0: #000000 +*.color8: #4D4D4D +*.color1: #FF5555 +*.color9: #FF6E67 +*.color2: #50FA7B +*.color10: #5AF78E +*.color3: #F1FA8C +*.color11: #F4F99D +*.color4: #BD93F9 +*.color12: #CAA9FA +*.color5: #FF79C6 +*.color13: #FF92D0 +*.color6: #8BE9FD +*.color14: #9AEDFE +*.color7: #BFBFBF +*.color15: #E6E6E6 + +urxvt.scrollBar: false +urxvt.letterSpace: -1 +urxvt.depth: 32 +urxvt.background: rgba:2800/2A00/3600/F000 + +urxvt.font: xft:DejaVu Sans Mono:size=9 +urxvt.italicFont: xft:DejaVu Sans Mono:size=9:italic +urxvt.boldFont: xft:DejaVu Sans Mono:size=9:bold +urxvt.boldItalicFont: xft:DejaVu Sans Mono:size=9:bold:italic + diff --git a/.bash_logout b/.bash_logout new file mode 100644 index 0000000..5b4f8bb --- /dev/null +++ b/.bash_logout @@ -0,0 +1 @@ +clear diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..3f56aa0 --- /dev/null +++ b/.bash_profile @@ -0,0 +1 @@ +[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..60619a6 --- /dev/null +++ b/.bashrc @@ -0,0 +1,7 @@ +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias diff='diff --color=auto' +alias grep='grep --color=auto' + +PS1='\u@\h:\w \$ ' diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..3739837 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,15 @@ +[Settings] +gtk-theme-name=Arc-Dark +gtk-icon-theme-name=Papirus-Dark +gtk-font-name=DejaVu Sans 9 +gtk-cursor-theme-name=Adwaita +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ +gtk-toolbar-icon-size=GTK_ICON_SIZE_MENU +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=0 +gtk-enable-input-feedback-sounds=0 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintslight diff --git a/.config/htop/htoprc b/.config/htop/htoprc new file mode 100644 index 0000000..1c78bab --- /dev/null +++ b/.config/htop/htoprc @@ -0,0 +1,26 @@ +# 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 46 38 1 +sort_key=46 +sort_direction=1 +hide_threads=0 +hide_kernel_threads=1 +hide_userland_threads=1 +shadow_other_users=0 +show_thread_names=0 +show_program_path=1 +highlight_base_name=1 +highlight_megabytes=1 +highlight_threads=1 +tree_view=0 +header_margin=1 +detailed_cpu_time=0 +cpu_count_from_zero=1 +update_process_names=0 +account_guest_in_cpu_meter=0 +color_scheme=0 +delay=15 +left_meters=AllCPUs +left_meter_modes=1 +right_meters=Uptime Tasks Memory Swap +right_meter_modes=2 2 2 2 diff --git a/.config/i3/config b/.config/i3/config new file mode 100644 index 0000000..aea5b56 --- /dev/null +++ b/.config/i3/config @@ -0,0 +1,65 @@ +set $mod Mod4 +font pango:DejaVu Sans Mono 9 + +exec_always [[ !$(pidof compton) ]] && compton + +exec_always xrdb ~/.Xresources +exec_always feh --bg-fill ~/wallpapers/current + +gaps inner 10 +default_border pixel 1 + +bindsym XF86MonBrightnessDown exec xbacklight -dec 10 +bindsym XF86MonBrightnessUp exec xbacklight -inc 10 + +bindsym $mod+Shift+r restart +bindsym $mod+Shift+q kill + +bindsym $mod+r exec dmenu_run +bindsym $mod+f exec firefox +bindsym $mod+Return exec urxvt +bindsym $mod+Delete exec urxvt -e htop +bindsym $mod+e exec urxvt -e ranger +bindsym $mod+m exec urxvt -e ncmpcpp +bindsym $mod+t exec urxvt -e tremc + +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+y resize shrink width 10 px +bindsym $mod+u resize grow height 10 px +bindsym $mod+i resize shrink height 10 px +bindsym $mod+o resize grow width 10 px + +bindsym $mod+Ctrl+h split h +bindsym $mod+Ctrl+v split v + +bindsym $mod+Ctrl+f fullscreen toggle +bindsym $mod+Ctrl+space floating toggle + +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+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 + +bar { + position top + status_command i3status +} + diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100755 index 0000000..008eb2c --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,81 @@ +MBTN_LEFT ignore +MBTN_LEFT_DBL cycle fullscreen +MBTN_RIGHT cycle pause +WHEEL_UP seek +2 +WHEEL_DOWN seek -2 + +j add volume -2 +k add volume +2 +Shift+j add volume -10 +Shift+k add volume +10 +Ctrl+j add volume -1 +Ctrl+k add volume +1 + +h seek -5 +l seek +5 +Shift+h seek -15 +Shift+l seek +15 +Ctrl+h seek -5 +Ctrl+l seek +5 + +PGUP add chapter +1 +PGDWN add chapter -1 +Shift+PGUP seek +80 +Shift+PGDWN seek -80 + +. frame-step +, frame-back-step + +[ multiply speed 0.9 +] multiply speed 1.1 +{ multiply speed 0.5 +} multiply speed 2.0 +BS set speed 1.0 + +q quit + +ESC set fullscreen no +f cycle fullscreen + +p cycle pause +SPACE cycle pause +m cycle mute + +Ctrl+a cycle audio +Ctrl+s cycle sub + +s async screenshot +S async screenshot video + +> playlist-next +< playlist-prev + +o show-progress +P show-progress + +1 add contrast -1 +2 add contrast +1 +3 add brightness -1 +4 add brightness +1 +5 add gamma -1 +6 add gamma +1 +7 add saturation -1 +8 add saturation +1 + +Alt+0 set window-scale 0.5 +Alt+1 set window-scale 1.0 +Alt+2 set window-scale 2.0 + +POWER quit +STOP quit +CLOSE_WIN quit +MUTE cycle mute +PLAY cycle pause +PAUSE cycle pause +PLAYPAUSE cycle pause +FORWARD seek +30 +REWIND seek -30 +NEXT playlist-next +PREV playlist-prev +VOLUME_UP add volume +2 +VOLUME_DOWN add volume -2 diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf new file mode 100755 index 0000000..061dbf8 --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,14 @@ +no-input-default-bindings + +profile=gpu-hq +deband=no + +#scale=ewa_lanczossharp +#cscale=ewa_lanczossharp + +alang=jpn,jp +slang=eng,en + +#video-sync=display-resample +#interpolation +#tscale=oversample \ No newline at end of file diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf new file mode 100644 index 0000000..c0936aa --- /dev/null +++ b/.config/ranger/rc.conf @@ -0,0 +1,2 @@ +#set show_hidden true +set preview_images true diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 new file mode 100644 index 0000000..4accc96 --- /dev/null +++ b/.gtkrc-2.0 @@ -0,0 +1,14 @@ +gtk-theme-name="Arc-Dark" +gtk-icon-theme-name="Papirus-Dark" +gtk-font-name="DejaVu Sans 9" +gtk-cursor-theme-name="Adwaita" +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ +gtk-toolbar-icon-size=GTK_ICON_SIZE_MENU +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=0 +gtk-enable-input-feedback-sounds=0 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintslight" diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..0d5ee16 --- /dev/null +++ b/.vimrc @@ -0,0 +1,4 @@ +syntax on +set number +set tabstop=4 +set autoindent diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..b6482fb --- /dev/null +++ b/.xinitrc @@ -0,0 +1,10 @@ +synclient TouchpadOff=1 + +synclient RightButtonAreaTop=0 +synclient RightButtonAreaLeft=2460 + +synclient MiddleButtonAreaLeft=1550 +synclient MiddleButtonAreaRight=2459 +synclient MiddleButtonAreaTop=0 + +exec i3