Commit Graph

78 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet 50c45cbbf4
[Bin] Fix rofi-emoji
continuous-integration/drone/push Build is passing Details
2022-05-19 18:22:31 +02:00
Lucien Cartier-Tilet 1c911b9821
Revert "[StumpWM, bin] Add weather module to StumpWM..."
This reverts commit d78be92786.
2022-05-08 23:15:26 +02:00
Lucien Cartier-Tilet d78be92786
[StumpWM, bin] Add weather module to StumpWM, convert we to POSIX sh
continuous-integration/drone/push Build is passing Details
Convert script `we` from fish to POSIX shell

Add two new scripts:
- stump-choose-city
- stump-weather
The former one sets the default city used for weather. The latter
generates the output used by StumpWM’s mode-line.
2022-05-06 23:27:01 +02:00
Lucien Cartier-Tilet f29e48ed37
[Bin] Add CPU scaling script 2022-04-11 14:50:05 +02:00
Lucien Cartier-Tilet de78e16bd9
[StumpWM, Bin] Replace StumpWM’s notification manager with Dunst 2022-03-10 22:25:56 +01:00
Lucien Cartier-Tilet 7bdab40832
[Bin] KDEConnect in autostart, proper bash for default audio sink 2022-03-06 21:43:40 +01:00
Lucien Cartier-Tilet 4c42a17fc6
[Bin] Huge simplification of wacom-setup
continuous-integration/drone/push Build encountered an error Details
It’s not a one-liner yet, but it’s still much shorter and cleaner than
the previous mess.
Also change wacom-setup from a fish script to a sh script
2022-03-01 20:18:41 +01:00
Lucien Cartier-Tilet d379f83cc8
[Bin] Make HDMI1 on the left by default
My setup changed, therefore put HDMI1 on the left of my computer.
2022-03-01 19:50:02 +01:00
Lucien Cartier-Tilet c0f6bbc5a7
[Bin] Fish to bash autostart, fix some bash issues
Autostart is now written in Bash.

Autostart now loads a module to automatically switch devices for
PipeWire/PulseAudio when a new one is connected.

Fix some issues with using "$@" instead of "$*"
See Shellcheck’s SC2148
2022-02-26 15:40:15 +01:00
Lucien Cartier-Tilet 8bc5d228dd
[Fish, Bin, Bootstrap] Sxiv to Nsxiv, install custom packages
continuous-integration/drone/push Build is passing Details
Change all references of sxiv to nsxiv.

In bootstrap, install my custom packages from their PKGBUILD rather
than from repositories.
2022-02-24 17:13:23 +01:00
Lucien Cartier-Tilet 7d48b240f8
[Bin, PKGBUILD] Add sxiv keyhandler to bin.org, update sxiv source
continuous-integration/drone/push Build is passing Details
My sxiv package is now based on bakkeby’s fork of sxiv, since the
original repo is now archived
2022-02-18 00:12:53 +01:00
Lucien Cartier-Tilet c44ca3da64
[Bin] Add experimental backends flag to picom
The upgrade from picom-git to picom makes it necessary to have this
flag enabled to have kawase-blur and rounded corners active at the
same time
2022-02-12 12:39:57 +01:00
Lucien Cartier-Tilet 688080eff6
[Bin] Sanitize bash scripts, some conversion from fish to bash 2022-02-04 17:02:30 +01:00
Lucien Cartier-Tilet e530aeb269
[Bin] Typo 2022-01-26 10:04:37 +01:00
Lucien Cartier-Tilet aa290484dd
[Bin] Fix incorrect shebang 2021-11-23 15:01:06 +01:00
Lucien Cartier-Tilet 424d305932
[StumpWM, bin] better screenshot handling
continuous-integration/drone/push Build is passing Details
2021-11-22 12:46:06 +01:00
Lucien Cartier-Tilet c282e91c25
[StumpWM] Update modeline
This commit adds the net module at the fourth position on the right
side.

It also modifies the CPU module prefix to a Siji icon representing a
CPU.

`mu-unread' also outputs a Siji icon as its prefix instead of `Mail:'
2021-11-20 23:04:32 +01:00
Lucien Cartier-Tilet adc84818b1
[Bin] Update anchor link for `ytplay' 2021-11-09 13:40:32 +01:00
Lucien Cartier-Tilet 6a73bdb74e
[Bin] Remove Elisp dependencies in code generation
Remove dependency on dash.el and s.el in code generation
2021-10-23 20:25:21 +02:00
Lucien Cartier-Tilet 501c8040eb
[StumpWM, Bin] Rework modeline appearance, make it Powerlined!
Also create script `mu-unread' in order to get the amount of unread
emails I have in my maildir.
2021-10-14 20:08:52 +02:00
Lucien Cartier-Tilet d4f11b612d
[Org, Emacs] Do not add spaces in front of code in src blocks
By default, org-mode will add two spaces before code lines in the org
file itself. This does not change how code is edited when editing a
code block through `org-edit-special' but when copy/pasting code or
editing it directly from the org file, it can be troublesome.
Setting `org-src-preserve-indentation' to `t' prevents org from adding
these two spaces.
2021-10-12 12:19:46 +02:00
Lucien Cartier-Tilet 124644ff3c
[Org Files] Remove unneeded header, add .dir-locals.el
`.dir-locals.el' file will automatically activate writeroom-mode for
all org files and set `org-confirm-babel-evaluate' to nil.
2021-07-30 17:56:43 +02:00
Lucien Cartier-Tilet a040bfceb7
[org] Whitespace
Tabs to spaces, and tables realigned
2021-05-21 14:41:05 +02:00
Lucien Cartier-Tilet 6d3220e78c
[org] Update custom variables in org file 2021-05-21 14:40:50 +02:00
Lucien Cartier-Tilet e53e019306
[Bin] Reorganize and re-enable some scripts
Due to EXWM being disabled for the time being and switching back to
AwesomeWM, some scripts are re-enabled. The execution order is also
modified.
2021-04-17 12:56:25 +02:00
Lucien Cartier-Tilet 1ad328df7f
[Emacs] Update autostart for EXWM 2021-04-11 16:09:09 +02:00
Lucien Cartier-Tilet 8d11177158
[Bin] add xrdb merge to autostart
Apparently my computer stopped doing that automatically
2021-04-04 12:09:10 +02:00
Lucien Cartier-Tilet dcf42a9340
[Bin] `emacs' is now designed as a fallback for `emacsclient' 2021-03-26 13:51:22 +01:00
Lucien Cartier-Tilet ff83e3d226
[Bin] Move `set-screen` 2021-03-10 13:09:45 +01:00
Lucien Cartier-Tilet 7abf902e1d
[Bin] friendship with xidlehook ended xss-lock is my new best friend 2021-03-10 13:07:53 +01:00
Lucien Cartier-Tilet 87af1db5af
Revert "[Bin] Begin to fix wacom-setup, still bugged, see TODO"
This reverts commit 84de2cce7e.

