37 files changed,
162 insertions(+),
1633 deletions(-)
Author:
Smirnov Olexandr
ss2316544@gmail.com
Committed at:
2021-01-14 21:48:31 +0200
Parent:
25b4e80
jump to
M
README.md
··· 16 16 - `Launcher` dmenu, rofi 17 17 18 18 #### Install configs 19 -Since i use **[rcm](https://github.com/thoughtbot/rcm)** set it 19 +Since i use **[rcm](https://github.com/thoughtbot/rcm)** set it: 20 20 ~~~bash 21 21 yay -S rcm 22 22 ~~~ 23 23 24 -And install configs 24 +And install configs: 25 25 ~~~bash 26 26 git clone https://github.com/Smirnov-O/dotfiles .dotfiles 27 27 rcup 28 +mv ~/.bin ~/bin 28 29 ~~~
D
config/berry/README.md
··· 1 -# [Berry](https://berrywm.org) 2 - 3 - 4 -------------------------- 5 - 6 -Install `sxhkd` 7 -~~~bash 8 -sudo pacman -S sxhkd 9 -~~~ 10 - 11 -Install `berry` from source 12 -~~~bash 13 -sudo pacman -S libx11 libxft libxinerama 14 -git clone https://github.com/JLErvin/berry 15 -cd berry 16 -make && sudo make install 17 -~~~ 18 - 19 -Add berry in lightdm 20 -~~~bash 21 -sudo cat <<EOF > /usr/share/xsessions/berry.desktop 22 -[Desktop Entry] 23 -Encoding=UTF-8 24 -Name=berry 25 -Comment=berry - a small window manager 26 -Exec=berry 27 -Type=XSession 28 -EOF 29 -~~~ 30 - 31 -### Autostart 32 -~~~bash 33 -setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" 34 -sxhkd -c ~/.config/berry/sxhkdrc & 35 -~/.config/berry/polybar/bar.sh & 36 -nitrogen --restore & 37 -picom -b & 38 -~~~ 39 - 40 -### Keybindings 41 ---------------- 42 - 43 -| Shourtcut | Command | 44 -| ------------------------- | ------ | 45 -| `mod` + q | Kill focus window | 46 -| `mod` + `split` + enter | Run program launcher (Rofi) | 47 -| `mod` + esc | Power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-power.sh) | 48 -| `mod` + `ctrl` + u | Config edit [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-config-edit.sh) | 49 -| `mod` + `ctrl` + i | Passmenu(Dmenu interface for [pass](https://passwordstore.org)) | 50 -| `mod` + enter | Run `kitty` | 51 -| `mod` + F2 | Run `firefox` | 52 -| `mod` + `shift` + esc | Run `xkill` | 53 -| `mod` + plus | Add 5% volume | 54 -| `mod` + minus | Minus 5% volume | 55 -| `mod` + `shift` + minus | Mute volume | 56 -| `mod` + tab | Change focus window | 57 -| `mod` + h/j/k/l | Move focus window | 58 -| `mod` + `shift` + h/j/k/l | Resize focus window | 59 -| `mod` + [1-9] | Change workspace | 60 -| `mod` + `shift` + [1-9] | Send focus window to workspace | 61 -| `mod` + `alt` + t | Open ~/.todo file |
D
config/berry/autostart
··· 1 -#!/bin/bash 2 -# ------ Autostart ------ # 3 -setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" & 4 -/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & 5 -sxhkd -c ~/.config/berry/sxhkdrc & 6 -~/.config/berry/polybar/bar.sh & 7 -nitrogen --restore & 8 -picom -b & 9 - 10 -# ------ Berry ------ # 11 -# Set decoration geometry 12 -berryc border_width 0 13 -berryc inner_border_width 1 14 -berryc title_height 0 15 -berryc top_gap 24 16 - 17 -# Set decoration colors 18 -berryc focus_color 073642 19 -berryc unfocus_color 002b36 20 -berryc inner_focus_color 268bd2 21 -berryc inner_unfocus_color 002b36 22 -berryc text_focus_color ffffff 23 -berryc text_unfocus_color eeeeee 24 - 25 -# Other options 26 -berryc smart_place "true" 27 -berryc draw_text "true" 28 -berryc edge_lock "true" 29 -berryc set_font "Dina-9"
D
config/berry/polybar/bar.sh
··· 1 -#!/bin/bash 2 -killall -q polybar 3 -while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 4 -polybar -c ~/.config/berry/polybar/polybar bar &
D
config/berry/polybar/polybar
··· 1 -[settings] 2 -pseudo-transparency = true 3 - 4 -[colors] 5 -background = #262A2B 6 -foreground = #FFFFFF 7 -secondary = #CED4DA 8 -alert = #DD6C6B 9 - 10 -[bar/bar] 11 -override-redirect = false 12 -background = ${colors.background} 13 -foreground = ${colors.foreground} 14 -module-margin-left = 1 15 -module-margin-right = 1 16 -padding-left = 3 17 -padding-right = 3 18 - 19 -width = 14% 20 -height = 22 21 - 22 -offset-x = 85.8% 23 -offset-y = 0.4% 24 - 25 -font-0 = Iosevka Nerd Font:style=Medium:size=10;3 26 -font-1 = FontAwesome5Free:style=Solid:size=8;2.5 27 -modules-left = wifi-signal date 28 -#modules-center = wp 29 -#modules-right = keyboard pulseaudio backlight time 30 - 31 -[module/backlight] 32 -type = internal/xbacklight 33 -format = <ramp> <label> 34 -label = %percentage%% 35 -ramp-0 = 36 - 37 -[module/wifi-signal] 38 -type = custom/script 39 -label = %output:%% 40 -exec = cat /proc/net/wireless | grep "wlp3s0" | awk '{print $4}' | grep -o '[0-9]*' 41 -interval = 3.0 42 - 43 -[module/pulseaudio] 44 -type = internal/pulseaudio 45 -format-volume = <ramp-volume> <label-volume> 46 -label-volume = %percentage%% 47 -label-volume-foreground = ${colors.foreground} 48 -label-muted = 49 -ramp-volume-0 = 50 -ramp-volume-1 = 51 -ramp-volume-2 = 52 -ramp-volume-3 = 53 -ramp-volume-4 = 54 - 55 -[module/keyboard] 56 -type = internal/xkeyboard 57 -label-NAME-maxlen = 10 58 -format-prefix = "" 59 -label-layout = %layout% 60 -blacklist-0 = num lock 61 -blacklist-1 = scroll lock 62 -blacklist-2= caps lock 63 - 64 -[module/date] 65 -type = internal/date 66 -interval = 600 67 -date = %e 68 -label = %date% 69 - 70 -[module/time] 71 -type = internal/date 72 -interval = 0 73 -time = %H:%M 74 -label = %time% 75 - 76 -[module/wp] 77 -type = internal/xworkspaces 78 -format = <label-state> 79 -label-active = × 80 -label-empty = · 81 -label-urgent = ~ 82 -label-active-foreground = ${colors.foreground} 83 -label-active-background = ${colors.background} 84 -label-active-padding = 1 85 -label-empty-foreground = ${colors.secondary} 86 -label-empty-padding = 87 -label-urgent-foreground = ${colors.alert} 88 -label-urgent-padding = 1
D
config/berry/polybar/wifi-signal.sh
··· 1 -#!/bin/sh 2 -cat /proc/net/wireless | grep "wlp3s0" | awk '{print $4}' | grep -o '[0-9]*'
D
config/berry/sxhkdrc
··· 1 -# ------ Apps ------- # 2 -super + F2 3 - firefox 4 -super + Return 5 - kitty 6 -super + shift + Escape 7 - xkill 8 -super + alt + t 9 - kitty nvim .todo 10 - 11 -# ------ Volum ------ # 12 -super + equal 13 - pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo +5% 14 -super + minus 15 - pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo -5% 16 -super + shift + minus 17 - pactl set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo toggle 18 - 19 -# ------ Menus ------ # 20 -super + shift + Return 21 - rofi -show drun 22 -super + Escape 23 - ~/.script/dmenu/dmenu-power.sh 24 -super + control + i 25 - passmenu -h 24 -p Passwoeds 26 -super + control + u 27 - ~/.script/dmenu/dmenu-config-edit.sh 28 -super + control + o 29 - ~/.script/dmenu/dmenu-sysmon.sh 30 - 31 -# ------ Berry ------ # 32 -super + control + r 33 - pkill -USR1 -x sxhkd; pkill polybar; ~/.config/berry/polybar/bar.sh 34 -super + shift {h, j, k, l} 35 - berryc window_move {-50 0, 0 50, 0 -50, 50 0} 36 -super + control + {h, j, k, l} 37 - berryc window_resize {-50 0, 0 50, 0 -50, 50 0} 38 -super + {1-9} 39 - berryc switch_workspace {0-9} 40 -super + shift + {1-9} 41 - berryc send_to_workspace {0-9} 42 -super + F11 43 - berryc window_monocle 44 -super + n 45 - berryc toggle_decorations 46 -super + Tab 47 - berryc cycle_focus 48 -super + q 49 - berryc window_close 50 -super + c 51 - berryc window_center 52 -~button1 53 - berryc pointer_focus
D
config/cmus/nten16.theme
··· 1 -set color_cmdline_bg=default 2 -set color_cmdline_fg=default 3 -set color_error=lightred 4 -set color_info=lightblue 5 -set color_separator=blue 6 -set color_statusline_bg=gray 7 -set color_statusline_fg=white 8 -set color_titleline_bg=blue 9 -set color_titleline_fg=white 10 -set color_win_bg=default 11 -set color_win_cur=lightblue 12 -set color_win_cur_sel_bg=lightblue 13 -set color_win_cur_sel_fg=default 14 -set color_win_dir=lightblue 15 -set color_win_fg=default 16 -set color_win_inactive_cur_sel_bg=default 17 -set color_win_inactive_cur_sel_fg=lightblue 18 -set color_win_inactive_sel_bg=default 19 -set color_win_inactive_sel_fg=default 20 -set color_win_sel_bg=lightblue 21 -set color_win_sel_fg=white 22 -set color_win_title_bg=blue 23 -set color_win_title_fg=white
M
config/dwm/config.def.h
··· 1 -static const unsigned int borderpx = 1; // border pixel of windows 2 -static const unsigned int snap = 32; // snap pixel 3 -static const int showbar = 1; // 0 means no bar 4 -static const int topbar = 1; // 0 means bottom bar 1 +static const unsigned int borderpx = 1; // border pixel of windows 2 +static const unsigned int snap = 32; // snap pixel 3 +static const int showbar = 1; // 0 means no bar 4 +static const int topbar = 1; // 0 means bottom bar 5 5 static const char *fonts[] = { "monospace:size=10" }; 6 6 static const char col_gray1[] = "#262A2B"; 7 7 static const char col_gray2[] = "#262A2B"; ··· 9 9 static const char col_gray4[] = "#FFFFFF"; 10 10 static const char col_cyan[] = "#008DCD"; 11 11 static const char *colors[][3] = { 12 - /* fg bg border */ 13 12 [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, 14 13 [SchemeSel] = { col_gray4, col_cyan, col_cyan }, 15 14 }; 16 15 17 16 // Workspaces names 18 -static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 17 +//static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 18 +static const char *tags[] = { "", "", "", "", "", "", "", "", "" }; 19 19 20 20 // Rules 21 21 static const Rule rules[] = { 22 - /* class instance title tags mask isfloating monitor */ 23 - { "trayer", NULL, NULL, ~0, True, -1 }, 24 - { "Gimp", NULL, NULL, 0, 1, -1 }, 25 - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, 22 + { "Gimp", NULL, NULL, 0, 1, -1 }, 23 + { "Firefox", NULL, NULL, 1 << 8,0, -1 }, 26 24 }; 27 25 28 26 // Autostart ··· 33 31 }; 34 32 35 33 // Layout 36 -static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ 37 -static const int nmaster = 1; /* number of clients in master area */ 38 -static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ 39 - 34 +static const float mfact = 0.55; // factor of master area size [0.05..0.95] 35 +static const int nmaster = 1; // number of clients in master area 36 +static const int resizehints = 1; // 1 means respect size hints in tiled resizals 40 37 static const Layout layouts[] = { 41 38 { "[]=", tile }, 42 39 { "><>", NULL }, ··· 57 54 static const char *dmenucmd[] = { "dmenu_run", NULL }; 58 55 static const char *launchercmd[] = { "rofi", "-location", "2", "-show", "drun", NULL }; 59 56 static const char *passmenucmd[] = { "passmenu", "-h", "24", "-p", "Passwords", NULL }; 60 -static const char *termcmd[] = { "alacritty", NULL }; 57 +static const char *dmenuconfig[] = { "./.script/dmenu/dmenu-config-edit.sh", NULL }; 58 +static const char *dmenupower[] = { "./.script/dmenu/dmenu-power.sh", NULL }; 59 +static const char *browsercmd[] = { "firefox", NULL }; 60 +static const char *filemanager[] = { "thunar", NULL }; 61 +static const char *codeeditor[] = { "alacritty", "-e", "nvim", NULL }; 62 +static const char *termcmd[] = { "alacritty", NULL }; 61 63 62 64 // Keyboards binds 63 65 static Key keys[] = { 64 - /* modifier key function argument */ 65 - { MODKEY|ShiftMask, XK_Return, spawn, {.v = launchercmd } }, // Program menu 66 - { MODKEY, XK_Return, spawn, {.v = termcmd } }, // Terminal 67 - { MODKEY, XK_q, killclient, {0} }, // Kill window 68 - { MODKEY, XK_b, togglebar, {0} }, // Toggle status bar 69 - { MODKEY, XK_j, focusstack, {.i = +1 } }, 70 - { MODKEY, XK_k, focusstack, {.i = -1 } }, 71 - { MODKEY, XK_i, incnmaster, {.i = +1 } }, 72 - { MODKEY, XK_d, incnmaster, {.i = -1 } }, 73 - { MODKEY, XK_h, setmfact, {.f = -0.05} }, 74 - { MODKEY, XK_l, setmfact, {.f = +0.05} }, 75 - { MODKEY, XK_Return, zoom, {0} }, 76 -// { MODKEY, XK_Tab, view, {0} }, 77 - { MODKEY, XK_Tab, setlayout, {0} }, 78 - { MODKEY|ShiftMask, XK_Tab, togglefloating, {0} }, 79 - { MODKEY, XK_comma, focusmon, {.i = -1 } }, 80 - { MODKEY, XK_period, focusmon, {.i = +1 } }, 81 - { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, 82 - { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, 66 + // User keys 67 + { MODKEY, XK_b, togglebar, {0} }, // Toggle status bar 68 + { MODKEY, XK_q, killclient, {0} }, // Kill window 69 + { MODKEY, XK_Return, spawn, {.v = termcmd } }, // Terminal 70 + { MODKEY|ShiftMask, XK_w, spawn, {.v = browsercmd } }, // Browser 71 + { MODKEY|ShiftMask, XK_f, spawn, {.v = filemanager } }, // File manager 72 + { MODKEY|ShiftMask, XK_e, spawn, {.v = codeeditor } }, // File manager 83 73 84 74 // Menus 85 - { MODKEY|ControlMask, XK_i, spawn, {.v = passmenucmd} }, 86 - { MODKEY|ControlMask, XK_u, spawn, SHCMD("~/.script/dmenu/dmenu-config-edit.sh") }, 87 - { MODKEY, XK_Escape, spawn, SHCMD("~/.script/dmenu/dmenu-power.sh") }, 88 - 75 + { MODKEY|ShiftMask, XK_Return, spawn, {.v = launchercmd } }, // Program menu 76 + { MODKEY|ControlMask, XK_i, spawn, {.v = passmenucmd } }, // Password menu 77 + { MODKEY|ControlMask, XK_u, spawn, {.v = dmenuconfig } }, // Configuration menu 78 + { MODKEY, XK_Escape, spawn, {.v = dmenupower } }, // Power menu 79 + 89 80 // Volume 90 - { MODKEY, XK_minus, spawn, SHCMD("amixer sset 'Master' 2%-") }, 91 - { MODKEY, XK_equal, spawn, SHCMD("amixer sset 'Master' 2%+") }, 81 + { MODKEY, XK_minus, spawn, SHCMD("amixer sset 'Master' 2%-") }, 82 + { MODKEY, XK_equal, spawn, SHCMD("amixer sset 'Master' 2%+") }, 92 83 { MODKEY|ShiftMask, XK_minus, spawn, SHCMD("amixer sset 'Master' toggle") }, 93 84 85 + // DWM keys 86 + { MODKEY, XK_Tab, setlayout, {0} }, // Change layout 87 + { MODKEY|ShiftMask, XK_Tab, togglefloating, {0} }, // Set floating layout 88 + 89 + { MODKEY, XK_j, focusstack, {.i = +1 } }, 90 + { MODKEY, XK_k, focusstack, {.i = -1 } }, 91 + { MODKEY, XK_i, incnmaster, {.i = +1 } }, 92 + { MODKEY, XK_d, incnmaster, {.i = -1 } }, 93 + { MODKEY, XK_h, setmfact, {.f = -0.05} }, 94 + { MODKEY, XK_l, setmfact, {.f = +0.05} }, 95 + { MODKEY, XK_Return, zoom, {0} }, 96 + 94 97 // Workspaces 95 - TAGKEYS( XK_1, 0) 96 - TAGKEYS( XK_2, 1) 97 - TAGKEYS( XK_3, 2) 98 - TAGKEYS( XK_4, 3) 99 - TAGKEYS( XK_5, 4) 100 - TAGKEYS( XK_6, 5) 101 - TAGKEYS( XK_7, 6) 102 - TAGKEYS( XK_8, 7) 103 - TAGKEYS( XK_9, 8) 104 - { MODKEY, XK_0, view, {.ui = ~0 } }, 105 - { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, 98 + TAGKEYS( XK_1, 0) 99 + TAGKEYS( XK_2, 1) 100 + TAGKEYS( XK_3, 2) 101 + TAGKEYS( XK_4, 3) 102 + TAGKEYS( XK_5, 4) 103 + TAGKEYS( XK_6, 5) 104 + TAGKEYS( XK_7, 6) 105 + TAGKEYS( XK_8, 7) 106 + TAGKEYS( XK_9, 8) 107 + { MODKEY, XK_0, view, {.ui = ~0 } }, 108 + { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, 106 109 }; 107 110 108 111 // Mouse binds
M
config/i3/README.md
··· 1 1 # [i3](https://i3wm.org) 2 2 3 3  4 ----- 4 +------------------------- 5 5 6 6 ### Install 7 7 ----------- 8 8 ~~~bash 9 9 sudo pacman -S i3-gaps polybar 10 10 ~~~ 11 - 12 -**Mod key:** `super(win)` 13 -**Font:** `monospace 10`, `JetBrains Mono 10` 14 - 15 -### Auttostart 16 --------------- 17 -~~~bash 18 -nmcli radio wifi on; nmcli device wifi connect <wifi_name> password <wifi_pass> name net 19 -setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" 20 -org.telegram.desktop 21 -nitrogen --restore 22 -redshift-gtk 23 -picom -b 24 -~~~ 25 - 26 -### Variables 27 -------------- 28 -~~~i3 29 -set $terminal kitty 30 -set $browser qutebwoser 31 -set $filemanager pcmanfm 32 -~~~ 33 - 34 -### Keybindings 35 ---------------- 36 - 37 -| Shourtcut | Command | 38 -| ----------------------- | ------ | 39 -| `mod` + q | Kill focus window | 40 -| `mod` + `ctrl` + r | Restart i3 | 41 -| `mod` + a | Focus thr oarent container | 42 -| `mod` + `shift` + space | Enable/disable floating mode | 43 -| `mod` + F11 | Enable/disable fullscreen mode | 44 -| `mod` + h/v | Horisontal/Vertical split | 45 -| `mod` + s/w/e | Container mode Stacked/Tabbed/Split | 46 -| `mod` + `shift` + ~ | Move focus window to scratchpad | 47 -| `mod` + ~ | Show window from scratchpad | 48 -| `mod` + `shift` + enter | Run program launcher (Rofi) | 49 -| `mod` + esc | Power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-power.sh) | 50 -| `mod` + `ctrl` + u | Config edit [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-config-edit.sh) | 51 -| `mod` + `ctrl` + i | Passmenu(Dmenu interface for [pass](https://passwordstore.org)) | 52 -| `mod` + tab | Window switcher(Rofi) | 53 -| `mod` + enter | Run program from `$terminal` variable(default: kitty) | 54 -| `mod` + F2 | Run program from `$browser` variable(default: qutebwoser) | 55 -| Print Screen | Screenshot | 56 -| `mod` + plus | Add 5% volume | 57 -| `mod` + minus | Minus 5% volume | 58 -| `mod` + `shift` + minus | Mute volume | 59 -| `mod` + Arrow/(h/j/k/l) | Change focus window | 60 -| `mod` + `shift` + Arrow/(h/j/k/l) | Move focus window | 61 -| `mod` + [1-9] | Change workspace | 62 -| `mod` + `shift` + [1-9] | Send focus window to workspace | 63 -| `mod` + `alt` + t | Open ~/.todo file | 64 -| `mod` + r | Enable/disable `resize` mode | 65 -| `mod` + g | Enable/disable `gups` | 66 - 67 -### Rules 68 ---------- 69 -Open `kitty` on `1` workspace 70 - 71 -Open `chromium, `firefox`, `qutebwoser` on `2` workspace 72 - 73 -Open `sublime`, `code`, `emacs` on `3` workspace 74 - 75 -Open `thunar`, `pcmanfm` on `4` workspace 76 - 77 -Open `discord`, `telegram` on `6` workspace 78 - 79 -Open `keepassxc` on `7` workspace 80 - 81 -Open `mousepad`, `lxappeatance`, `qt5ct`, `notrogen` in floating mode 82 - 83 -### Modes 84 ---------- 85 - 86 -**Resize:** chande window size 87 - 88 -**Gups:** edit gups size 89 - 90 -| Keys for `resize` mode | What is he doing | 91 -| -------------------- | -------------------------- | 92 -| Arrow / (h/j/k/l) | Change window size on 10px | 93 -| enter / esc / `mod` + r | Exit from resize mode | 94 - 95 -| Keys for `gups` mode | What is he doing | 96 -| -------------------- | -------------------------- | 97 -| plus / minus | Plus/Minus 2px gups | 98 -| 0 | Set `0` gups | 99 -| `shift` + plus/minus | Plus/Minus 4px gups | 100 -| enter / esc / `mod` + g | Exit from resize mode |
D
config/nvim/README.md
··· 1 -# nvim 2 - 3 - 4 ---------------- 5 - 6 -To manage plugins, I use [vim plug](https://github.com/junegunn/vim-plug). I use the following plugins: 7 -- `nten16.vim`: Colorschemes 8 -- `lightline`: Status bar 9 -- `vim-indent-guides`: Visually displaying indent levels 10 -- `vim-easymotion`: Fast navigation 11 -- `nerdtree`: File manager 12 -- `vim-devicons`: Icons for nerdtree 13 -- `ctrlp.vim`: File saecher 14 -- `auto-pairs`: Close brackets, parens, quotes 15 -- `coc.nvim`: Instant completion 16 -- `emmet-vim`: Emmet :D 17 -- `vim-javascript`: Syntax support for JS 18 -- `i3-vim-syntax`: Syntax support for i3 19 -- `sxhkd-vim`: Syntax support for sxhkd 20 -- `vim-scheme`: Syntax support for scheme 21 -- `scss-syntax.vim`: Syntax support for scss 22 -- `vim-fist`: Syntax support for fish 23 -- `vim-css-color`: Color name highlighter 24 -- `vim-markdown`: Syntax support for fish 25 -- `markdown-preview.nvim`: Preview markdown in real-time 26 -- `vim-table-mode`: Automatic markdown table creator & formatter
M
config/nvim/init.vim
··· 1 1 call plug#begin('~/.vim/plugged') 2 - Plug 'nathanaelkane/vim-indent-guides' " Displaying indent levels 3 - Plug 'itchyny/lightline.vim' " Status line 4 - Plug 'Smirnov-O/nten16.vim' " Color scheme 5 - Plug 'frazrepo/vim-rainbow' " Rainbow brackets 6 - Plug 'mhinz/vim-startify' " Start page 7 - Plug 'ap/vim-css-color' " CSS color preview 8 - Plug 'airblade/vim-gitgutter' " Git indicator 9 - Plug 'preservim/nerdcommenter' " Code commenter 10 - Plug 'junegunn/goyo.vim' 11 - Plug 'voldikss/vim-floaterm' " Terminal 2 + Plug 'Smirnov-O/nten16.vim' " Color scheme 3 + Plug 'itchyny/lightline.vim' " Status line 4 + Plug 'airblade/vim-gitgutter' " Git indicator 5 + Plug 'vimwiki/vimwiki' " Wiki in vim 6 + Plug 'ap/vim-css-color' " CSS color preview 7 + Plug 'mhinz/vim-startify' " Start page 8 + Plug 'voldikss/vim-floaterm' " Terminal floating window 9 + Plug 'kassio/neoterm' " Terminal wrapper 10 + Plug 'editorconfig/editorconfig-vim' " EditorConfig 12 11 13 - " Project/file navigation 14 - Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'} 15 - Plug 'preservim/tagbar', {'on': 'TagbarToggle'} 16 - Plug 'kien/ctrlp.vim', {'on': 'CtrlP'} 12 + " Completion & snippets 13 + Plug 'ycm-core/YouCompleteMe' 14 + Plug 'jiangmiao/auto-pairs' 15 + Plug 'SirVer/ultisnips' 17 16 18 - " Completion & snippets 19 - Plug 'ycm-core/YouCompleteMe' 20 - Plug 'jiangmiao/auto-pairs' 21 - Plug 'SirVer/ultisnips' 22 - 23 - " Language syntax 24 - Plug 'plasticboy/vim-markdown', {'for': 'markdown'} 25 - Plug 'dhruvasagar/vim-table-mode', {'for': 'markdown'} 26 - Plug 'xinhangliu/ficus.vim', {'for': 'markdown'} 27 - Plug 'vim-python/python-syntax', {'for': 'python'} 28 - Plug 'alaviss/nim.nvim', {'for': 'nim'} 29 - Plug 'fatih/vim-go', {'for': 'go'} 30 - Plug 'nsf/gocode', {'for': 'go'} 31 - Plug 'PotatoesMaster/i3-vim-syntax', {'for': 'i3'} 32 - Plug 'kovetskiy/sxhkd-vim', {'for': 'sxhkd'} 17 + " Programing 18 + Plug 'metakirby5/codi.vim' 19 + Plug 'sheerun/vim-polyglot' 20 + Plug 'plasticboy/vim-markdown', {'for': 'markdown'} 21 + Plug 'vim-python/python-syntax', {'for': 'python'} 22 + Plug 'fatih/vim-go', {'for': 'go'} 23 + Plug 'nsf/gocode', {'for': 'go'} 24 + Plug 'PotatoesMaster/i3-vim-syntax', {'for': 'i3'} 33 25 call plug#end() 34 26 35 27 " Theme ··· 105 97 let g:vim_markdown_folding_disabled = 1 106 98 let g:vim_markdown_frontmatter=1 107 99 let g:markdown_fenced_languages = ['go', 'python', 'bash', 'sh=bash'] 108 -let g:ficus_dir = "~/Documents/Notes" 109 100 110 -" Rainbow 111 -let g:rainbow_active = 1 101 +" VimWiki 102 +let g:vimwiki_list = [{'path': '~/Documents/Notes', 'syntax': 'markdown', 'ext': '.md'}] 103 +"let g:vimwiki_ext2syntax = {".md": "markdown"} 104 +let g:VimWiki_markdown_link_ext = 1 112 105 113 106 " Python 114 107 let g:python_higlight_all = 1 ··· 117 110 let g:floaterm_title = "" 118 111 let g:floaterm_wintype = "floating" 119 112 let g:floaterm_position = "bottomright" 120 -let g:floaterm_borderchars = "" 121 113 let g:floaterm_height = 0.4 122 114 let g:floaterm_width = 0.5 123 115 let g:floaterm_autoclose = 2 124 116 nmap <A-t> :FloatermNew<CR> 125 - 126 117 127 118 " UltiSnipts 128 119 let g:UltiSnipsExpandTrigger="<C-a>" ··· 139 130 let g:go_highlight_build_constraints = 1 140 131 let g:go_snippet_engine = "" 141 132 142 -" TagBar 143 -let g:tagbar_autoclose = 1 144 -let g:tagbar_width = 18 145 -let g:tagbar_left = 1 146 - 147 -" Nerdtree 148 -let NERDTreeIgnore = ['__pycache__', '.DS_Store', '.git'] 149 -let g:NERDTreeWinPos = "right" 150 -let g:NERDTreeWinSize = 28 151 -let NERDTreeMinimalUI = 1 152 - 153 -" CtrlP 154 -let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$' 155 - 156 133 " Startify 157 134 let g:startify_custom_header = [ 158 135 \ " _____ _____ _ ", ··· 195 172 " Buffer(s) 196 173 noremap <leader>p :bnext<CR> 197 174 noremap <leader>o :bprev<CR> 198 - 199 -" Plugins 200 -map <leader>gg :Goyo 80%x95% <CR> 201 -map <F9> :TagbarToggle<CR> 202 -map <C-b> :NERDTreeToggle<CR>
D
config/openbox/autostart
··· 1 -tint2 & 2 -setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" & 3 -/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & 4 -nmcli radio wifi on; nmcli device wifi connect Pechenka password 24032006 name net & 5 -picom -b & 6 -nitrogen --restore & 7 -volumeicon &
D
config/openbox/rc.xml
··· 1 -<?xml version="1.0" encoding="UTF-8"?> 2 -<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude"> 3 - <resistance> 4 - <strength>10</strength> 5 - <screen_edge_strength>20</screen_edge_strength> 6 - </resistance> 7 - <focus> 8 - <focusNew>yes</focusNew> 9 - <followMouse>no</followMouse> 10 - <focusLast>yes</focusLast> 11 - <underMouse>no</underMouse> 12 - <focusDelay>200</focusDelay> 13 - <raiseOnFocus>no</raiseOnFocus> 14 - </focus> 15 - <placement> 16 - <policy>Smart</policy> 17 - <center>yes</center> 18 - <monitor>Primary</monitor> 19 - <primaryMonitor>1</primaryMonitor> 20 - </placement> 21 - <theme> 22 - <name>SolArc-Dark</name> 23 - <titleLayout>CIMLSN</titleLayout> 24 - <keepBorder>yes</keepBorder> 25 - <animateIconify>yes</animateIconify> 26 - <font place="ActiveWindow"> 27 - <name>sans</name> 28 - <size>8</size> 29 - <weight>bold</weight> 30 - <slant>normal</slant> 31 - </font> 32 - <font place="InactiveWindow"> 33 - <name>sans</name> 34 - <size>8</size> 35 - <weight>bold</weight> 36 - <slant>normal</slant> 37 - </font> 38 - <font place="MenuHeader"> 39 - <name>Sans</name> 40 - <size>12</size> 41 - <weight>Bold</weight> 42 - <slant>Normal</slant> 43 - </font> 44 - <font place="MenuItem"> 45 - <name>Sans</name> 46 - <size>10</size> 47 - <weight>Normal</weight> 48 - <slant>Normal</slant> 49 - </font> 50 - <font place="ActiveOnScreenDisplay"> 51 - <name>Sans</name> 52 - <size>8</size> 53 - <weight>Bold</weight> 54 - <slant>Normal</slant> 55 - </font> 56 - <font place="InactiveOnScreenDisplay"> 57 - <name>sans</name> 58 - <size>9</size> 59 - <weight>bold</weight> 60 - <slant>normal</slant> 61 - </font> 62 - </theme> 63 - <desktops> 64 - <number>9</number> 65 - <firstdesk>1</firstdesk> 66 - <names> 67 - <name>1</name> 68 - <name>2</name> 69 - <name>3</name> 70 - <name>4</name> 71 - <name>5</name> 72 - <name>6</name> 73 - <name>7</name> 74 - <name>8</name> 75 - <name>9</name> 76 - </names> 77 - <popupTime>875</popupTime> 78 - </desktops> 79 - <resize> 80 - <drawContents>yes</drawContents> 81 - <popupShow>Nonpixel</popupShow> 82 - <popupPosition>Center</popupPosition> 83 - <popupFixedPosition> 84 - <x>10</x> 85 - <y>10</y> 86 - </popupFixedPosition> 87 - </resize> 88 - <margins> 89 - <top>0</top> 90 - <bottom>26</bottom> 91 - <left>0</left> 92 - <right>0</right> 93 - </margins> 94 - <dock> 95 - <position>TopLeft</position> 96 - <floatingX>0</floatingX> 97 - <floatingY>0</floatingY> 98 - <noStrut>no</noStrut> 99 - <stacking>Above</stacking> 100 - <direction>Vertical</direction> 101 - <autoHide>no</autoHide> 102 - <hideDelay>300</hideDelay> 103 - <showDelay>300</showDelay> 104 - <moveButton>Middle</moveButton> 105 - </dock> 106 - <keyboard> 107 - <chainQuitKey>C-g</chainQuitKey> 108 - <keybind key="C-A-Left"> 109 - <action name="GoToDesktop"> 110 - <to>left</to> 111 - <wrap>no</wrap> 112 - </action> 113 - </keybind> 114 - <keybind key="C-A-Right"> 115 - <action name="GoToDesktop"> 116 - <to>right</to> 117 - <wrap>no</wrap> 118 - </action> 119 - </keybind> 120 - <keybind key="C-A-Up"> 121 - <action name="GoToDesktop"> 122 - <to>up</to> 123 - <wrap>no</wrap> 124 - </action> 125 - </keybind> 126 - <keybind key="C-A-Down"> 127 - <action name="GoToDesktop"> 128 - <to>down</to> 129 - <wrap>no</wrap> 130 - </action> 131 - </keybind> 132 - <keybind key="S-A-Left"> 133 - <action name="SendToDesktop"> 134 - <to>left</to> 135 - <wrap>no</wrap> 136 - </action> 137 - </keybind> 138 - <keybind key="S-A-Right"> 139 - <action name="SendToDesktop"> 140 - <to>right</to> 141 - <wrap>no</wrap> 142 - </action> 143 - </keybind> 144 - <keybind key="S-A-Up"> 145 - <action name="SendToDesktop"> 146 - <to>up</to> 147 - <wrap>no</wrap> 148 - </action> 149 - </keybind> 150 - <keybind key="S-A-Down"> 151 - <action name="SendToDesktop"> 152 - <to>down</to> 153 - <wrap>no</wrap> 154 - </action> 155 - </keybind> 156 - <keybind key="W-Right"> 157 - <action name="UnmaximizeFull"/> 158 - <action name="GrowToEdgeEast"/> 159 - </keybind> 160 - <keybind key="W-Left"> 161 - <action name="UnmaximizeFull"/> 162 - <action name="GrowToEdgeWest"/> 163 - </keybind> 164 - <keybind key="W-Down"> 165 - <action name="UnmaximizeFull"/> 166 - <action name="GrowToEdgeSouth"/> 167 - </keybind> 168 - <keybind key="W-Up"> 169 - <action name="UnmaximizeFull"/> 170 - <action name="GrowToEdgeNorth"/> 171 - </keybind> 172 - <!-- Keybindings for switching workspaces --> 173 - <keybind key="W-1"> 174 - <action name="GoToDesktop"> 175 - <to>1</to> 176 - </action> 177 - </keybind> 178 - <keybind key="W-2"> 179 - <action name="GoToDesktop"> 180 - <to>2</to> 181 - </action> 182 - </keybind> 183 - <keybind key="W-3"> 184 - <action name="GoToDesktop"> 185 - <to>3</to> 186 - </action> 187 - </keybind> 188 - <keybind key="W-4"> 189 - <action name="GoToDesktop"> 190 - <to>4</to> 191 - </action> 192 - </keybind> 193 - <keybind key="W-5"> 194 - <action name="GoToDesktop"> 195 - <to>5</to> 196 - </action> 197 - </keybind> 198 - <keybind key="W-6"> 199 - <action name="GoToDesktop"> 200 - <to>6</to> 201 - </action> 202 - </keybind> 203 - <keybind key="W-7"> 204 - <action name="GoToDesktop"> 205 - <to>7</to> 206 - </action> 207 - </keybind> 208 - <keybind key="W-8"> 209 - <action name="GoToDesktop"> 210 - <to>8</to> 211 - </action> 212 - </keybind> 213 - <keybind key="W-9"> 214 - <action name="GoToDesktop"> 215 - <to>9</to> 216 - </action> 217 - </keybind> 218 - <!-- Keybindings for windows --> 219 - <keybind key="W-q"> 220 - <action name="Close"/> 221 - </keybind> 222 - <keybind key="A-F4"> 223 - <action name="Close"/> 224 - </keybind> 225 - <keybind key="A-Down"> 226 - <action name="Iconify"/> 227 - </keybind> 228 - <keybind key="A-Up"> 229 - <action name="ToggleMaximize"/> 230 - </keybind> 231 - <!-- Keybindings for window switching --> 232 - <keybind key="A-Tab"> 233 - <action name="NextWindow"> 234 - <finalactions> 235 - <action name="Focus"/> 236 - <action name="Raise"/> 237 - <action name="Unshade"/> 238 - </finalactions> 239 - </action> 240 - </keybind> 241 - <!-- Keybindings for launching terminal --> 242 - <keybind key="W-Return"> 243 - <action name="Execute"> 244 - <command>kitty</command> 245 - </action> 246 - </keybind> 247 - <!-- Keybindings for running applications --> 248 - <keybind key="W-S-space"> 249 - <action name="ShowMenu"> 250 - <menu>root-menu</menu> 251 - </action> 252 - </keybind> 253 - <!-- Keybindings for important applications --> 254 - <keybind key="W-S-apostrophe"> 255 - <action name="Execute"> 256 - <command>dmenu_run -h 26 -b -p Run</command> 257 - </action> 258 - </keybind> 259 - <keybind key="W-S-Return"> 260 - <action name="Execute"> 261 - <command>i3-dmenu-desktop --dmenu="dmenu -h 26 -b"</command> 262 - </action> 263 - </keybind> 264 - 265 - 266 - <keybind key="W-C-i"> 267 - <action name="Execute"> 268 - <command>passmenu -b -h 26 -p Password</command> 269 - </action> 270 - </keybind> 271 - <keybind key="W-C-u"> 272 - <action name="Execute"> 273 - <command>~/.script/dmenu/dmenu-config-edit.sh -h 26 -b</command> 274 - </action> 275 - </keybind> 276 - <keybind key="W-Escape"> 277 - <action name="Execute"> 278 - <command>~/.script/dmenu/dmenu-power.sh -h 26 -b</command> 279 - </action> 280 - </keybind> 281 - <keybind key="W-F2"> 282 - <action name="Execute"> 283 - <command>firefox</command> 284 - </action> 285 - </keybind> 286 - <keybind key="W-F4"> 287 - <action name="Execute"> 288 - <command>pcmanfm</command> 289 - </action> 290 - </keybind> 291 - <keybind key="S-W-Escape"> 292 - <action name="Execute"> 293 - <command>xkill</command> 294 - </action> 295 - </keybind> 296 - <keybind key="W-l"> 297 - <action name="Execute"> 298 - <command>i3lock</command> 299 - </action> 300 - </keybind> 301 - </keyboard> 302 - <mouse> 303 - <dragThreshold>1</dragThreshold> 304 - <doubleClickTime>500</doubleClickTime> 305 - <screenEdgeWarpTime>400</screenEdgeWarpTime> 306 - <screenEdgeWarpMouse>false</screenEdgeWarpMouse> 307 - <context name="Frame"> 308 - <mousebind button="W-Left" action="Press"> 309 - <action name="Focus"/> 310 - <action name="Raise"/> 311 - </mousebind> 312 - <mousebind button="W-Left" action="Click"> 313 - <action name="Unshade"/> 314 - </mousebind> 315 - <mousebind button="W-Left" action="Drag"> 316 - <action name="Move"/> 317 - </mousebind> 318 - <mousebind button="W-Right" action="Press"> 319 - <action name="Focus"/> 320 - <action name="Raise"/> 321 - <action name="Unshade"/> 322 - </mousebind> 323 - <mousebind button="W-Right" action="Drag"> 324 - <action name="Resize"/> 325 - </mousebind> 326 - <mousebind button="W-Middle" action="Press"> 327 - <action name="Lower"/> 328 - <action name="FocusToBottom"/> 329 - <action name="Unfocus"/> 330 - </mousebind> 331 - <mousebind button="W-Up" action="Click"> 332 - <action name="GoToDesktop"> 333 - <to>previous</to> 334 - </action> 335 - </mousebind> 336 - <mousebind button="W-Down" action="Click"> 337 - <action name="GoToDesktop"> 338 - <to>next</to> 339 - </action> 340 - </mousebind> 341 - <mousebind button="C-W-Up" action="Click"> 342 - <action name="GoToDesktop"> 343 - <to>previous</to> 344 - </action> 345 - </mousebind> 346 - <mousebind button="C-W-Down" action="Click"> 347 - <action name="GoToDesktop"> 348 - <to>next</to> 349 - </action> 350 - </mousebind> 351 - <mousebind button="W-S-Up" action="Click"> 352 - <action name="SendToDesktop"> 353 - <to>previous</to> 354 - </action> 355 - </mousebind> 356 - <mousebind button="W-S-Down" action="Click"> 357 - <action name="SendToDesktop"> 358 - <to>next</to> 359 - </action> 360 - </mousebind> 361 - </context> 362 - <context name="Titlebar"> 363 - <mousebind button="Left" action="Drag"> 364 - <action name="Move"/> 365 - </mousebind> 366 - <mousebind button="Left" action="DoubleClick"> 367 - <action name="ToggleMaximize"/> 368 - </mousebind> 369 - <mousebind button="Up" action="Click"> 370 - <action name="if"> 371 - <shaded>no</shaded> 372 - <then> 373 - <action name="Shade"/> 374 - <action name="FocusToBottom"/> 375 - <action name="Unfocus"/> 376 - <action name="Lower"/> 377 - </then> 378 - </action> 379 - </mousebind> 380 - <mousebind button="Down" action="Click"> 381 - <action name="if"> 382 - <shaded>yes</shaded> 383 - <then> 384 - <action name="Unshade"/> 385 - <action name="Raise"/> 386 - </then> 387 - </action> 388 - </mousebind> 389 - </context> 390 - <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner"> 391 - <mousebind button="Left" action="Press"> 392 - <action name="Focus"/> 393 - <action name="Raise"/> 394 - <action name="Unshade"/> 395 - </mousebind> 396 - <mousebind button="Middle" action="Press"> 397 - <action name="Lower"/> 398 - <action name="FocusToBottom"/> 399 - <action name="Unfocus"/> 400 - </mousebind> 401 - <mousebind button="Right" action="Press"> 402 - <action name="Focus"/> 403 - <action name="Raise"/> 404 - <action name="ShowMenu"> 405 - <menu>client-menu</menu> 406 - </action> 407 - </mousebind> 408 - </context> 409 - <context name="Top"> 410 - <mousebind button="Left" action="Drag"> 411 - <action name="Resize"> 412 - <edge>top</edge> 413 - </action> 414 - </mousebind> 415 - </context> 416 - <context name="Left"> 417 - <mousebind button="Left" action="Drag"> 418 - <action name="Resize"> 419 - <edge>left</edge> 420 - </action> 421 - </mousebind> 422 - </context> 423 - <context name="Right"> 424 - <mousebind button="Left" action="Drag"> 425 - <action name="Resize"> 426 - <edge>right</edge> 427 - </action> 428 - </mousebind> 429 - </context> 430 - <context name="Bottom"> 431 - <mousebind button="Left" action="Drag"> 432 - <action name="Resize"> 433 - <edge>bottom</edge> 434 - </action> 435 - </mousebind> 436 - <mousebind button="Right" action="Press"> 437 - <action name="Focus"/> 438 - <action name="Raise"/> 439 - <action name="ShowMenu"> 440 - <menu>client-menu</menu> 441 - </action> 442 - </mousebind> 443 - </context> 444 - <context name="TRCorner BRCorner TLCorner BLCorner"> 445 - <mousebind button="Left" action="Press"> 446 - <action name="Focus"/> 447 - <action name="Raise"/> 448 - <action name="Unshade"/> 449 - </mousebind> 450 - <mousebind button="Left" action="Drag"> 451 - <action name="Resize"/> 452 - </mousebind> 453 - </context> 454 - <context name="Client"> 455 - <mousebind button="Left" action="Press"> 456 - <action name="Focus"/> 457 - <action name="Raise"/> 458 - </mousebind> 459 - <mousebind button="Middle" action="Press"> 460 - <action name="Focus"/> 461 - <action name="Raise"/> 462 - </mousebind> 463 - <mousebind button="Right" action="Press"> 464 - <action name="Focus"/> 465 - <action name="Raise"/> 466 - </mousebind> 467 - </context> 468 - <context name="Icon"> 469 - <mousebind button="Left" action="Press"> 470 - <action name="Focus"/> 471 - <action name="Raise"/> 472 - <action name="Unshade"/> 473 - <action name="ShowMenu"> 474 - <menu>client-menu</menu> 475 - </action> 476 - </mousebind> 477 - <mousebind button="Right" action="Press"> 478 - <action name="Focus"/> 479 - <action name="Raise"/> 480 - <action name="ShowMenu"> 481 - <menu>client-menu</menu> 482 - </action> 483 - </mousebind> 484 - </context> 485 - <context name="AllDesktops"> 486 - <mousebind button="Left" action="Press"> 487 - <action name="Focus"/> 488 - <action name="Raise"/> 489 - <action name="Unshade"/> 490 - </mousebind> 491 - <mousebind button="Left" action="Click"> 492 - <action name="ToggleOmnipresent"/> 493 - </mousebind> 494 - </context> 495 - <context name="Shade"> 496 - <mousebind button="Left" action="Press"> 497 - <action name="Focus"/> 498 - <action name="Raise"/> 499 - </mousebind> 500 - <mousebind button="Left" action="Click"> 501 - <action name="ToggleShade"/> 502 - </mousebind> 503 - </context> 504 - <context name="Iconify"> 505 - <mousebind button="Left" action="Press"> 506 - <action name="Focus"/> 507 - <action name="Raise"/> 508 - </mousebind> 509 - <mousebind button="Left" action="Click"> 510 - <action name="Iconify"/> 511 - </mousebind> 512 - </context> 513 - <context name="Maximize"> 514 - <mousebind button="Left" action="Press"> 515 - <action name="Focus"/> 516 - <action name="Raise"/> 517 - <action name="Unshade"/> 518 - </mousebind> 519 - <mousebind button="Middle" action="Press"> 520 - <action name="Focus"/> 521 - <action name="Raise"/> 522 - <action name="Unshade"/> 523 - </mousebind> 524 - <mousebind button="Right" action="Press"> 525 - <action name="Focus"/> 526 - <action name="Raise"/> 527 - <action name="Unshade"/> 528 - </mousebind> 529 - <mousebind button="Left" action="Click"> 530 - <action name="ToggleMaximize"/> 531 - </mousebind> 532 - <mousebind button="Middle" action="Click"> 533 - <action name="ToggleMaximize"> 534 - <direction>vertical</direction> 535 - </action> 536 - </mousebind> 537 - <mousebind button="Right" action="Click"> 538 - <action name="ToggleMaximize"> 539 - <direction>horizontal</direction> 540 - </action> 541 - </mousebind> 542 - </context> 543 - <context name="Close"> 544 - <mousebind button="Left" action="Press"> 545 - <action name="Focus"/> 546 - <action name="Raise"/> 547 - <action name="Unshade"/> 548 - </mousebind> 549 - <mousebind button="Left" action="Click"> 550 - <action name="Close"/> 551 - </mousebind> 552 - </context> 553 - <context name="Desktop"> 554 - <mousebind button="Up" action="Click"> 555 - <action name="GoToDesktop"> 556 - <to>previous</to> 557 - </action> 558 - </mousebind> 559 - <mousebind button="Down" action="Click"> 560 - <action name="GoToDesktop"> 561 - <to>next</to> 562 - </action> 563 - </mousebind> 564 - <mousebind button="W-Up" action="Click"> 565 - <action name="GoToDesktop"> 566 - <to>previous</to> 567 - </action> 568 - </mousebind> 569 - <mousebind button="W-Down" action="Click"> 570 - <action name="GoToDesktop"> 571 - <to>next</to> 572 - </action> 573 - </mousebind> 574 - <mousebind button="C-W-Up" action="Click"> 575 - <action name="GoToDesktop"> 576 - <to>previous</to> 577 - </action> 578 - </mousebind> 579 - <mousebind button="C-W-Down" action="Click"> 580 - <action name="GoToDesktop"> 581 - <to>next</to> 582 - </action> 583 - </mousebind> 584 - <mousebind button="Left" action="Press"> 585 - <action name="Focus"/> 586 - <action name="Raise"/> 587 - </mousebind> 588 - <mousebind button="Right" action="Press"> 589 - <action name="Focus"/> 590 - <action name="Raise"/> 591 - </mousebind> 592 - </context> 593 - <context name="Root"> 594 - <!-- Menus --> 595 - <mousebind button="Middle" action="Press"> 596 - <action name="ShowMenu"> 597 - <menu>client-list-combined-menu</menu> 598 - </action> 599 - </mousebind> 600 - <mousebind button="Right" action="Press"> 601 - <action name="ShowMenu"> 602 - <menu>root-menu</menu> 603 - </action> 604 - </mousebind> 605 - </context> 606 - <context name="MoveResize"> 607 - <mousebind button="Up" action="Click"> 608 - <action name="GoToDesktop"> 609 - <to>previous</to> 610 - </action> 611 - </mousebind> 612 - <mousebind button="Down" action="Click"> 613 - <action name="GoToDesktop"> 614 - <to>next</to> 615 - </action> 616 - </mousebind> 617 - <mousebind button="W-Up" action="Click"> 618 - <action name="GoToDesktop"> 619 - <to>previous</to> 620 - </action> 621 - </mousebind> 622 - <mousebind button="W-Down" action="Click"> 623 - <action name="GoToDesktop"> 624 - <to>next</to> 625 - </action> 626 - </mousebind> 627 - </context> 628 - </mouse> 629 - <menu> 630 - <file>menu.xml</file> 631 - <hideDelay>200</hideDelay> 632 - <middle>no</middle> 633 - <submenuShowDelay>100</submenuShowDelay> 634 - <submenuHideDelay>400</submenuHideDelay> 635 - <showIcons>yes</showIcons> 636 - <manageDesktops>yes</manageDesktops> 637 - </menu> 638 - <applications> 639 - </applications> 640 -</openbox_config>
M
config/qtile/README.md
··· 19 19 nitrogen --restore & 20 20 picom --experimental-backends -b & 21 21 ~~~~ 22 - 23 -### Keybindings 24 -| Hotkey | Action | 25 -| ----------------------- | -------------------------------- | 26 -| MOD + RETURN | Open termianl | 27 -| MOD + SHIFT + RETURN | Open program launcher(rofi) | 28 -| MOD + f | Open filemanager | 29 -| MOD + r | Open qtile spawn menu | 30 -| MOD + TAB | Change layout | 31 -| MOD + q | Kill focused window | 32 -| MOD + CONTROL + r | Restart qtile | 33 -| MOD + 1-9 | Switch focus to workspace | 34 -| MOD + SHIFT + 1-9 | Send focused window to workspace | 35 -| MOD + h/j/k/l | Change focus window | 36 -| MOD + SHIFT + h/j/k/l | Move focused window | 37 -| MOD + CONTROL + h/j/k/l | Resize focused window | 38 -| MOD + -/+ | Plus/minus 2% volume | 39 -| MOD + SHIFT + - | Mute volume | 40 -| MOD + CONTROL + i | Open passmenu | 41 -| MOD + CONTROL + u | Open config edit Power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-config-edit.sh) | 42 -| MOD + Escape | Open power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-power.sh) | 43 -| Print | Screenhot | 44 -| SHIFT + Print | Full screen screenhot | 45 -| MOD + ALT + t | Open `~/.todo` file in neovim |
M
config/qtile/config.py
··· 2 2 from libqtile.config import Click, Drag, Group, Key, Screen 3 3 from libqtile.lazy import lazy 4 4 from typing import List 5 -import kblayout 6 -import os 5 +import kblayout, os 7 6 8 7 9 8 mod = "mod4" 10 9 alt = "mod1" 11 10 12 -terminal = "alacritty" 13 -browser = "firefox" 14 -filemanager="thunar" 15 -user = "sasha" 11 +terminal = "alacritty" 12 +browser = "firefox" 13 +filemanager = "thunar" 14 +editor = "alacritty -e nvim" 16 15 17 16 color = [ 18 17 "#FFFFFF", # 0. Text color ··· 28 27 29 28 30 29 @hook.subscribe.startup_once 31 -def autostart(): os.system("~/.config/qtile/autostart.sh") 30 +def autostart(): 31 + os.system("~/.config/qtile/autostart.sh") 32 + 32 33 33 34 keys = [ 34 35 # Applications ··· 36 37 lazy.spawn(terminal), 37 38 desc="Launch terminal" 38 39 ), 39 - Key([mod], "F2", 40 + Key([mod, "shift"], "w", 40 41 lazy.spawn(browser), 41 42 desc="Launch browser" 42 43 ), 43 - Key([mod], "f", 44 + Key([mod, "shift"], "f", 44 45 lazy.spawn(filemanager), 45 46 desc="Launch filemanager" 46 47 ), 47 - 48 + Key([mod, "shift"], "e", 49 + lazy.spawn(editor), 50 + desc="Launch code editor" 51 + ), 48 52 # Window control 49 53 Key([mod], "q", 50 54 lazy.window.kill(), ··· 115 119 116 120 # Volume 117 121 Key([mod], "equal", 118 - lazy.spawn("pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo +2%"), 122 + lazy.spawn("amixer sset Master 2%+"), 119 123 desc="Plus 2% volume" 120 124 ), 121 125 Key([mod], "minus", 122 - lazy.spawn("pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo -2%"), 126 + lazy.spawn("amixer sset Master 2%-"), 123 127 desc="Minus 2% volume" 124 128 ), 125 129 Key([mod, "shift"], "minus", 126 - lazy.spawn("pactl set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo toggle"), 130 + lazy.spawn("amixer sset Master toggle"), 127 131 desc="Mute volume" 128 132 ), 129 133 ··· 137 141 desc="(Rofi) Program launcher" 138 142 ), 139 143 Key([mod],"Escape", 140 - lazy.spawn(f"/home/{user}/.script/dmenu/dmenu-power.sh"), 144 + lazy.spawn("./.script/dmenu/dmenu-power.sh"), 141 145 desc="Power menu" 142 146 ), 143 147 Key([mod, "control"], "i", ··· 145 149 desc="Dmenu password menu" 146 150 ), 147 151 Key([mod, "control"], "u", 148 - lazy.spawn(f"/home/{user}/.script/dmenu/dmenu-config-edit.sh"), 152 + lazy.spawn("./.script/dmenu/dmenu-config-edit.sh"), 149 153 desc="Config editor" 150 154 ), 151 155 Key([mod, "control"], "o", 152 - lazy.spawn(f"/home/{user}/.script/dmenu/dmenu-sysmon.sh"), 156 + lazy.spawn("./.script/dmenu/dmenu-sysmon.sh"), 153 157 desc="Choice system monitor" 154 158 ), 155 159 156 160 # Screenhot 157 161 Key([], "Print", 158 - lazy.spawn(f"scrot -s /home/{user}/$(date +%Y-%m-%d-%H-%M-%S).png"), 162 + lazy.spawn("scrot -s ./$(date +%Y-%m-%d-%H-%M-%S).png"), 159 163 desc="Create screenhot(scrot -s)" 160 164 ), 161 165 Key(["shift"], "Print", 162 - lazy.spawn(f"scrot /home/{user}/$(date +%Y-%m-%d-%H-%M-%S).png"), 166 + lazy.spawn(f"scrot ./$(date +%Y-%m-%d-%H-%M-%S).png"), 163 167 desc="Create screenhot full screen(scrot)" 164 168 ), 165 169 ··· 172 176 lazy.spawncmd(), 173 177 desc="Spawn a command using a prompt widget" 174 178 ), 175 - Key([mod, "shift"], "Escape", 179 + Key([mod, "shift"], "q", 176 180 lazy.spawn("xkill"), 177 181 desc="Xkill" 178 182 ), ··· 286 290 bring_front_click = False 287 291 cursor_warp = False 288 292 floating_layout = layout.Floating( 289 - **layout_theme, 290 - float_rules=[ 293 + **layout_theme, float_rules=[ 291 294 {"wmclass": "confirm"}, 292 295 {"wmclass": "dialog"}, 293 296 {"wmclass": "download"}, ··· 301 304 {"wmclass": "maketag"}, 302 305 {"wname": "branchdialog"}, 303 306 {"wname": "pinentry"}, 304 - {"wmclass": "ssh-askpass"}, 307 + {"wmclass": "ssh-askpass"} 305 308 ]) 306 309 auto_fullscreen = True 307 310 focus_on_window_activation = "smart"
M
config/qtile/kblayout.py
··· 1 +""" 2 +For working widget install `xkblayout` 3 +$ yay -S xkblayout 4 +""" 1 5 from libqtile.widget import base 2 6 import os 3 7 4 8 9 +KBCMD = """ 10 +case "$(xkblayout)" in 11 + "Eng") echo "us" ;; 12 + "Rus") echo "ru" ;; 13 + "Ukr") echo "ua" ;; 14 +esac 15 +""" 16 + 17 + 5 18 class KBLayout(base.InLoopPollText): 6 - """Widget for displaying the current keyboard layout 7 - It requires setxkbmap and xkblayout""" 19 + """Widget for displaying the current keyboard layout""" 8 20 orientations = base.ORIENTATION_HORIZONTAL 9 - defaults = [ 10 - ("background", "#000000", "Backbround color"), 11 - ("foreground", "#ffffff", "Foreground color"), 12 - ] 13 - 14 21 def __init__(self, **config): 15 22 base.InLoopPollText.__init__(self, **config) 16 23 17 - def get_keyboard(self): 18 - kb = os.popen("xkblayout").read().rstrip("\n") 19 - return kb 24 + def poll(self): 25 + kb = os.popen(KBCMD).read().rstrip('\n')\ 26 + .encode('utf-8').decode('utf-8') 20 27 21 - def poll(self): 22 - kb = os.popen(".config/qtile/kblay.sh").read().rstrip('\n').encode('utf-8').decode('utf-8') 23 28 return kb
M
config/qutebrowser/config.py
··· 11 11 c.downloads.position = "bottom" 12 12 13 13 # alias, binds, search 14 -c.aliases = {'q':'quit', 'w':'session-save', 'wq':'quit --save', 'e':'open'} 14 +c.aliases = {'q': 'quit', 'w': 'session-save', 'wq': 'quit --save', 'e': 'open'} 15 15 config.bind('<Ctrl-T>', 'open -t about:blank') 16 16 c.url.searchengines = { 17 17 'DEFAULT': 'https://www.google.com/search?q={}', 18 - 'ddg': 'https://duckduckgo.com/?q={}', 19 - 'arw': 'https://wiki.archlinux.org/?search={}', 20 - 'rdd': 'https://www.reddit.com/r/{}' 18 + 'ddgr': 'https://duckduckgo.com/?q={}', 19 + 'arw': 'https://wiki.archlinux.org/?search={}', 20 + 'rdd': 'https://www.reddit.com/r/{}' 21 21 } 22 22 # Enable cookie, image, js & user agents 23 23 config.set('content.cookies.accept', 'all', 'chrome-devtools://*')
D
config/tint2/tint2rc
··· 1 -#---- Generated by tint2conf 41e4 ---- 2 -# See https://gitlab.com/o9000/tint2/wikis/Configure for 3 -# full documentation of the configuration options. 4 -#------------------------------------- 5 -# Gradients 6 -#------------------------------------- 7 -# Backgrounds 8 -# Background 1: Active taskbar, Battery, Clock, Launcher, Systray, Tooltip 9 -rounded = 0 10 -border_width = 0 11 -border_sides = TBLR 12 -border_content_tint_weight = 0 13 -background_content_tint_weight = 0 14 -background_color = #262a2b 100 15 -border_color = #222222 0 16 -background_color_hover = #000000 80 17 -border_color_hover = #000000 0 18 -background_color_pressed = #000000 80 19 -border_color_pressed = #000000 0 20 - 21 -# Background 2: Active task 22 -rounded = 0 23 -border_width = 0 24 -border_sides = TBLR 25 -border_content_tint_weight = 0 26 -background_content_tint_weight = 0 27 -background_color = #008dcd 100 28 -border_color = #272727 0 29 -background_color_hover = #272727 70 30 -border_color_hover = #272727 0 31 -background_color_pressed = #272727 70 32 -border_color_pressed = #272727 0 33 - 34 -# Background 3: Urgent task 35 -rounded = 0 36 -border_width = 0 37 -border_sides = TBLR 38 -border_content_tint_weight = 0 39 -background_content_tint_weight = 0 40 -background_color = #ff8066 60 41 -border_color = #d98282 0 42 -background_color_hover = #d98282 60 43 -border_color_hover = #d98282 0 44 -background_color_pressed = #d98282 60 45 -border_color_pressed = #d98282 0 46 - 47 -# Background 4: Default task 48 -rounded = 0 49 -border_width = 0 50 -border_sides = TBLR 51 -border_content_tint_weight = 0 52 -background_content_tint_weight = 0 53 -background_color = #262a2b 100 54 -border_color = #242424 0 55 -background_color_hover = #242424 60 56 -border_color_hover = #242424 0 57 -background_color_pressed = #242424 60 58 -border_color_pressed = #242424 0 59 - 60 -# Background 5: Iconified task 61 -rounded = 0 62 -border_width = 0 63 -border_sides = TBLR 64 -border_content_tint_weight = 0 65 -background_content_tint_weight = 0 66 -background_color = #262a2b 60 67 -border_color = #252525 0 68 -background_color_hover = #252525 60 69 -border_color_hover = #252525 0 70 -background_color_pressed = #252525 60 71 -border_color_pressed = #252525 0 72 - 73 -#------------------------------------- 74 -# Panel 75 -panel_items = TSC 76 -panel_size = 100% 26 77 -panel_margin = 0 0 78 -panel_padding = 0 0 0 79 -panel_background_id = 0 80 -wm_menu = 1 81 -panel_dock = 0 82 -panel_pivot_struts = 0 83 -panel_position = bottom center horizontal 84 -panel_layer = top 85 -panel_monitor = all 86 -panel_shrink = 0 87 -autohide = 0 88 -autohide_show_timeout = 0.3 89 -autohide_hide_timeout = 1.5 90 -autohide_height = 1 91 -strut_policy = follow_size 92 -panel_window_name = tint2 93 -disable_transparency = 0 94 -mouse_effects = 0 95 -font_shadow = 0 96 -mouse_hover_icon_asb = 100 0 10 97 -mouse_pressed_icon_asb = 100 0 0 98 -scale_relative_to_dpi = 0 99 -scale_relative_to_screen_height = 0 100 - 101 -#------------------------------------- 102 -# Taskbar 103 -taskbar_mode = single_desktop 104 -taskbar_hide_if_empty = 0 105 -taskbar_padding = 0 0 0 106 -taskbar_background_id = 0 107 -taskbar_active_background_id = 1 108 -taskbar_name = 1 109 -taskbar_hide_inactive_tasks = 0 110 -taskbar_hide_different_monitor = 0 111 -taskbar_hide_different_desktop = 0 112 -taskbar_always_show_all_desktop_tasks = 0 113 -taskbar_name_padding = 6 7 114 -taskbar_name_background_id = 0 115 -taskbar_name_active_background_id = 0 116 -taskbar_name_font = Droid Sans Bold 8 117 -taskbar_name_font_color = #d1d1d1 100 118 -taskbar_name_active_font_color = #aaaaaa 100 119 -taskbar_distribute_size = 0 120 -taskbar_sort_order = none 121 -task_align = left 122 - 123 -#------------------------------------- 124 -# Task 125 -task_text = 1 126 -task_icon = 0 127 -task_centered = 1 128 -urgent_nb_of_blink = 20 129 -task_maximum_size = 200 0 130 -task_padding = 8 6 8 131 -task_font = Droid Sans Bold 8 132 -task_tooltip = 1 133 -task_thumbnail = 0 134 -task_thumbnail_size = 210 135 -task_font_color = #cccccc 100 136 -task_active_font_color = #ffffff 100 137 -task_urgent_font_color = #cccccc 100 138 -task_iconified_font_color = #cccccc 80 139 -task_icon_asb = 100 0 0 140 -task_active_icon_asb = 100 0 0 141 -task_urgent_icon_asb = 100 0 0 142 -task_iconified_icon_asb = 80 0 0 143 -task_background_id = 4 144 -task_active_background_id = 2 145 -task_urgent_background_id = 3 146 -task_iconified_background_id = 5 147 -mouse_left = toggle_iconify 148 -mouse_middle = close 149 -mouse_right = none 150 -mouse_scroll_up = none 151 -mouse_scroll_down = none 152 - 153 -#------------------------------------- 154 -# System tray (notification area) 155 -systray_padding = 8 0 12 156 -systray_background_id = 1 157 -systray_sort = right2left 158 -systray_icon_size = 18 159 -systray_icon_asb = 100 0 0 160 -systray_monitor = 1 161 -systray_name_filter = 162 - 163 -#------------------------------------- 164 -# Launcher 165 -launcher_padding = 8 0 16 166 -launcher_background_id = 1 167 -launcher_icon_background_id = 0 168 -launcher_icon_size = 16 169 -launcher_icon_asb = 100 0 0 170 -launcher_icon_theme_override = 0 171 -startup_notifications = 0 172 -launcher_tooltip = 0 173 - 174 -#------------------------------------- 175 -# Clock 176 -time1_format = %H:%M 177 -time2_format = %d.%m.%Y 178 -time1_font = Droid Sans Bold 8 179 -time1_timezone = Europe/Kiev 180 -time2_timezone = 181 -time2_font = Droid Sans 7 182 -clock_font_color = #d1d1d1 100 183 -clock_padding = 4 2 184 -clock_background_id = 1 185 -clock_tooltip = 186 -clock_tooltip_timezone = 187 -clock_lclick_command = 188 -clock_rclick_command = 189 -clock_mclick_command = 190 -clock_uwheel_command = 191 -clock_dwheel_command = 192 - 193 -#------------------------------------- 194 -# Battery 195 -battery_tooltip = 1 196 -battery_low_status = 20 197 -battery_low_cmd = notify-send "battery low" 198 -battery_full_cmd = 199 -bat1_font = Droid Sans Bold 8 200 -bat2_font = Droid Sans Bold 8 201 -battery_font_color = #d1d1d1 100 202 -bat1_format = 203 -bat2_format = 204 -battery_padding = 2 0 205 -battery_background_id = 1 206 -battery_hide = 96 207 -battery_lclick_command = 208 -battery_rclick_command = 209 -battery_mclick_command = 210 -battery_uwheel_command = 211 -battery_dwheel_command = 212 -ac_connected_cmd = 213 -ac_disconnected_cmd = 214 - 215 -#------------------------------------- 216 -# Tooltip 217 -tooltip_show_timeout = 1 218 -tooltip_hide_timeout = 0 219 -tooltip_padding = 6 6 220 -tooltip_background_id = 1 221 -tooltip_font_color = #d1d1d1 100 222 -tooltip_font = Droid Sans Bold 8 223 -
M
config/zathura/zathurarc
··· 1 -set font "JetBrains Mono Nerd Font 10" 2 -set default-fg "#DFDFDF" 3 -set default-bg "#262A2B" 1 +set font "JetBrains Mono Nerd Font 10" 2 +set default-fg "#DFDFDF" 3 +set default-bg "#262A2B" 4 4 5 -set statusbar-fg "#CED4DA" 6 -set statusbar-bg "#1F2324" 7 -set statusbar-h-padding 10 8 -set statusbar-v-padding 10 5 +set statusbar-fg "#CED4DA" 6 +set statusbar-bg "#1F2324" 7 +set statusbar-h-padding 10 8 +set statusbar-v-padding 10 9 9 10 -set inputbar-fg "#FFFFFF" 11 -set inputbar-bg "#1F2324" 10 +set inputbar-fg "#FFFFFF" 11 +set inputbar-bg "#1F2324" 12 12 13 -set completion-bg "#262A2B" 14 -set completion-fg "#FFFFFF" 15 -set completion-highlight-bg "#262A2B" 16 -set completion-highlight-fg "#51AFEF" 17 -set completion-group-bg "#262A2B" 18 -set completion-group-fg "#51AFEF" 13 +set completion-bg "#262A2B" 14 +set completion-fg "#FFFFFF" 15 +set completion-highlight-bg "#262A2B" 16 +set completion-highlight-fg "#51AFEF" 17 +set completion-group-bg "#262A2B" 18 +set completion-group-fg "#51AFEF"
D
conkyrc
··· 1 -conky.config = { 2 - background = false, 3 - cpu_avg_samples = 2, 4 - diskio_avg_samples = 10, 5 - double_buffer = true, 6 - if_up_strictness = 'address', 7 - net_avg_samples = 2, 8 - no_buffers = true, 9 - temperature_unit = 'celsius', 10 - text_buffer_size = 2048, 11 - update_interval = 2, 12 - imlib_cache_size = 0, 13 - alignment = 'top_right', 14 - gap_x = 40, 15 - gap_y = 60, 16 - minimum_height = 50, 17 - minimum_width = 200, 18 - maximum_width = 700, 19 - border_inner_margin = 10, 20 - border_outer_margin = 0, 21 - border_width = 0, 22 - default_bar_width = 280, 23 - default_bar_height = 2, 24 - default_gauge_height = 25, 25 - default_gauge_width =40, 26 - default_graph_height = 40, 27 - default_graph_width = 153, 28 - default_shade_color = '#000000', 29 - default_outline_color = '#828282', 30 - draw_borders = false, 31 - draw_graph_borders = true, 32 - draw_shades = false, 33 - draw_outline = false, 34 - stippled_borders = 0, 35 - extra_newline = false, 36 - format_human_readable = true, 37 - font = 'Jatbrains Mono', 38 - max_text_width = 0, 39 - max_user_text = 16384, 40 - override_utf8_locale = true, 41 - short_units = true, 42 - top_name_width = 21, 43 - top_name_verbose = false, 44 - uppercase = false, 45 - use_spacer = 'none', 46 - use_xft = true, 47 - xftalpha = 1, 48 - own_window = true, 49 - own_window_argb_value = 0, 50 - own_window_argb_visual = true, 51 - own_window_class = 'Conky', 52 - own_window_colour = '#000000', 53 - own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', 54 - own_window_transparent = yes, 55 - own_window_title = 'Conky', 56 - own_window_type = 'override', 57 - background = no, 58 - default_color = '#FFFFFF', 59 - color1 = '#FFFFFF', 60 - color2 = '#DFDFDF' 61 -}; 62 - 63 -conky.text = [[ 64 -${voffset 10}${font Jatbrains Mono:weight=Bold:size=14}${color1}Todo: ${font Jatbrains Mono:weight=Medium:size=10}${color2}<mod+alt+t>${font} 65 -${font Jatbrains Mono:weight=Medium:size=10}${exec cat -n "$HOME/.todo" | fmt -s -w 66}\ 66 -${color1} 67 -${font} 68 -]]
M
gitignore_global
··· 1 1 # IDE 2 2 .idea 3 -*~ 4 -~* 3 +.vscode 4 +**~ 5 5 6 6 # Logs and databases 7 7 *.log ··· 13 13 *.pyc 14 14 *.swp 15 15 .*.swp 16 -*.swo 16 +*.swp 17 17 __pycache__ 18 18 19 19 # Packages 20 20 *.7z 21 21 *.rar 22 -*.tar 22 +*.zip 23 +*.tar* 23 24 *.bz2 24 25 25 26 # Compiled siurce 26 27 *.so 28 +*.o 27 29 *.out 28 30 *.bin
D
taskrc
··· 1 -# Taskwarrior program configuration file. 2 - 3 -### Files ### 4 -data.location=~/.task 5 - 6 -### Color theme ### 7 -include /usr/share/doc/task/rc/solarized-dark-256.theme 8 - 9 -### Variables ### 10 -weekstart=monday 11 -search.case.sensitive=no 12 -active.indicator=↪ 13 -report.list.columns=id,project,priority,description,entry.age 14 -alias.burndown=burndown.daily 15 -default.command=ready limit:page
M
zshrc
··· 1 1 export ZSH="$HOME/.oh-my-zsh" 2 2 export PATH="$HOME/bin:$HOME/.local/bin:$PATH" 3 -#source ~/.env 4 3 source ~/.profile 5 4 6 5 ### Oh my zsh ### ··· 24 23 ### Variables ### 25 24 export EDITOR="nvim" 26 25 export VISUAL="nvim" 27 -export GOPATH="$HOME/.go" 26 +export GOPATH="$HOME/Go" 28 27 29 28 ### Function ### 30 29 function bgcolor { 31 30 convert -size 1x1 xc:$1 /tmp/bgc.png 32 31 feh --bg-tile /tmp/bgc.png 33 32 } 33 +function codi() { 34 + local syntax="${1:-python}" 35 + nvim -c "let g:startify_disable_at_vimenter = 1 |\ 36 + Codi $syntax" "$@" 37 +} 34 38 35 39 ### Aliases ### 36 40 alias cls="clear" 37 41 alias mkdir="mkdir -p" 38 -alias mkd="mkdir" 39 42 alias sl="ls" 40 43 alias cp="cp -r" 41 44 alias du="du -sh" ··· 46 49 47 50 # Program 48 51 alias vim="nvim" 52 +alias vi="nvim" 49 53 alias tmux="tmux -2" 50 54 alias ipython="ipython --no-banner" 51 -alias icat="kitty +kitten icat" 52 -alias ccat="sh -c cat" 53 -alias cat="bat" 54 -eval $(thefuck --alias) 55 55 56 56 # Exit 57 57 alias :q="exit"