Some fixes
This commit is contained in:
@@ -38,7 +38,7 @@ dotfiles:
|
|||||||
src: X11/xinitrc
|
src: X11/xinitrc
|
||||||
dst: ~/.xinitrc
|
dst: ~/.xinitrc
|
||||||
f_i3:
|
f_i3:
|
||||||
src: i3/i3
|
src: i3/config
|
||||||
dst: ~/.config/i3/config
|
dst: ~/.config/i3/config
|
||||||
f_i3status:
|
f_i3status:
|
||||||
src: i3/i3status
|
src: i3/i3status
|
||||||
@@ -52,7 +52,7 @@ dotfiles:
|
|||||||
src: compton/compton.conf
|
src: compton/compton.conf
|
||||||
dst: ~/.config/compton.conf
|
dst: ~/.config/compton.conf
|
||||||
f_tmux:
|
f_tmux:
|
||||||
src: tmux/tmux
|
src: tmux/tmux.conf
|
||||||
dst: ~/.tmux.conf
|
dst: ~/.tmux.conf
|
||||||
d_tmux_themes:
|
d_tmux_themes:
|
||||||
src: tmux/themes
|
src: tmux/themes
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ floating_modifier $mod
|
|||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec xterm
|
bindsym $mod+Return exec xterm
|
||||||
|
set $terminal xterm
|
||||||
# for_window [class="XTerm"] floating enable move right 450px,move down 350px
|
# for_window [class="XTerm"] floating enable move right 450px,move down 350px
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
@@ -153,7 +154,7 @@ for_window [class="^.*"] border pixel 0
|
|||||||
|
|
||||||
# Colors from https://www.nordtheme.com/
|
# Colors from https://www.nordtheme.com/
|
||||||
# class border backgr. text indicator child_border
|
# class border backgr. text indicator child_border
|
||||||
client.focused #4C566A #4C566A #ECEFF4 #BF616A #E5E9F0
|
client.focused #4C566A #4C566A #ECEFF4 #A3BE8C #A3BE8C
|
||||||
client.focused_inactive #3B4252 #3B4252 #ECEFF4 #BF616A #5f676a
|
client.focused_inactive #3B4252 #3B4252 #ECEFF4 #BF616A #5f676a
|
||||||
client.unfocused #333333 #222222 #D8DEE9 #BF616A #222222
|
client.unfocused #333333 #222222 #D8DEE9 #BF616A #222222
|
||||||
client.urgent #2f343a #BF616A #ECEFF4 #BF616A #900000
|
client.urgent #2f343a #BF616A #ECEFF4 #BF616A #900000
|
||||||
@@ -164,7 +165,7 @@ exec --no-startup-id setxkbmap za
|
|||||||
bindsym Ctrl+Shift+1 exec --no-startup-id setxkbmap za
|
bindsym Ctrl+Shift+1 exec --no-startup-id setxkbmap za
|
||||||
|
|
||||||
# Background
|
# Background
|
||||||
exec --no-startup-id picom
|
exec --no-startup-id compton
|
||||||
exec --no-startup-id feh --bg-scale ~/wallpaper/wallpaper.png
|
exec --no-startup-id feh --bg-scale ~/wallpaper/wallpaper.png
|
||||||
|
|
||||||
# Remove title bar
|
# Remove title bar
|
||||||
@@ -256,8 +257,8 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
|||||||
#smart_gaps on
|
#smart_gaps on
|
||||||
gaps inner 8
|
gaps inner 8
|
||||||
|
|
||||||
# ranger
|
# Ranger
|
||||||
bindsym $mod+e exec xterm ranger
|
bindsym $mod+e exec $terminal ranger
|
||||||
|
|
||||||
exec_always --no-startup-id ~/.config/polybar/start.sh &
|
exec_always --no-startup-id ~/.config/polybar/start.sh &
|
||||||
exec_always --no-startup-id dunst
|
exec_always --no-startup-id dunst
|
||||||
@@ -50,19 +50,19 @@ width = 100%
|
|||||||
height = 27
|
height = 27
|
||||||
|
|
||||||
#padding-left = 0.5
|
#padding-left = 0.5
|
||||||
padding-right = 2
|
padding-right = 1
|
||||||
|
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
|
|
||||||
tray-position = none
|
tray-position = right
|
||||||
|
|
||||||
#border-size = 5
|
#border-size = 5
|
||||||
#border-color = ${colors.background}
|
#border-color = ${colors.background}
|
||||||
|
|
||||||
module-margin = 1
|
module-margin = 1
|
||||||
|
|
||||||
modules-left = i3tabs
|
modules-left = i3tabs title
|
||||||
modules-center =
|
modules-center =
|
||||||
modules-right = backlight volume battery date time powermenu
|
modules-right = backlight volume battery date time powermenu
|
||||||
separator =
|
separator =
|
||||||
@@ -95,11 +95,11 @@ modules-right =
|
|||||||
[bar/external_top]
|
[bar/external_top]
|
||||||
inherit = bar/laptop_top
|
inherit = bar/laptop_top
|
||||||
|
|
||||||
tray-position = none
|
tray-position = right
|
||||||
|
|
||||||
monitor = ${env:MONITOR:}
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
modules-left = i3tabs
|
modules-left = i3tabs title
|
||||||
modules-center =
|
modules-center =
|
||||||
modules-right = volume battery date time
|
modules-right = volume battery date time
|
||||||
separator =
|
separator =
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ if type "xrandr"; then
|
|||||||
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
if [[ ${mon} = *eDP-1* ]]; then
|
if [[ ${mon} = *eDP-1* ]]; then
|
||||||
polybar --reload laptop_top &
|
polybar --reload laptop_top &
|
||||||
polybar --reload laptop_bottom &
|
#polybar --reload laptop_bottom &
|
||||||
else
|
else
|
||||||
MONITOR=$mon polybar --reload external_top &
|
MONITOR=$mon polybar --reload external_top &
|
||||||
MONITOR=$mon polybar --reload external_bottom &
|
#MONITOR=$mon polybar --reload external_bottom &
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ Plugin 'arcticicestudio/nord-vim'
|
|||||||
Plugin 'vim-airline/vim-airline'
|
Plugin 'vim-airline/vim-airline'
|
||||||
Plugin 'vim-airline/vim-airline-themes'
|
Plugin 'vim-airline/vim-airline-themes'
|
||||||
|
|
||||||
|
Plugin 'vimwiki/vimwiki'
|
||||||
|
|
||||||
" Required
|
" Required
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
@@ -46,6 +48,9 @@ let g:pear_tree_pairs = {
|
|||||||
\ '<': {'closer': '>'}
|
\ '<': {'closer': '>'}
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
|
" Vimwiki
|
||||||
|
let g:vimwiki_list = [{'path': '~/vimwiki/'}]
|
||||||
|
|
||||||
" Other configurations
|
" Other configurations
|
||||||
" Colors
|
" Colors
|
||||||
syntax on
|
syntax on
|
||||||
|
|||||||
@@ -25,20 +25,17 @@ export LANG="en_US.UTF-8"
|
|||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
alias zshrc="vim ~/.zshrc"
|
|
||||||
alias vimrc="vim ~/.vimrc"
|
alias vimrc="vim ~/.vimrc"
|
||||||
|
|
||||||
alias szsh="source ~/.zshrc"
|
|
||||||
|
|
||||||
alias v="vifm"
|
|
||||||
alias dotf="cd ~/dotfiles/dotfiles"
|
alias dotf="cd ~/dotfiles/dotfiles"
|
||||||
alias fonts="/home/$USER/.local/share/fonts"
|
|
||||||
|
|
||||||
alias dotdrop="~/dotfiles/dotdrop.sh" --cfg="~/dotfiles/config.yaml"
|
alias dotdrop="~/dotfiles/dotdrop.sh" --cfg="~/dotfiles/config.yaml"
|
||||||
alias screenshot="import ~/Downloads/Screenshot-$(date '+%Y%m%d-%H%M%S').png"
|
|
||||||
|
alias fonts="/home/$USER/.local/share/fonts"
|
||||||
alias listfonts="fc-list :scalable=true:spacing=mono: family"
|
alias listfonts="fc-list :scalable=true:spacing=mono: family"
|
||||||
alias cachefonts="fc-cache -f -v"
|
alias cachefonts="fc-cache -f -v"
|
||||||
|
|
||||||
|
alias wiki="vim ~/vimwiki/index.wiki"
|
||||||
|
|
||||||
# Allow local aliases
|
# Allow local aliases
|
||||||
if [ -f ~/.zshrc_local ]; then
|
if [ -f ~/.zshrc_local ]; then
|
||||||
source ~/.zshrc_local
|
source ~/.zshrc_local
|
||||||
|
|||||||
Reference in New Issue
Block a user