Commit Graph

246 Commits

Author SHA1 Message Date
David JULIEN
121d454e19
Merge branch 'dev' into gentoo
cleanup mpd config
set custom lyrics path for ncmpcpp
add alias to upgrade pip
only notify low battery on BAT0
2021-09-23 23:32:58 +02:00
David JULIEN
e8d6a02c00 fix: only notify low baterry when on BAT0 2021-09-23 23:32:27 +02:00
David JULIEN
b52234755e feat: show $SHELL version 2021-09-23 23:27:19 +02:00
David JULIEN
a6faec308b feat: display package manager 2021-09-19 12:38:58 +02:00
David JULIEN
39fe2c3a69
Merge branch 'dev' into gentoo
tweak statusbar:
        sb-battery displays slots
        sb-music display song artist, not album artist
        sb-internet display ssid, rather than wifi strength
2021-09-19 12:37:11 +02:00
David JULIEN
3cef4855a4 feat: update battery actions
notify when total of batteries is > 40
display battery slots
2021-09-19 12:32:33 +02:00
David JULIEN
c2f0fa4e6a feat: do not compute wifi strength
only display ssid
tweak wifi tests
2021-09-19 12:30:30 +02:00
David JULIEN
7c0ffbf953 feat: display song artist, not album artist 2021-09-19 12:29:02 +02:00
David JULIEN
e4e7c6ed4d
Merge branch 'dev' into gentoo
tweaking neovim colorscheme
2021-09-12 17:43:19 +02:00
David JULIEN
125404a49c feat: change search color in neovim 2021-09-12 17:42:56 +02:00
David JULIEN
10fafee5fd
Merge branch 'dev' into gentoo
update neovim colorscheme
update neovim completion engine
2021-09-12 02:30:24 +02:00
David JULIEN
d60da4b78a feat: tweaking nvim's colorscheme 2021-09-12 00:08:46 +02:00
David JULIEN
2306f88f57 fix: change icons 2021-09-12 00:03:19 +02:00
David JULIEN
6cf0718787 fix: icons 2021-09-12 00:03:10 +02:00
David JULIEN
7453de3393 fix: icons 2021-09-11 16:29:56 +02:00
David JULIEN
e5d3b5ffb5 Merge branch 'dev' into gentoo
remove devug lines in player
remove unneed code in mailsync
fix sxhkd keybindings
change caps lock remapping
2021-09-11 16:29:26 +02:00
David JULIEN
e47fc9eeb4 cleanup: sb-mailbox notifications
dunst already follows the mouse, no need to notify every display
2021-09-11 16:26:17 +02:00
David JULIEN
6786c78444 feat: maps caps_lock to **CTRL** instead of SUPER 2021-09-11 16:25:01 +02:00
David JULIEN
7903260119 cleanup: remove debug lines 2021-09-11 16:24:36 +02:00
David JULIEN
1d47841bfe fix: sb-torrent icons 2021-09-11 16:23:03 +02:00
David JULIEN
bf8804a467 feat: better handle 2 batteries 2021-09-09 22:18:20 +02:00
David JULIEN
0aa8c15431 fix: icons 2021-09-09 22:18:10 +02:00
David JULIEN
7565ea3ae0 feat: adapt fetch to gentoo 2021-09-08 19:10:38 +02:00
David JULIEN
754f46f7c6 Merge branch 'dev' into gentoo 2021-09-08 13:27:23 +02:00
David JULIEN
ff2152ec3b refactor: only one floating window class 2021-09-07 23:56:08 +02:00
David JULIEN
59a4bb273a feat: upgrade sumneko 2021-09-07 23:54:37 +02:00
David JULIEN
83809e1988 cleanup: variables and code 2021-09-07 23:52:48 +02:00
David JULIEN
4236c85f20
feat: introducing gentoo on ThinkPad 2021-09-07 23:50:33 +02:00
David JULIEN
d2f7335a1d feat: update sumneko_lua 2021-07-22 23:12:01 +02:00
David JULIEN
a9a01b606d feat: sumneko_lua upgrade 2021-07-18 00:01:55 +02:00
David JULIEN
9ee6d451d6 fix: remove '---' when wifi is down 2021-07-12 17:53:48 +02:00
David JULIEN
54e7472882 feat: use .jpg files instead of .png 2021-07-12 17:53:03 +02:00
David JULIEN
425a043be2 fix: ignore /boot 2021-07-12 17:20:29 +02:00
David JULIEN
4cde32d45e feat: upgrade sumneko 2021-07-12 16:17:11 +02:00
David JULIEN
85d1ee1391 fix: bibshow tests + output 2021-06-12 19:21:54 +02:00
David JULIEN
87e471db11 feat: update neovim colroscheme 2021-05-28 10:08:47 +02:00
David JULIEN
964678ce96 feat: green is greener (and less blue) 2021-05-28 10:07:24 +02:00
David JULIEN
73dd0ae2be feat: remove nvim buffer indicator 2021-05-28 00:52:16 +02:00
David JULIEN
5529c37703 feat: add treesitter highlighting and indentation
tweak colorscheme to be usable
add nvim-treesitter setup file
disable native nvim indentation
2021-05-25 16:34:37 +02:00
David JULIEN
8a1baa5c1b feat: LSP colors 2021-05-23 01:38:16 +02:00
David JULIEN
7e3cc716c5 feat: configure lua LSP for neovim 2021-05-21 22:49:05 +02:00
David JULIEN
c7068ff557 feat: update xrdb config
change dwm gapps
manage st symbols font
2021-05-21 11:57:01 +02:00
David JULIEN
d7daaaa8b3 fix: compiler
moving suckless tools to ~/.local/src broke compiler

