Compare commits

...

5 Commits

4 changed files with 37 additions and 21 deletions

View File

@ -71,20 +71,20 @@ android-studio() {
#exit 0; #exit 0;
} }
ansible() { # ansible() {
local args=$@ # local args=$@
local cur_dir=$(pwd) # local cur_dir=$(pwd)
local targetmount=$(basename $cur_dir) # local targetmount=$(basename $cur_dir)
docker run -it \ # docker run -it \
--name ansible_$targetmount \ # --name ansible_$targetmount \
-v ${cur_dir}:/src/$targetmount \ # -v ${cur_dir}:/src/$targetmount \
-w /src/$targetmount \ # -w /src/$targetmount \
-v $HOME/.ssh/:/tmp/.ssh:ro \ # -v $HOME/.ssh/:/tmp/.ssh:ro \
-v /etc/hosts:/etc/hosts:ro \ # -v /etc/hosts:/etc/hosts:ro \
${DOCKER_REPO_PREFIX}/ansible:alpine \ # ${DOCKER_REPO_PREFIX}/ansible:alpine \
bash -c "$args" # bash -c "$args"
} # }
ant() { ant() {
local args=$@ local args=$@

View File

@ -192,16 +192,16 @@ mode "resize" {
# Pressing right will grow the windows width. # Pressing right will grow the windows width.
# Pressing up will shrink the windows height. # Pressing up will shrink the windows height.
# Pressing down will grow the windows height. # Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt bindsym h resize shrink width 10 px or 10 ppt
bindsym i resize grow height 10 px or 10 ppt bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt bindsym l resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys # same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt bindsym Left resize shrink width 5 px
bindsym Down resize grow height 10 px or 10 ppt bindsym Down resize grow height 5 px
bindsym Up resize shrink height 10 px or 10 ppt bindsym Up resize shrink height 5 px
bindsym Right resize grow width 10 px or 10 ppt bindsym Right resize grow width 5 px
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"

View File

@ -33,6 +33,17 @@ pomodoro_break = ""
# alert_absolute = true # alert_absolute = true
# format = "{icon}/{available}" # format = "{icon}/{available}"
[[block]]
block = "disk_space"
path = "/media/store"
info_type = "available"
unit = "GB"
interval = 20
warning = 20.0
alert = 10.0
alert_absolute = true
format = "{icon}/store {available}"
[[block]] [[block]]
block = "disk_space" block = "disk_space"
path = "/home" path = "/home"

View File

@ -32,8 +32,7 @@ This function should only modify configuration layer settings."
;; List of configuration layers to load. ;; List of configuration layers to load.
dotspacemacs-configuration-layers dotspacemacs-configuration-layers
'(javascript '(
systemd
;; ---------------------------------------------------------------- ;; ----------------------------------------------------------------
;; Example of useful layers you may want to use right away. ;; Example of useful layers you may want to use right away.
;; Uncomment some layer names and press `SPC f e R' (Vim style) or ;; Uncomment some layer names and press `SPC f e R' (Vim style) or
@ -49,26 +48,32 @@ This function should only modify configuration layer settings."
graphviz graphviz
helm helm
html html
javascript
latex latex
;; https://github.com/emacs-lsp/lsp-mode
(lsp :variables (lsp :variables
lsp-rust-server lsp-rust-server
'rust-analyzer) 'rust-analyzer)
markdown markdown
;; https://www.spacemacs.org/layers/+emacs/org/README.html
(org :variables (org :variables
org-enable-roam-support t org-enable-roam-support t
org-enable-roam-ui t) org-enable-roam-ui t)
plantuml plantuml
(python :variables python-backend 'lsp python-lsp-server 'mspyls) (python :variables python-backend 'lsp python-lsp-server 'mspyls)
;; https://develop.spacemacs.org/layers/+lang/rust/README.html
(rust :variables rust-backend 'lsp) (rust :variables rust-backend 'lsp)
shell shell
;; shell-scripts ;; shell-scripts
;; spell-checking ;; spell-checking
syntax-checking syntax-checking
systemd
(tree-sitter :variables (tree-sitter :variables
spacemacs-tree-sitter-hl-black-list '(js-mode js2-mode) spacemacs-tree-sitter-hl-black-list '(js-mode js2-mode)
tree-sitter-syntax-highlight-enable t tree-sitter-syntax-highlight-enable t
tree-sitter-fold-enable t tree-sitter-fold-enable t
tree-sitter-fold-indicators-enable t) tree-sitter-fold-indicators-enable t)
(typescript-mode (typescript-backend . lsp))
version-control version-control
yaml yaml
;; (shell :variables ;; (shell :variables