dotfiles

andersuno dotfiles
Log | Files | Refs

commit 5a6ff5aa70270b7a207d8af2fef1b092d93f754d
parent 20ef27417a4d005bc10b7c1ddba0b67f25dae72f
Author: anders <anders@debian-acer.andersuno.nu>
Date:   Thu,  7 Mar 2019 11:34:24 +0100

	modified:   .bashrc
	modified:   .config/i3/config
	new file:   .config/terminator/config
	modified:   .vimrc
	modified:   i3status.conf

Diffstat:
M.config/i3/config | 28+++++++++++++++++++---------
A.config/terminator/config | 122+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
M.vimrc | 39+++++++++++++++++++++++++++++++++++++++
Mi3status.conf | 9+++++----
4 files changed, 185 insertions(+), 13 deletions(-)

diff --git a/.config/i3/config b/.config/i3/config @@ -13,7 +13,7 @@ set $mod Mod4 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font pango:monospace 8 +font pango:monospace 10 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). @@ -30,9 +30,10 @@ font pango:monospace 8 floating_modifier $mod # start a terminal -bindsym $mod+Shift+Return exec i3-sensible-terminal -bindsym $mod+Return exec urxvt - +bindsym $mod+Return exec --no-startup-id "/home/anders/Scripts/terminator.sh" +bindsym $mod+Shift+Return exec --no-startup-id urxvt +bindsym $mod+BackSpace exec --no-startup-id st +bindsym $mod+Shift+BackSpace exec --no-startup-idi3-sensible-terminal # kill focused window bindsym $mod+Shift+q kill @@ -48,6 +49,7 @@ bindsym $mod+d exec dmenu_run #Borders for_window [class="^.*"] border pixel 1 for_window [class="Firefox-esr"] border pixel 5 +for_window [title="Terminator Preferences"] floating enable #Gaps gaps inner 10 @@ -172,14 +174,22 @@ bar { status_command i3status } +exec_always --no-startup-id compton +exec_always --no-startup-id ~/.fehbg + +bindsym $mod+m exec --no-startup-id i3-sensible-terminal -name screenfetch -e ~/Scripts/screenfetch.sh +#bindsym $mod+m exec i3-sensible-terminal -name screenfetch -e 'screenfetch; sleep 5' +for_window [instance="screenfetch"] floating enable move position 1020 px 0 px resize set 420 250 + bindsym $mod+i exec --no-startup-id icecat +bindsym $mod+o exec --no-startup-id chromium +bindsym $mod+KP_Enter exec --no-startup-id i3lock bindsym $mod+KP_Add exec --no-startup-id "sudo /home/anders/Scripts/brightup.sh" bindsym $mod+KP_Subtract exec --no-startup-id "sudo /home/anders/Scripts/brightdown.sh" +bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume 0 +5%" +bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume 0 -5%" +bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute 0 toggle" -bindsym $mod+m exec --no-startup-id i3-sensible-terminal -name screenfetch -e ~/Scripts/screenfetch.sh -#bindsym $mod+m exec i3-sensible-terminal -name screenfetch -e 'screenfetch; sleep 5' -for_window [instance="screenfetch"] floating enable move position 1020 px 0 px resize set 420 250 -exec_always --no-startup-id compton -exec_always --no-startup-id ~/.fehbg +#bindsym $mod+ exec --no-startup-id diff --git a/.config/terminator/config b/.config/terminator/config @@ -0,0 +1,122 @@ +[global_config] + borderless = True + dbus = False + extra_styling = False + focus = mouse + window_state = maximise +[keybindings] +[layouts] + [[default]] + [[[child1]]] + command = "" + parent = window0 + profile = default + type = Terminal + [[[window0]]] + parent = "" + type = Window + [[New Layout]] + [[[child0]]] + fullscreen = False + last_active_term = 5d421c9c-0319-4ba8-81b7-7376bcf0df4d + last_active_window = True + maximised = True + order = 0 + parent = "" + position = 20:20 + size = 1324, 705 + title = /bin/bash + type = Window + [[[child1]]] + order = 0 + parent = child0 + position = 960 + ratio = 0.725075528701 + type = HPaned + [[[child3]]] + order = 1 + parent = child1 + position = 228 + ratio = 0.323404255319 + type = VPaned + [[[terminal2]]] + order = 0 + parent = child1 + profile = default + type = Terminal + uuid = 5d421c9c-0319-4ba8-81b7-7376bcf0df4d + [[[terminal4]]] + order = 0 + parent = child3 + profile = default + type = Terminal + uuid = 81796ed1-f5dc-42b9-b7a8-4793b3b79430 + [[[terminal5]]] + order = 1 + parent = child3 + profile = default + type = Terminal + uuid = e71f8463-9c1a-473f-aabd-0f594de545ee + [[test]] + [[[child0]]] + fullscreen = False + last_active_term = 5d421c9c-0319-4ba8-81b7-7376bcf0df4d + last_active_window = True + maximised = True + order = 0 + parent = "" + position = 20:20 + size = 1324, 705 + title = /bin/bash + type = Window + [[[child1]]] + order = 0 + parent = child0 + position = 960 + ratio = 0.725075528701 + type = HPaned + [[[child3]]] + order = 1 + parent = child1 + position = 228 + ratio = 0.323404255319 + type = VPaned + [[[terminal2]]] + order = 0 + parent = child1 + profile = default + type = Terminal + uuid = 5d421c9c-0319-4ba8-81b7-7376bcf0df4d + [[[terminal4]]] + command = neofetch + order = 0 + parent = child3 + profile = smallfont + type = Terminal + uuid = 81796ed1-f5dc-42b9-b7a8-4793b3b79430 + [[[terminal5]]] + command = "" + order = 1 + parent = child3 + profile = default + type = Terminal + uuid = e71f8463-9c1a-473f-aabd-0f594de545ee +[plugins] +[profiles] + [[default]] + background_darkness = 0.85 + background_type = transparent + cursor_blink = False + cursor_color = "#aaaaaa" + exit_action = hold + font = Mono 12 + foreground_color = "#ffffff" + scrollbar_position = hidden + show_titlebar = False + [[smallfont]] + cursor_color = "#aaaaaa" + exit_action = hold + font = Monospace 7 + scrollbar_position = hidden + show_titlebar = False + use_system_font = False diff --git a/.vimrc b/.vimrc @@ -6,12 +6,51 @@ Plugin 'gmarik/Vundle.vim' Plugin 'vim-scripts/indentpython.vim' Plugin 'vim-syntastic/syntastic' Plugin 'nvie/vim-flake8' +Plugin 'vim-airline/vim-airline' +Plugin 'vim-airline/vim-airline-themes' +Plugin 'tpope/vim-fugitive' +"Plugin 'airblade/vim-gitgutter' "Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} "plugins here----- call vundle#end() filetype plugin indent on let python_highlight_all=1 + +" Airline +let g:airline_powerline_fonts = 1 + +if !exists('g:airline_symbols') + let g:airline_symbols = {} + endif + + " unicode symbols + let g:airline_left_sep = '»' + let g:airline_left_sep = '▶' + let g:airline_right_sep = '«' + let g:airline_right_sep = '◀' + let g:airline_symbols.linenr = '␊' + let g:airline_symbols.linenr = '␤' + let g:airline_symbols.linenr = '¶' + let g:airline_symbols.branch = '⎇' + let g:airline_symbols.paste = 'ρ' + let g:airline_symbols.paste = 'Þ' + let g:airline_symbols.paste = '∥' + let g:airline_symbols.whitespace = 'Ξ' + + " airline symbols + let g:airline_left_sep = '' + let g:airline_left_alt_sep = '' + let g:airline_right_sep = '' + let g:airline_right_alt_sep = '' + let g:airline_symbols.branch = '' + let g:airline_symbols.readonly = '' + let g:airline_symbols.linenr = '' + +" Powerline +let g:Powerline_symbols = 'fancy' +set laststatus=2 + syntax on set number set relativenumber diff --git a/i3status.conf b/i3status.conf @@ -22,7 +22,7 @@ order += "cpu_temperature 0" order += "tztime local" wireless _first_ { - format_up = "📶:(%quality@%essid ) %ip" + format_up = "📶:%quality@%essid %ip" format_down = "" #format_down = "W:down" } @@ -36,8 +36,9 @@ ethernet _first_ { battery all { format = "%status%percentage %remaining" - status_chr = "⚡:" + status_chr = ":" status_bat = "🔋:" + status_full = ":" } tztime local { @@ -49,7 +50,7 @@ load { } disk "/" { - format = "%avail" + format = " F:%avail" } volume master { @@ -59,6 +60,6 @@ volume master { } cpu_temperature 0 { - format = "❄:%degrees°C" + format = ":%degrees°C" path = "/sys/class/thermal/thermal_zone0/temp" }