it's simpler to trim it down and remove useless functions
2021-05-21 02:01:10 +02:00
David JULIEN
65a2d135af
feat: add submodules 2021-05-20 12:12:11 +02:00
David JULIEN
bb099a294e feat: move $HOME/.dotfiles to $HOME/.dotfiles.git 2021-05-19 11:56:05 +02:00
David JULIEN
7f64fa6c10 feat: update color settings for fetch 2021-04-13 09:13:40 +02:00
David JULIEN
189d6374d3 feat: MIME rule for text files 2021-04-13 09:13:34 +02:00
David JULIEN
d65d3cbe3a feat: add vpn icons in statusbar 2021-04-09 11:20:27 +02:00
David JULIEN
8234dca93a fix: no need to check for $opts before mbsync 2021-03-16 00:32:19 +01:00
David JULIEN
6e2cf9214e fix: count int MiB 2021-03-16 00:19:00 +01:00
David JULIEN
316cbaae09 fix: WM retrieving 2021-03-16 00:17:32 +01:00
David JULIEN
2e215e97d0 fix: up & down torrents 2021-03-15 23:46:14 +01:00
David JULIEN
1ca05f7f74 feat: setup is now 2 * 1080p 2021-03-15 23:46:14 +01:00
David JULIEN
d55c4a6fce fix: st-copyout 2021-03-15 23:46:14 +01:00
David JULIEN
340e4a9190 fix: output format 2021-03-11 13:12:42 +01:00
David JULIEN
8ddcf5b6c2 fix: unicode character display
unicode characters are treated as they were several characters : cutting
a string at char 15 *might* cut in the middle of a unicode character

-> unicode() to convert a unicode char to its ASCII equivalent
[ will be updated each time we come across an error, though it should
not appear beside apostrophes ]
2021-03-11 02:10:04 +01:00
David JULIEN
e224b95986 feat: update arch-setup
fix path to download tools
add dwmblocks
2021-03-11 01:08:19 +01:00
David JULIEN
c7ba894af8 feat: move to forge.chapril.org 2021-03-11 01:07:02 +01:00
David JULIEN
541f92070e fix: dmenupass background color 2021-03-10 23:12:45 +01:00
David JULIEN
f936b9cfed feat: add scripts for st output management
also update zsh prompt
2021-03-10 23:12:23 +01:00
David JULIEN
b53e5d7885 fix: env var sourcing 2021-03-10 22:59:43 +01:00
David JULIEN
e0eaf5e4b9 feat: simplify player
exit on music stop (no notification)

