Fix stuff
This commit is contained in:
@@ -317,7 +317,7 @@ Use =doom-modeline= as a bar... together with icons and nyan cat!
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Show me the time!
|
Show me the time!
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp :tangle no
|
||||||
(display-time-mode)
|
(display-time-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@@ -696,13 +696,12 @@ Auto matching pairs are reaaaaally nice.
|
|||||||
:straight t
|
:straight t
|
||||||
:general
|
:general
|
||||||
(vim-leader-def 'normal 'global
|
(vim-leader-def 'normal 'global
|
||||||
"gb" 'magit-branch
|
"gb" 'magit-blame
|
||||||
"gc" 'magit-checkout
|
"gc" 'magit-checkout
|
||||||
"gc" 'magit-commit
|
"gc" 'magit-commit
|
||||||
"gd" 'magit-diff
|
"gd" 'magit-diff
|
||||||
"gg" 'counsel-git-grep
|
"gg" 'counsel-git-grep
|
||||||
"gi" 'magit-gitignore-in-topdir
|
"gi" 'magit-gitignore-in-topdir
|
||||||
"gj" 'magit-blame
|
|
||||||
"gl" 'magit-log
|
"gl" 'magit-log
|
||||||
"gp" 'magit-push
|
"gp" 'magit-push
|
||||||
"gs" 'magit-status
|
"gs" 'magit-status
|
||||||
@@ -989,9 +988,9 @@ Who needs LaTeX when you can have the power of unicode?
|
|||||||
("\\bigo" ?𝒪)
|
("\\bigo" ?𝒪)
|
||||||
|
|
||||||
; Greek
|
; Greek
|
||||||
("\\Ga" ?α) ("\\GA" ?Α) ("\\a" ?α)
|
("\\Ga" ?α) ("\\GA" ?Α) ("\\alpha" ?α)
|
||||||
("\\Gb" ?β) ("\\GB" ?Β) ("\\b" ?β)
|
("\\Gb" ?β) ("\\GB" ?Β) ("\\beta" ?β)
|
||||||
("\\Gg" ?γ) ("\\GG" ?Γ) ("\\g" ?γ) ("\\Gamma" ?Γ)
|
("\\Gg" ?γ) ("\\GG" ?Γ) ("\\gamma" ?γ) ("\\Gamma" ?Γ)
|
||||||
("\\Gd" ?δ) ("\\GD" ?Δ) ("\\delta" ?δ) ("\\Delta" ?Δ)
|
("\\Gd" ?δ) ("\\GD" ?Δ) ("\\delta" ?δ) ("\\Delta" ?Δ)
|
||||||
("\\Ge" ?ε) ("\\GE" ?Ε) ("\\epsilon" ?ε)
|
("\\Ge" ?ε) ("\\GE" ?Ε) ("\\epsilon" ?ε)
|
||||||
("\\Gz" ?ζ) ("\\GZ" ?Ζ)
|
("\\Gz" ?ζ) ("\\GZ" ?Ζ)
|
||||||
@@ -999,7 +998,7 @@ Who needs LaTeX when you can have the power of unicode?
|
|||||||
("\\Gth" ?θ) ("\\GTH" ?Θ) ("\\theta" ?θ) ("\\Theta" ?Θ)
|
("\\Gth" ?θ) ("\\GTH" ?Θ) ("\\theta" ?θ) ("\\Theta" ?Θ)
|
||||||
("\\Gi" ?ι) ("\\GI" ?Ι) ("\\iota" ?ι)
|
("\\Gi" ?ι) ("\\GI" ?Ι) ("\\iota" ?ι)
|
||||||
("\\Gk" ?κ) ("\\GK" ?Κ)
|
("\\Gk" ?κ) ("\\GK" ?Κ)
|
||||||
("\\Gl" ?λ) ("\\GL" ?Λ) ("\\lam" ?λ)
|
("\\Gl" ?λ) ("\\GL" ?Λ) ("\\lambda" ?λ)
|
||||||
("\\Gm" ?μ) ("\\GM" Μ) ("\\mu" ?μ)
|
("\\Gm" ?μ) ("\\GM" Μ) ("\\mu" ?μ)
|
||||||
("\\Gx" ?ξ) ("\\GX" ?Ξ) ("\\xi" ?ξ) ("\\Xi" ?Ξ)
|
("\\Gx" ?ξ) ("\\GX" ?Ξ) ("\\xi" ?ξ) ("\\Xi" ?Ξ)
|
||||||
("\\Gp" ?π) ("\\GP" ?Π) ("\\pi" ?π) ("\\Pi" ?Π)
|
("\\Gp" ?π) ("\\GP" ?Π) ("\\pi" ?π) ("\\Pi" ?Π)
|
||||||
|
|||||||
@@ -16,22 +16,23 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
wifi=$(iwgetid -r)
|
wifi=$(iwgetid -r)
|
||||||
if [ -z $wifi ]; then
|
if [ -z "$wifi" ]; then
|
||||||
wifi='no wifi'
|
wifi='no wifi'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
powermode=$(cat /sys/firmware/acpi/platform_profile)
|
powermode=$(cat /sys/firmware/acpi/platform_profile)
|
||||||
|
|
||||||
cpu_util=$(ps -A -o pcpu | tail -n+2 | paste -sd+ | bc)
|
# cpu_util=$(ps -A -o pcpu | tail -n+2 | paste -sd+ | bc)
|
||||||
|
cpu_util=$(cat /proc/loadavg | awk '{print $1, $2, $3}')
|
||||||
|
|
||||||
if [ $(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}') = 'no' ]; then
|
if [ $(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}') = 'no' ]; then
|
||||||
audio=" $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{print $5}')"
|
audio=" $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{print $5}')"
|
||||||
else
|
else
|
||||||
audio="婢 muted"
|
audio="婢 muted"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
light=$(light -G | awk '{print int($1+0.5)'})"%"
|
light=$(light -G | awk '{print int($1+0.5)'})"%"
|
||||||
|
|
||||||
sep=" "
|
sep=" "
|
||||||
echo "${sep} ${light} ${sep} ${audio} ${sep} ${wifi} ${sep} ${powermode}: ${cpu_util} ${sep} ${conservation} ${sep} ${battery}% ${bat_rem} ${sep} ${date}"
|
echo "${sep} ${light} ${sep} ${audio} ${sep} ${wifi} ${sep} ${powermode}: ${cpu_util} ${sep} ${conservation} ${sep} ${battery}% ${bat_rem} ${sep} ${date}"
|
||||||
|
|
||||||
|
|||||||
@@ -152,6 +152,10 @@ input type:keyboard {
|
|||||||
bindsym $mod+Shift+9 move container to workspace number $ws9
|
bindsym $mod+Shift+9 move container to workspace number $ws9
|
||||||
bindsym $mod+Shift+0 move container to workspace number $ws10
|
bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||||
|
|
||||||
|
# Move between displays
|
||||||
|
bindsym $mod+Control+$left move workspace to output left
|
||||||
|
bindsym $mod+Control+$right move workspace to output right
|
||||||
|
|
||||||
# Layout stuff:
|
# Layout stuff:
|
||||||
workspace_layout stacking
|
workspace_layout stacking
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user