Yet another update

x1carbon
Jure Podgoršek 2018-02-01 01:19:49 +01:00
parent 976289661e
commit 7caf6239bf
4 changed files with 58 additions and 26 deletions

View File

@ -25,3 +25,4 @@ no-dock-shadow = true;
# Flicker fix
unredir-if-possible = false;
unredir-if-possible-delay = 1000;

View File

@ -90,7 +90,7 @@ bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
bindsym $mod+Shift+a focus parent
# focus the child container
#bindsym $mod+d focus child
@ -98,13 +98,13 @@ bindsym $mod+a focus parent
# name workspaces
set $w1 1:λ
set $w2 2:
set $w3 3:
set $w3 3:
set $w4 4:
set $w5 5:
set $w5 5:
set $w6 6:
set $w7 7:✭❀ヅ❤♫
set $w8 8:☭
set $w9 9:
set $w9 9:
set $w0 0:∞
# switch to workspace
@ -141,14 +141,16 @@ bindsym Mod1+Shift+j move workspace to output left
# workspace bindings
assign [class="Firefox"] $w2
assign [class="Chromium"] $w2
assign [class="Gnote"] $w3
assign [class="Gnote"] $w9
assign [class="Slack"] $w4
assign [class="Riot"] $w4
assign [class="Lollypop"] $w5
assign [class="Lollypop"] $w3
assign [class="Transmission"] $w3
assign [class="Nicotine+"] $w3
# Program startup
exec firefox &
exec chromium &
exec lollypop &
exec riot &
# reload the configuration file
bindsym $mod+Shift+c reload
@ -198,21 +200,24 @@ bindsym $mod+shift+b exec i3lock-wrapper
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
position top
#status_command i3status
status_command i3blocks
colors {
background #232323
statusline #DCDCDC
position top
#status_command i3status
status_command i3blocks
colors {
background #232323
statusline #DCDCDC
#focused_workspace #007c26 #005119 #fdf6e3
focused_workspace #555555 #555555 #ffffff
inactive_workspace #232323 #232323 #888888
}
#font pango:Fira Mono, Icons 10
font pango:FontAwesome Regular 11, Iosevka Medium 11
#font pango:FontAwesome Regular 11
strip_workspace_numbers yes
#focused_workspace #007c26 #005119 #fdf6e3
focused_workspace #555555 #555555 #ffffff
inactive_workspace #232323 #232323 #888888
}
#font pango:Fira Mono, Icons 10
font pango:FontAwesome Regular 11, Iosevka Medium 11
#font pango:FontAwesome Regular 11
strip_workspace_numbers yes
tray_output eDP1
height 44
tray_padding 2
}
# Colors
@ -259,7 +264,8 @@ gaps inner 13
gaps outer 0
smart_gaps on
smart_borders on
for_window [class="^.*"] border pixel 1 # No titles
# No titles
for_window [class="^.*"] border pixel 1
#########################
# Various app shortcuts #
@ -287,6 +293,7 @@ bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+Ctrl+q exec "xterm -e xkill"
# start dmenu (a program launcher)
#bindsym $mod+d exec dmenu_run
@ -303,7 +310,7 @@ bindsym XF86MonBrightnessDown exec "xbacklight -dec 10 && $brt_sig_cmd"
bindsym Mod1+Shift+q exec nautilus
# Emacs!
bindsym $mod+Shift+a exec emacs
bindsym $mod+a exec emacs
# Radio študent
bindsym Mod1+Shift+r exec lollypop /home/g1smo/Music/radiostudent.m3u

View File

@ -469,7 +469,28 @@ you should place your code here."
;; js2: make ; optional (react)
(setq js2-strict-missing-semi-warning nil)
;; js2 default indent level
;; js default indent level
(setq js-indent-level 4)
(setq js2-indent-level 4)
)
(defun dotspacemacs/emacs-custom-settings ()
"Emacs custom settings.
This is an auto-generated function, do not modify its content directly, use
Emacs customize menu instead.
This function is called at the very end of Spacemacs initialization."
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
(quote
(geiser magit ghub yasnippet which-key zenburn-theme yasnippet-snippets yapfify ws-butler winum wgrep web-mode web-beautify volatile-highlights vi-tilde-fringe uuidgen use-package toc-org tao-theme tagedit symon suscolors-theme sublimity string-inflection spaceline-all-the-icons solarized-theme smex smeargle slim-mode scss-mode sayid sass-mode rudel rjsx-mode restart-emacs request rainbow-delimiters pyvenv pytest pyenv-mode py-isort pug-mode popwin pippel pip-requirements phpunit phpcbf php-extras php-auto-yasnippets persp-mode pcre2el password-generator paradox overseer orgit org-projectile org-present org-pomodoro org-mime org-download org-bullets org-brain open-junk-file neotree nameless move-text mmm-mode markdown-toc magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode linum-relative link-hint less-css-mode json-mode js2-refactor js-doc ivy-purpose ivy-hydra indent-guide importmagic impatient-mode hy-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation helm-make gruvbox-theme google-translate golden-ratio gnuplot gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gh-md fuzzy font-lock+ flx-ido floobits fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-org evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-cleverparens evil-args evil-anzu emmet-mode elisp-slime-nav editorconfig dumb-jump drupal-mode diminish diff-hl define-word dakrone-light-theme cython-mode counsel-projectile counsel-css company-web company-tern company-statistics company-php company-auctex company-anaconda column-enforce-mode coffee-mode clojure-snippets clojure-cheatsheet clj-refactor clean-aindent-mode cider-eval-sexp-fu centered-cursor-mode browse-at-remote auto-yasnippet auto-highlight-symbol auto-compile auctex-latexmk all-the-icons-dired aggressive-indent adaptive-wrap ace-window ace-link ac-ispell))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
)

5
.zshrc
View File

@ -46,12 +46,15 @@ alias nvidiaoff="sudo modprobe -r nvidia_drm nvidia_modeset nvidia-uvm nvidia; s
#alias nvidiaoff="sudo tee /sys/kernel/debug/vgaswitcheroo/switch <<<OFF"
alias sudo="sudo "
alias grep="grep --color=auto"
# Remove not-required-anymore packages
alias paclean="sudo pacman -R \$(pacman -Qdt | awk '{print \$1}')"
# List packages by size
alias pacsize="expac -H M '%m\t%n' | sort -h"
alias ffon="sudo cp /etc/resolv.conf.ff /etc/resolv.conf"
alias gitclean="git fetch -p && for branch in \$(git branch -vv | grep ': gone]' | gawk '{print \$1}'); do git branch -D \$branch; echo 'deleted \$branch'; done"
#alias llc="sshfs 10.0.0.203:/Users/g1smo/Projects/LickList ~/ll -oauto_cache,reconnect,no_readahead -o Ciphers=arcfour -o Compression=no"
alias llc="sudo mount -t nfs -o noacl,nocto,rsize=32768,wsize=32768,noatime,nodiratime 10.0.0.203:/Users/g1smo/Projects/LickList ~/ll"
alias llcc="sudo mount -t nfs -o noacl,nocto,rsize=32768,wsize=32768,noatime,nodiratime 192.168.8.102:/Users/g1smo/Projects/LickList ~/ll"
alias llcc="sudo mount -t nfs -o noacl,nocto,rsize=32768,wsize=32768,noatime,nodiratime 192.168.8.103:/Users/g1smo/Projects/LickList ~/ll"
alias lld="sudo umount -l ~/ll"
# Firefox scaling!