doesn't call statusbar update
2021-03-10 22:59:43 +01:00
David JULIEN
2dbd5bf436 feat: torrent block for statusbar 2021-03-10 22:59:43 +01:00
David JULIEN
6de603081f format: statusbar
date display
mailbox display
battery icon
2021-03-10 22:59:00 +01:00
David JULIEN
a2a86bf24e format: battery block simplification 2021-02-22 14:39:52 +01:00
David JULIEN
e0e386c9dd fix: notification when battery runs low 2021-02-22 12:41:52 +01:00
David JULIEN
f4097533e4 feat: use transmission-cli instead of gtk
add script to add a torrent
add keybinding
add pkglist
config files
2021-02-22 00:26:57 +01:00
David JULIEN
972abb9bf7 feat: prevent sb-music to print long strings
parse title and artist individually to prevent the final string to too
long (and cut)
2021-02-22 00:26:51 +01:00
David JULIEN
87e453c7a8 feat: strip down player script 2021-02-21 00:36:26 +01:00
David JULIEN
f566ff7d8f feat: dedicated script for statusbar date module 2021-02-21 00:36:26 +01:00
David JULIEN
397f10b8d2 feat: put spaces in statusbar modules 2021-02-21 00:36:26 +01:00
David JULIEN
82e236a2d9 feat: proper xdg-open configuration 2021-02-21 00:36:26 +01:00
David JULIEN
ac9ed58abe feat: neomutt open file through mailcap + xdg-open 2021-02-21 00:36:18 +01:00
David JULIEN
5243ab4b38 fix: exit if no new mail, even when syncing 2021-02-18 15:01:44 +01:00
David JULIEN
bdef14fd32 feat: show unread mails count per account in statusbar 2021-02-18 15:01:44 +01:00
David JULIEN
7ef29fb98f feat: send one notification per account 2021-02-18 15:01:38 +01:00
David JULIEN
788e1a14eb fix: switch statement on battery status 2021-02-16 12:26:50 +01:00
David JULIEN
9d06a61780 legal: change license to GPLv3 in script headers
Kept wondering wether I should keep the MIT (because I highly value
freedom of act) or embrace the GPL (because I don't want this work to
become close-source).

I do understand that this commit (and the next one that is actually
changing the LICENSE) is a defeat for freedom. I guess freedom has been
defeated long time ago, when people and companies figured that was
"free" (as in gratis) was also "free" (as in disposable).

This is not how I think free (as in "libre") works but hey, that surely
is how Intel and other corporations see it (ec: Intel Management Engine
is entirely based on Minix, is close-source, and *maybe* used as a
backdoor by anybody).

