Commit Graph

153 Commits

Author SHA1 Message Date
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