Attempt to fix everything
2021-02-10 20:59:52 +01:00
Lucien Cartier-Tilet ea9a5a4d24
Revert "[Bin] Fix wacom-setup script, touchpad configs dropped"
This reverts commit 05a68817ea.
2021-02-10 20:39:16 +01:00
Lucien Cartier-Tilet 05a68817ea
[Bin] Fix wacom-setup script, touchpad configs dropped
For some reason, I don’t see anymore my tablet’s touchpad in the
xinput list, so this commit drops modifications to the touchpad’s
configuration.
2021-02-06 00:55:04 +01:00
Lucien Cartier-Tilet 527380e5ff
[Org, meta] Change formatting of org files 2021-02-04 14:43:09 +01:00
Lucien Cartier-Tilet 84de2cce7e
[Bin] Begin to fix wacom-setup, still bugged, see TODO 2021-02-04 09:14:14 +01:00
Lucien Cartier-Tilet 503aec3302
[Paru, Bin, Index] Reorganize headers, add dired script, paru conf 2021-01-27 19:03:11 +01:00
Lucien Cartier-Tilet bc7f7e3182
[Bin] Set default soundcard in autostart 2021-01-09 19:16:08 +01:00
Lucien Cartier-Tilet 26053b0e8b
[Bin] Fix issue downloading videos with ytdl
When downloading a whole channel, ytdl used to download everything
including playlists displayed on the user’s main page. Now, a check
is performed in order to verify if the URL passed is a channel, and
if it is only download the videos listed on their uploads page.
2021-01-06 16:10:39 +01:00
Lucien Cartier-Tilet 0166ec0a02
[Bin] add utility to unify how a wallpaper is set 2021-01-04 15:00:40 +01:00
Lucien Cartier-Tilet b027b2b03b
[Bin] reorganize order of autostart 2021-01-04 14:10:32 +01:00
Lucien Cartier-Tilet 552c91b473
[Bin] set-pape now supports subdirectories, fix select-pape
`set-pape' now find all files in $PAPESDIR, including subdirectories.
The way the wallpaper is randomly selected is also simplified, and the
script is now written in bash rather than in fish.

`select-pape' now writes to $HOME/.cache/wallpaper only when a wallpaper
is selected. Otherwise, nothing is done.
2021-01-04 14:10:15 +01:00
Lucien Cartier-Tilet a56d24eb5a
[Bin] Fix autostart and select-pape
Autostart did not detect properly if some processes were actually
running or not. This commit fixes it and only launches programs marked
to run only once only when they are not already running.

select-pape did not set its cache file in the correct location, this is
now fixed
2021-01-02 14:13:13 +01:00
Lucien Cartier-Tilet 805bc608fc
[Bin] Reorganize bin.org, add select-pape script
Now wallpaper-related scripts use xwallpaper instead of nitrogen

select-pape gives the user the ability to choose their wallpaper throguh
sxiv and xwallpaper
2021-01-02 13:52:47 +01:00
Lucien Cartier-Tilet a0b258581a
[Bin] Fix issue with awiki
This commit fixes an issue with awiki where selecting a page which title
contains whitespace would not open the page in the browser due to
remaining whitespace. This commit fixes it by replacing whitespace with
underscores.
2021-01-02 13:26:30 +01:00
Lucien Cartier-Tilet 182a8e62db
[Bin] ytplay now plays audio too 2021-01-02 00:59:07 +01:00
Lucien Cartier-Tilet 6519fa6793
[Bin, Awesome] Add script to read YouTube videos in mpv
New script to read YouTube videos in mpv, with possibility to choose
the video resolution

Also add shortcut in Awesome to invoke this script
2020-12-28 21:06:18 +01:00
Lucien Cartier-Tilet 4584aa8f6b
[Bin] Fix org headers and page description 2020-12-01 16:16:59 +01:00
Lucien Cartier-Tilet 88c83ba51f
[Bin] add ytdl (youtube-dl wrapper) and rofi menu for it 2020-11-29 23:43:37 +01:00
Lucien Cartier-Tilet ec14b1c5a7
[Bin] Format update 2020-11-29 23:43:20 +01:00
Lucien Cartier-Tilet 3a1015b9e7
[Org files] Formatted org files to look better with new org config 2020-11-13 15:18:43 +01:00