It boils down to the Paradox of Tolerance, and I surely won't tolerate
shit going their way. If you want to take open source stuff, be my
guest ; but you have to play by the rules.
2021-02-16 01:09:56 +01:00
David JULIEN
d50b60546e cleanup: script headers 2021-02-16 00:37:44 +01:00
David JULIEN
9eb25dee54 fix: rephrase, typos in README 2021-02-16 00:37:05 +01:00
David JULIEN
95713ba7fd rename: underscore -> hyphen
arch_setup -> arch-setup
audio_notify -> audio-notify
update README in consequence
2021-02-16 00:34:53 +01:00
David JULIEN
df6918e262 feat: remove deprecated scripts
BREAKING: remove bat_notify
-> notifications are sent through .local/bin/statusbar/sb-battery
BREAKING: remove AC_notify
BREAKING: remove backligt_notify
BREAKING: remove refbar
-> use dwmblocks
2021-02-16 00:33:55 +01:00
David JULIEN
2b622f0c58 legal: give credit to Luke Smith for recent additions 2021-02-16 00:32:20 +01:00
David JULIEN
fe17bd62e5 feat: add dwmblocks compilation directive 2021-02-16 00:29:53 +01:00
David JULIEN
ef4b9b8e93 feat: change the statusbar update calls 2021-02-16 00:29:53 +01:00
David JULIEN
10321a0d21 feat: use dwmblocks as statusbar
remove .local/bin/dwmbar
add .local/bin/statusbar scripts directory
update .profile ($PATH)
update .xprofile (dwmblocks at startup)
2021-02-16 00:29:24 +01:00
David JULIEN
312ed19a7e cleanup: reformat scripts and variables 2021-02-16 00:27:08 +01:00
David JULIEN
36400e76e2 feat: remove mutt-wizard
got rid of mutt-wizard
-> .local/bin/mailsync is heavily inspired by Luke's community's work
2021-02-16 00:26:43 +01:00
David JULIEN
5adce8c287 feat: remove alsa-utils
amixer -> pulsemixer
2021-02-13 20:07:47 +01:00
David JULIEN
ff12f64348 feat: update README with up-to-date scripts 2021-02-12 23:34:54 +01:00
David JULIEN
180a969ef7 feat: add bulk script 2021-02-12 23:25:26 +01:00
David JULIEN
fd71978fc5 feat: add description to remaps 2021-02-12 23:23:25 +01:00
David JULIEN
28dfdd5ae5 feat: change shebang to /usr/bin/env sh
this setting is more user-config compliant
2021-02-12 23:20:57 +01:00
David JULIEN
ba54cf5032 feat: add album art to notifications
split behaviour for "stop" to avoid shenanigans when looking for the
album art
2021-02-12 00:11:27 +01:00
David JULIEN
663fd512da fix: device names change after xorg update 2021-02-11 23:48:49 +01:00
David
6fc5c852ec feat: automatically generate a pkglist for pacman
add a hook to pacman, generating a list of installed pakages and writing
it to `/home/swytch/.config/paru/pkglist`
2021-02-05 22:33:23 +01:00
David
dbfec34131 feat: player script
mpc wrapper to send notifications when controlling mpd
add keybindings for sxhkd
2021-02-05 22:21:53 +01:00
David
bcca21e04c fix: comment out CapsLock turnoff 2021-01-14 00:21:54 +01:00
David
5c385ece97 fix: fix flags counting in dot
ignore git flags (--*)

correct merging error message
2021-01-13 00:53:12 +01:00
David
c07b1b9a8e feat: change caps remap 2021-01-13 00:46:56 +01:00
David
58bf52193e feat: update utilities lists + code cleanup 2020-12-14 12:10:21 +01:00
David
4dd0a71bda cleanup: formatting displayselect
space -> tab
make default config more robust
2020-12-14 12:10:21 +01:00
David
e4d7d33c9f feat: dot is more robust
exits when passing too many (>1) flags
doesn't go through all the tests for flags
2020-12-14 12:10:21 +01:00
David
362b7af10d cleanup: simplify merge command in dot 2020-12-14 12:09:49 +01:00
David
bf136ba0c1 feat: improve dot as a real wrapper around git
`dot` can now take the exact same arguments as git, transparently
    -> flags are now optionnal
2020-11-12 18:03:45 +01:00
David
426c6f17b2 fix: fix makefile generation 2020-09-29 00:39:22 +02:00
David
467dc53b69 fix: fix notifications emotes 2020-09-29 00:38:54 +02:00
David
12ea059e05 fix: fix mounting group ownership 2020-09-29 00:38:24 +02:00
David
3f99f774be fix: fix compilation from Cxx header with ./compiler 2020-09-29 00:35:36 +02:00
David
d6848f00ee feat: add default setup to displayselect
two-monitors setup with 1080p laptop
2020-09-12 19:13:24 +02:00
David
145b19d82d feat: switch sound management to amixer 2020-09-12 19:12:32 +02:00
David
eceb0c921b fix: fix dmenu(u)mount emoticons 2020-09-06 21:49:21 +02:00
David
1c54c9363c fix: fix bibshow entries display 2020-09-06 21:49:07 +02:00
David
d5a12a9577 fix: fix dwmbar nuclear battery display 2020-09-06 21:48:29 +02:00
David
fbe75ff435 cleanup: format dmenumount and dmenuumount 2020-09-03 21:10:53 +02:00
David
cbc1e70790 feat: polish dwmbar 2020-09-03 21:10:53 +02:00
David
257f900c55 feat: update arch_setup 2020-09-03 21:10:53 +02:00
swytch
f70a7179d9 fix: fix dwmbar section length 2020-09-02 15:55:25 +02:00
swytch
e26b809f6c feat: dwmbar now has consistent length
pad numbers with whitespaces to be of length 3
2020-08-26 14:41:16 +02:00
swytch
1367f47150 feat: change battery notification sleep
2 -> 5 minutes
2020-08-26 14:40:59 +02:00
swytch
0a2719ca8f breaking: change license to MIT in headers 2020-06-25 18:48:18 +02:00
swytch
9bae7e6403 cleanup: cleanup battery display rules in dwmbar 2020-06-25 18:48:06 +02:00
swytch
f1c90afdaf breaking: move suckless tools to ~/.local/src/ 2020-06-25 18:17:42 +02:00
swytch
4550439b62 feat: add flags to dot
add `git branch`, `git show` and `git log --graph` commands
2020-06-20 11:40:21 +02:00
swytch
208f658047 fix: fix dot parameters retrieving
now use all parameters *every time*
2020-06-20 11:40:21 +02:00
swytch
8573d507c7 cleanup: cleanup suckless' tools build 2020-06-20 11:39:37 +02:00
swytch
4246954ac5 fix: fix compiler
fix bibliography retrieving
fix suckless tools build
    -> exit 1 when not building from config.def.h
    -> exit 0 when building (not break 0)
