15 files changed,
152 insertions(+),
140 deletions(-)
Author:
Smirnov Olexandr
ss2316544@gmail.com
Committed at:
2021-01-02 21:48:35 +0200
Parent:
8822c65
jump to
M
bin/catfetch
··· 11 11 # Shell 12 12 shell=$(basename $SHELL) 13 13 14 -# Pakages 14 +# Packages 15 15 manager=$(which apt pacman yay apk xbps-query 2>/dev/null) 16 16 manager=${manager##*/} 17 17 case "$manager" in ··· 42 42 echo -e " /\_/\ ${blue}${bold} SHELL ${reset}${shell}" 43 43 echo -e " (=^.^=) ${blue}${bold}KERNEL ${reset}${kernel}" 44 44 echo -e " (\") (\")_/ ${blue}${bold} PKG ${reset}${packages}" 45 -echo -e " ${black}卑${red}卑${green}卑${yellow}卑${blue}卑${magenta}卑${cyan}卑${reset} " 45 +echo -e " ${black} ${red} ${green} ${yellow} ${blue} ${magenta} ${cyan} ${reset} " 46 46 exit 0
M
config/i3/config
··· 25 25 exec --no-startup-id exec nitrogen --restore 26 26 exec --no-startup-id exec setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" 27 27 exec --no-startup-id exec org.telegram.desktop 28 -exec --no-startup-id exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 29 -exec_always --no-startup-id exec xautolock -time 3 -locker "betterlockscreen --off 180 -t \"Computer is lockerd\" -l" 28 +exec --no-startup-id exec lxsession 29 +exec --no-startup-id exec xautolock -time 3 -locker "betterlockscreen --off 180 -t \"Computer is lockerd\" -l" 30 30 exec_always --no-startup-id exec $HOME/.config/i3/bar.sh 31 +exec --no-startup-id exec discord 31 32 #exec --no-startup-id exec conky 32 33 #exec --no-startup-id exec redshift-gtk 33 -#exec --no-startup-id exec discord 34 34 35 35 ############## WM keys ############ 36 36 ··· 60 60 ############## User key ########### 61 61 62 62 # Menus 63 -bindsym $mod+Shift+apostrophe exec "rofi -show run" 64 -bindsym $mod+Shift+Return exec "rofi -show drun" 65 -bindsym $mod+Escape exec ~/.script/dmenu/dmenu-power.sh -h 24 66 -bindsym $mod+Control+u exec ~/.script/dmenu/dmenu-config-edit.sh -h 24 67 -bindsym $mod+Control+i exec passmenu -h 24 -p Passwords 63 +bindsym $mod+Shift+apostrophe exec "rofi -location 6 -show run" 64 +bindsym $mod+Shift+Return exec "rofi -location 6 -show drun" 65 +bindsym $mod+Escape exec ~/.script/dmenu/dmenu-power.sh -b -h 24 66 +bindsym $mod+Control+u exec ~/.script/dmenu/dmenu-config-edit.sh -b -h 24 67 +bindsym $mod+Control+i exec passmenu -b -h 24 -p Passwords 68 68 69 69 # Apps 70 70 bindsym $mod+Return exec $terminal ··· 84 84 bindsym $mod+Shift+minus exec "pactl set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo toggle" 85 85 86 86 ######### Window preferens ######## 87 -assign [class="(?i)firefox|qutebrowser"] $ws2 88 -assign [class="(?i)telegram|discord|viber"] $ws6 87 +assign [class="(?i)telegram|discord"] $ws6 88 +for_window [class="(?i)telegram|discord"] layout tabbed 89 89 #focus_on_window_activation focus 90 90 91 -########## Change focus ########## 91 +########## Change focus ########### 92 92 bindsym $mod+h focus left 93 93 bindsym $mod+Left focus left 94 94 bindsym $mod+j focus down ··· 109 109 bindsym $mod+Shift+Right move right 110 110 111 111 ########## Resize window ########## 112 -bindsym $mod+Control+h resize shrink width 20 px or 20 ppt 113 -bindsym $mod+Control+Left resize shrink width 20 px or 20 ppt 114 -bindsym $mod+Control+j resize grow height 20 px or 20 ppt 115 -bindsym $mod+Control+Down resize grow height 20 px or 20 ppt 116 -bindsym $mod+Control+k resize shrink height 20 px or 20 ppt 117 -bindsym $mod+Control+Up resize shrink height 20 px or 20 ppt 118 -bindsym $mod+Control+l resize grow width 20 px or 20 ppt 119 -bindsym $mod+Control+Right resize grow width 20 px or 20 ppt 112 +bindsym $mod+Control+h resize shrink width 5 px or 5 ppt 113 +bindsym $mod+Control+Left resize shrink width 5 px or 5 ppt 114 +bindsym $mod+Control+j resize grow height 5 px or 5 ppt 115 +bindsym $mod+Control+Down resize grow height 5 px or 5 ppt 116 +bindsym $mod+Control+k resize shrink height 5 px or 5 ppt 117 +bindsym $mod+Control+Up resize shrink height 5 px or 5 ppt 118 +bindsym $mod+Control+l resize grow width 5 px or 5 ppt 119 +bindsym $mod+Control+Right resize grow width 5 px or 5 ppt 120 120 121 121 ############ Workspaces ########### 122 122 set $ws1 "1"
M
config/picom.conf
··· 9 9 shadow-exclude = [ 10 10 "override_redirect", 11 11 "class_g = 'Firefox' && argb", 12 - "class_g = 'Polybar'" 12 + #"class_g = 'Polybar'" 13 13 ]; 14 14 15 15 ############ Fading ########### ··· 27 27 no-fading-openclose = true 28 28 29 29 ##### Background-Blurring ##### 30 -blur-method = "dual_kawase"; 31 -blur-strength = 5; 32 -blur-kern = "3x3box"; 33 -blur-background-exclude = []; 30 +#blur-method = "dual_kawase"; 31 +#blur-strength = 5; 32 +#blur-kern = "3x3box"; 33 +#blur-background-exclude = []; 34 34 35 35 36 36 ####### General Settings ######
M
config/polybar/config
··· 11 11 [bar/i3bar] 12 12 width = 100% 13 13 height = 24 14 +bottom = true 14 15 fixed-center = true 15 16 wm-restack = i3 16 17 background = ${colors.background} ··· 20 21 font-0 = Iosevka Nerd Font:style=Medium:size=8;3 21 22 font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5 22 23 font-2 = Weather Icons:size=7;2 23 -modules-left = i3 pacman-up 24 +modules-left = i3 menu pacman-up window-name 24 25 modules-right = keyboard pulseaudio backlight wifi-signal time date 25 26 tray-position = right 26 27 ··· 104 105 exec = ~/.config/polybar/scripts/updates-pacman-aur.sh 105 106 interval = 60 106 107 108 +[module/window-name] 109 +type = internal/xwindow 110 +label-maxlen = 100 111 + 107 112 [module/keyboard] 108 113 type = internal/xkeyboard 109 114 format-prefix = "" ··· 111 116 blacklist-0 = num lock 112 117 blacklist-1 = scroll lock 113 118 blacklist-2= caps lock 119 + 120 +[module/menu] 121 +type = custom/menu 122 +format = <label-toggle> <menu> 123 +format-padding = 1 124 +format-spacing = 2 125 +label-open = 126 +label-close = 127 +menu-0-0 = 128 +menu-0-0-exec = thunar 129 +menu-0-1 = 130 +menu-0-1-exec = firefox 131 +menu-0-2 = 132 +menu-0-2-exec = alacritty 133 +menu-0-3 = 134 +menu-0-3-exec = emacs 114 135 115 136 [module/date] 116 137 type = internal/date
M
config/qtile/config.py
··· 44 44 lazy.spawn(filemanager), 45 45 desc="Launch filemanager" 46 46 ), 47 - Key([mod, "shift"], "f", 48 - lazy.spawn("dmenufm"), 49 - desc="Launch dmenu filemanager" 50 - ), 51 - Key([mod, alt], "t", 52 - lazy.spawn(f"{terminal} -e nvim /home/{user}/.todo"), 53 - desc="Open ~/.todo file in nvim" 54 - ), 55 47 56 48 # Window control 57 49 Key([mod], "q", ··· 137 129 138 130 # Menus(dmenu or/and rofi) 139 131 Key([mod, "shift"], "Return", 140 - lazy.spawn("rofi -show drun"), 132 + lazy.spawn("rofi -location 2 -show drun"), 141 133 desc="(Rofi) Program launcher" 142 134 ), 143 135 Key([mod, "shift"], "apostrophe", 144 - lazy.spawn("rofi -show run"), 136 + lazy.spawn("rofi -location 2 -show run"), 145 137 desc="(Rofi) Program launcher" 146 138 ), 147 139 Key([mod],"Escape",
M
doom.d/config.el
··· 4 4 (setq doom-theme 'doom-one) 5 5 (setq org-directory "~/org/") 6 6 (setq display-line-numbers-type t) 7 + 8 + 9 +(defun gk-markdown-preview-buffer () 10 + (interactive) 11 + (let* ((buf-this (buffer-name (current-buffer))) 12 + (buf-html (get-buffer-create 13 + (format "*gk-md-html (%s)*" buf-this)))) 14 + (markdown-other-window (buffer-name buf-html)) 15 + (shr-render-buffer buf-html) 16 + (eww-mode) 17 + (kill-buffer buf-html)))
M
doom.d/custom.el
··· 1 1 (custom-set-variables 2 - '(package-selected-packages '(zoutline))) 3 -(custom-set-faces) 2 + ;; custom-set-variables was added by Custom. 3 + ;; If you edit it by hand, you could mess it up, so be careful. 4 + ;; Your init file should contain only one such instance. 5 + ;; If there is more than one, they won't work right. 6 + '(package-selected-packages '(markdown-mode zoutline))) 7 +(custom-set-faces 8 + ;; custom-set-faces was added by Custom. 9 + ;; If you edit it by hand, you could mess it up, so be careful. 10 + ;; Your init file should contain only one such instance. 11 + ;; If there is more than one, they won't work right. 12 + )
M
doom.d/init.el
··· 23 23 ;;minimap ; show a map of the code on the side 24 24 modeline ; snazzy, Atom-inspired modeline, plus API 25 25 ;;nav-flash ; blink cursor line after big motions 26 - ;;neotree ; a project drawer, like NERDTree for vim 26 + neotree ; a project drawer, like NERDTree for vim 27 27 ophints ; highlight the region an operation acts on 28 28 (popup +defaults) ; tame sudden yet inevitable temporary windows 29 29 tabs ; a tab bar for Emacs 30 - treemacs ; a project drawer, like neotree but cooler 30 + ;;treemacs ; a project drawer, like neotree but cooler 31 31 unicode ; extended unicode support for various languages 32 - vc-gutter ; vcs diff in the fringe 33 - vi-tilde-fringe ; fringe tildes to mark beyond EOB 32 + ;;vc-gutter ; vcs diff in the fringe 33 + ;;vi-tilde-fringe ; fringe tildes to mark beyond EOB 34 34 ;;window-select ; visually switch windows 35 - workspaces ; tab emulation, persistence & separate workspaces 35 + ;;workspaces ; tab emulation, persistence & separate workspaces 36 36 ;;zen ; distraction-free coding or writing 37 37 38 38 :editor ··· 51 51 52 52 :emacs 53 53 dired ; making dired pretty [functional] 54 - electric ; smarter, keyword-based electric-indent 54 + ;;electric ; smarter, keyword-based electric-indent 55 55 ;;ibuffer ; interactive buffer management 56 56 undo ; persistent, smarter undo for your inevitable mistakes 57 57 vc ; version-control and Emacs, sitting in a tree ··· 64 64 65 65 :checkers 66 66 syntax ; tasing you for every semicolon you forget 67 - ;;spell ; tasing you for misspelling mispelling 67 + spell ; tasing you for misspelling mispelling 68 68 ;;grammar ; tasing grammar mistake every you make 69 69 70 70 :tools ··· 91 91 92 92 :os 93 93 (:if IS-MAC macos) ; improve compatibility with macOS 94 - tty ; improve the terminal Emacs experience 94 + ;;tty ; improve the terminal Emacs experience 95 95 96 96 :lang 97 97 ;;agda ; types of types of types of types... ··· 150 150 ;;swift ; who asked for emoji variables? 151 151 ;;terra ; Earth and Moon in alignment for performance. 152 152 ;;web ; the tubes 153 - yaml ; JSON, but readable 153 + ;;yaml ; JSON, but readable 154 154 155 155 :email 156 156 ;;(mu4e +gmail)
M
zshrc
··· 42 42 alias df="df -h" 43 43 alias lns="ln -s" 44 44 alias uln="unlink" 45 +alias rf="rm -rf" 45 46 46 47 # Program 47 48 alias vim="nvim" ··· 69 70 alias doomupgrade="$HOME/.emacs.d/bin/doom upgrade" 70 71 alias doomdoctor="$HOME/.emacs.d/bin/doom doctor" 71 72 alias doom="$HOME/.emacs.d/bin/doom" 73 + 74 +eval $(thefuck --alias)