diff --git a/.config/terminator/config b/.config/terminator/config new file mode 100644 index 0000000..5fc4429 --- /dev/null +++ b/.config/terminator/config @@ -0,0 +1,27 @@ +[global_config] +[keybindings] +[layouts] + [[default]] + [[[child1]]] + parent = window0 + type = Terminal + [[[window0]]] + parent = "" + type = Window +[plugins] +[profiles] + [[default]] + background_color = "#101e4e" + cursor_color = "#aaaaaa" + font = Hack 11 + foreground_color = "#ebdbb2" + scrollbar_position = hidden + use_system_font = False + [[nord]] + background_color = "#2e3440" + cursor_color = "#D8DEE9" + font = Hack 11 + foreground_color = "#d8dee9" + palette = "#3b4252:#bf616a:#a3be8c:#ebcb8b:#81a1c1:#b48ead:#88c0d0:#e5e9f0:#4c566a:#bf616a:#a3be8c:#ebcb8b:#81a1c1:#b48ead:#8fbcbb:#eceff4" + scrollbar_position = hidden + use_system_font = False diff --git a/.i3/home.config b/.i3/home.config index c126eef..32de9c9 100644 --- a/.i3/home.config +++ b/.i3/home.config @@ -16,40 +16,41 @@ set $below_barY 24 set $htopX 400 set $pavuX 800 -for_window [class="Terminator"] border pixel 0 -for_window [class="YADWIN"] floating enable -for_window [class="FLOAT_PAVU"] floating enable -for_window [class="FLOAT_PAVU"] resize set 800 540 -for_window [class="FLOAT_PAVU"] border pixel 3 -for_window [class="FLOAT_PAVU"] move absolute position $pavuX px $below_barY px -for_window [window_role="FLOAT_TERM"] floating enable -for_window [window_role="FLOAT_TERM"] move absolute position $htopX px $below_barY px -for_window [window_role="FLOAT_TERM"] border pixel 3 -for_window [title="Memory"] floating enable -for_window [class="Matplotlib"] floating enable -for_window [class="Chromium"] border pixel 0 -for_window [class="^.*"] border pixel 0 -for_window [window_type="toolbar"] border pixel 3 -for_window [window_type="splash"] border pixel 3 -for_window [window_type="dialog"] border pixel 3 -for_window [window_type="utility"] border pixel 3 -for_window [window_role="pop-up"] floating enable +for_window [class="Terminator"] border pixel 0 +for_window [class="YADWIN"] floating enable +for_window [class="FLOAT_PAVU"] floating enable +for_window [class="FLOAT_PAVU"] resize set 800 540 +for_window [class="FLOAT_PAVU"] border pixel 3 +for_window [class="FLOAT_PAVU"] move absolute position $pavuX px $below_barY px +for_window [window_role="FLOAT_TERM"] floating enable +for_window [window_role="FLOAT_TERM"] move absolute position $htopX px $below_barY px +for_window [window_role="FLOAT_TERM"] border pixel 3 +for_window [title="Memory"] floating enable +for_window [class="Matplotlib"] floating enable +for_window [class="Chromium"] border pixel 0 +for_window [class="^.*"] border pixel 0 +for_window [window_type="toolbar"] border pixel 3 +for_window [window_type="splash"] border pixel 3 +for_window [window_type="dialog"] border pixel 3 +for_window [window_type="utility"] border pixel 3 +for_window [window_role="pop-up"] floating enable for_window [title="VMD 1.9.3 OpenGL Display"] floating enable -for_window [title="Figure *"] floating enable +for_window [title="Terminator Preferences"] floating enable +for_window [title="Figure *"] floating enable #for_window [title="VMD"] floating enable -assign [class="Firefox"] → $w2 -assign [class="Chromium"] → $w2 -for_window [class="Spotify"] move to workspace $w3 -#Spotify bug, assign doesn't work -assign [class="libreoffice*"] → $w4 -assign [class="soffice*"] → $w4 -assign [class="MATLAB*"] → $w4 -assign [window_role="ranger"] → $w1 -assign [window_role="terms"] → $w5 -assign [window_role="stats"] → $w6 -assign [class="Minecraft*"] → $w10 +assign [class="firefox"] → $w2 +assign [class="Chromium"] → $w2 +assign [class="libreoffice*"] → $w4 +assign [class="soffice*"] → $w4 +assign [class="MATLAB*"] → $w4 +assign [window_role="ranger"] → $w1 +assign [window_role="terms"] → $w5 +assign [window_role="stats"] → $w6 +assign [class="Minecraft*"] → $w10 assign [title="Feed The Beast Launcher*"] → $w10 +#Spotify bug, assign doesn't work +for_window [class="Spotify"] move to workspace $w3 # Gaps settings #### @@ -68,8 +69,6 @@ workspace 6 gaps inner 60 bindsym XF86AudioRaiseVolume exec ~/.i3/scripts/level.sh -v up bindsym XF86AudioLowerVolume exec ~/.i3/scripts/level.sh -v down bindsym XF86AudioMute exec ~/.i3/scripts/level.sh -v toggle -#bindsym XF86Launch1 exec /usr/bin/pactl play-sample that_was_easy -#bindsym XF86MonBrightnessDown exec /usr/bin/kbdlight down 20 bindsym XF86MonBrightnessUp exec ~/.i3/scripts/level.sh -b up bindsym XF86MonBrightnessDown exec ~/.i3/scripts/level.sh -b down bindsym $mod+F8 exec playerctl play-pause @@ -102,10 +101,10 @@ bindsym $mod+u exec feh --bg-scale /home/kuba/Obrazy/Wallpapers/AxEcN\ -\ Imgur. exec --no-startup-id $TERMINAL --role "ranger" -x ranger #exec --no-startup-id i3-msg 'workspace 5 terms" -exec --no-startup-id $TERMINAL -p terms --role "terms" -exec --no-startup-id $TERMINAL -p terms --role "terms" +exec --no-startup-id $TERMINAL --role "terms" +exec --no-startup-id $TERMINAL --role "terms" -#workspace 6 stats; +#workspace 6 stats; exec --no-startup-id i3-msg 'append_layout /home/kuba/.i3/workspace_6.json; rename workspace to "6 stats"' #Set appropriate background image before starting conkys exec --no-startup-id feh --bg-scale /home/kuba/Obrazy/Wallpapers/6_stats diff --git a/.vimrc b/.vimrc index 01ec8cc..5eb69f1 100755 --- a/.vimrc +++ b/.vimrc @@ -34,6 +34,10 @@ highlight Search ctermbg=5 filetype plugin indent on " required syntax on +" +" Set the filetype based on the file's extension, but only if +" 'filetype' has not already been set +au BufRead,BufNewFile *.config setfiletype conf set tabstop=4 " show existing tab with 4 spaces width set shiftwidth=4 " when indenting with '>', use 4 spaces width diff --git a/.xinitrc b/.xinitrc index ae67263..9f6d26b 100755 --- a/.xinitrc +++ b/.xinitrc @@ -41,7 +41,7 @@ if [ "$WM" = "i3" ]; then if [ "`hostname`" = "kubaArch" ] && [ -f ~/.i3/home.config ]; then cat ~/.i3/home.config >> $i3config fi - exec i3 -c $i3config # >> "~/${WM}.log" 2>&1 + exec i3 -c $i3config >> ~/${WM}.log 2>&1 else exec $WM >> "~/${WM}.log" 2>&1 fi