2020-06-20 11:39:37 +02:00
swytch
953041c4f8 cleanup: simplify case statement in audio-notify
regroup "criticity" cases
2020-06-20 11:39:37 +02:00
swytch
918c589aec fix: force bash to execute the colorblocks script
colors and stuff requires bashisms
2020-06-20 11:39:37 +02:00
swytch
8feccb96f9 feat: change colors in fetch 2020-06-20 11:39:37 +02:00
swytch
6e3779d9ee fix: correctly display wifi strength percentage in dwmbar 2020-06-20 11:39:37 +02:00
swytch
a94e6be43c fix: change echo commands to printf commands
`printf` behaviour is more predictable then `echo` because bash is just
overdoing things
2020-06-20 11:39:37 +02:00
swytch
97ae8ca1d0 fix: general scripts improvements
append `sed` commands instead of piping them (bibinput, bibshow)
add dependencies (bibinput, bibshow)
break forloop when bulding is done (compiler)
2020-06-20 11:39:37 +02:00
swytch
c329e263f2 fix: fix nvim check
use the proper `command` command
fix the redirection to /dev/null
2020-06-20 11:39:37 +02:00
swytch
a2ce770d2f fix: update fetch script
Dividing by 1024 induces mebibytes (MiB), not megabytes (MB)
Change the way Memory is calculated
2020-06-20 11:39:37 +02:00
swytch
8dd53770fa fix: update scripts header 2020-06-20 11:39:37 +02:00
swy7ch
77aab67fca fix: optimize file management in scripts
no need to `cat` into `grep`/`sed`
2020-06-20 11:39:37 +02:00
swy7ch
a91ea4f87e feat: change neovim template plugin + update header of scripts 2020-06-20 11:39:37 +02:00
swy7ch
30f254f6c3 cleanup: global files cleanup
+ update LICENSE declaration in .config/nvim/after/ftplugin
+ remove vim.vim filetype settings
+ change mapping for buffer switch in neovim
2020-06-20 11:39:37 +02:00
swy7ch
31981c9631 breaking: change screenlock utility
i3lock -> slock

update .xprofile
update .local/bin/arch_setup
2020-06-20 11:39:37 +02:00
swy7ch
b673dbc4d8 fix: update .local/bin/README.md with fetch entry 2020-06-20 11:38:27 +02:00
swy7ch
b0d1cc61dc feat: add fetch script
fetch system infos
lighter than neofetch
remove neofetch
2020-05-15 15:29:05 +02:00
swy7ch
6d890c08be feat: add flags to .local/bin/dot
-ca = commit -a
-rb = rebase
-rbi = rebase -i
2020-05-08 12:28:10 +02:00
swy7ch
1a03c0f1c1 fix: fix merge in .local/bin/dot 2020-05-07 18:39:12 +02:00
swy7ch
3c383a9199 fix: fix a typo in dmenuopen 2020-05-06 03:46:37 +02:00
swy7ch
fd6e1d2ce3 init repo 2020-05-06 03:20:19 +02:00