Compare commits

...

6 Commits

Author SHA1 Message Date
21913203ff
xcompose: modify emoji 2023-06-09 18:56:34 -04:00
a18e14e937
nvim: delete Ack 2023-06-09 12:09:21 -04:00
251d4c3cf4
.xinitrc: change dwm status bar info 2023-06-09 12:08:17 -04:00
cd01465a43
programs: add xorg-xsetroot 2023-06-09 12:07:42 -04:00
6326d12171
programs: add sxiv 2023-06-03 21:48:43 -04:00
1d12090ed5
picom: add animations
based on FT-Labs picom
2023-06-03 12:08:40 -04:00
6 changed files with 37 additions and 17 deletions

View File

@ -5,6 +5,7 @@ xkblayout-state
xorg-setxkbmap
xorg-xrandr
xorg-xset
xorg-xsetroot
xss-lock
qutebrowser
picom
@ -38,3 +39,4 @@ xsel
xwallpaper
xss-lock
ripgrep
sxiv

View File

@ -15,16 +15,6 @@ set foldmethod=expr
set foldexpr=nvim_treesitter#foldexpr()
"autocmd BufEnter * normal zR
" project-wide searching
Plug 'mileszs/ack.vim'
" close quickfix list after pressing enter
let g:ack_autoclose = 1
" Ack! does not jump to first result
nnoremap <Leader>/ :Ack!<Space>
" use ripgrep
let g:ackprg = 'rg --vimgrep --smart-case'
" debugger interface atop many many abstractions
" (works on a lot of languages though!)
Plug 'puremourning/vimspector'

View File

@ -1,4 +1,26 @@
backend = "glx"
backend = "glx";
# animations
# works with https://github.com/FT-Labs/picom
# if your picom doesn't support it it won't do anything
animations = true;
animation-stiffness-in-tag = 125;
animation-stiffness-tag-change = 90.0;
animation-window-mass = 0.4;
animation-dampening = 15;
animation-clamping = true;
animation-for-open-window = "slide-up";
animation-for-unmap-window = "slide-up";
animation-for-transient-window = "slide-up";
animation-for-prev-tag = "slide-up";
enable-fading-prev-tag = true;
animation-for-next-tag = "slide-in-center";
enable-fading-next-tag = true;
# enable vsync
vsync = true;
# shadow
shadow = true;
@ -13,4 +35,4 @@ fade-out-step = 0.05;
fade-delta = 5;
# corner
corner-radius = 8
corner-radius = 8;

View File

@ -11,7 +11,8 @@
<Multi_key> <Escape> <r> <e> <l> <i> <e> <v> : "😌"
<Multi_key> <Escape> <s> <k> <u> <l> : "💀"
<Multi_key> <Escape> <e> <y> <e> <s> : "👀"
<Multi_key> <Escape> <e> <y> <e> : "👁️"
<Multi_key> <Escape> <e> <y> <e> <i> : "👁️"
<Multi_key> <Escape> <l> <i> <p> <s> : "👄"
<Multi_key> <Escape> <t> <h> <i> <n> <k> : "🤔"
<Multi_key> <Escape> <w> <a> <v> <e> : "👋"
<Multi_key> <Escape> <s> <h> <r> <u> <g> : "¯\\\\\\_(ツ)\\_/¯"

View File

@ -14,7 +14,8 @@ emoji = r"""
😌 reliev
💀 skul
👀 eyes
👁 eye
👁 eyei
👄 lips
🤔 think
👋 wave
¯\\\\\\_()\\_/¯ shrug

View File

@ -40,11 +40,15 @@ export XCOMPOSEFILE="$XDG_CONFIG_HOME"/xcompose/main
while true; do
DATE=$(date +'%H:%M:%S %a %b %d')
TEMP="$(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000))C"
#TEMP="$(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000))C"
BAT="$(acpi -b | head -n 1 | awk -F'[,:]' '{print $3}' | tr -d '[:space:]')"
if command -v xkblayout-state print &> /dev/null; then
KEY="$(xkblayout-state print '%s')"
else
KEY="??"
fi
xsetroot -name " $DATE // $TEMP, $BAT // $KEY"
xsetroot -name " $DATE // $BAT // $KEY"
sleep 1
done &