Commit Graph

66 Commits

Author SHA1 Message Date
688080eff6
[Bin] Sanitize bash scripts, some conversion from fish to bash 2022-02-04 17:02:30 +01:00
e530aeb269
[Bin] Typo 2022-01-26 10:04:37 +01:00
aa290484dd
[Bin] Fix incorrect shebang 2021-11-23 15:01:06 +01:00
424d305932
[StumpWM, bin] better screenshot handling
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-22 12:46:06 +01:00
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
adc84818b1
[Bin] Update anchor link for `ytplay' 2021-11-09 13:40:32 +01:00
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
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
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
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
a040bfceb7
[org] Whitespace
Tabs to spaces, and tables realigned
2021-05-21 14:41:05 +02:00
6d3220e78c
[org] Update custom variables in org file 2021-05-21 14:40:50 +02:00
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
1ad328df7f
[Emacs] Update autostart for EXWM 2021-04-11 16:09:09 +02:00
8d11177158
[Bin] add xrdb merge to autostart
Apparently my computer stopped doing that automatically
2021-04-04 12:09:10 +02:00
dcf42a9340
[Bin] emacs' is now designed as a fallback for emacsclient' 2021-03-26 13:51:22 +01:00
ff83e3d226
[Bin] Move set-screen 2021-03-10 13:09:45 +01:00
7abf902e1d
[Bin] friendship with xidlehook ended xss-lock is my new best friend 2021-03-10 13:07:53 +01:00
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
ea9a5a4d24
Revert "[Bin] Fix wacom-setup script, touchpad configs dropped"
This reverts commit 05a68817ea.
2021-02-10 20:39:16 +01:00
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
527380e5ff
[Org, meta] Change formatting of org files 2021-02-04 14:43:09 +01:00
84de2cce7e
[Bin] Begin to fix wacom-setup, still bugged, see TODO 2021-02-04 09:14:14 +01:00
503aec3302
[Paru, Bin, Index] Reorganize headers, add dired script, paru conf 2021-01-27 19:03:11 +01:00
bc7f7e3182
[Bin] Set default soundcard in autostart 2021-01-09 19:16:08 +01:00
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
0166ec0a02
[Bin] add utility to unify how a wallpaper is set 2021-01-04 15:00:40 +01:00
b027b2b03b
[Bin] reorganize order of autostart 2021-01-04 14:10:32 +01:00
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
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
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
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
182a8e62db
[Bin] ytplay now plays audio too 2021-01-02 00:59:07 +01:00
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
4584aa8f6b
[Bin] Fix org headers and page description 2020-12-01 16:16:59 +01:00
88c83ba51f
[Bin] add ytdl (youtube-dl wrapper) and rofi menu for it 2020-11-29 23:43:37 +01:00
ec14b1c5a7
[Bin] Format update 2020-11-29 23:43:20 +01:00
3a1015b9e7
[Org files] Formatted org files to look better with new org config 2020-11-13 15:18:43 +01:00
6e9ac2b490
[Bin] Better script for toggling touchpad 2020-11-06 14:45:17 +01:00
b2f31ed88f
[Bin] rename lock utility from lock' to plock' 2020-10-29 16:55:19 +01:00
b09de32f9b
[Bin] Update autostart script 2020-10-20 13:52:53 +02:00
6b92c8bc4c
[Bin, Awesome] Add touchpad tapping toggling
XF86ToggleTouchpad is now bound to the new script `tttouchpad'
2020-10-14 18:34:30 +02:00
742b3009a8
[Bin, autostart] Remove mpd_discord_richpresence, add xss-lock
It seems `mpd_discord_richpresence' has been removed from the AUR, and as
such I cannot install it back for now.

On the other hand, it seems `xss-lock' has been forgotten in the
autostart until now. This is now fixed.
2020-10-14 18:32:44 +02:00
ae0b14d962
[bin] Add pumopm to startup, new sshbind, deprecate polybar-launch
This commit adds PumoPM back to the autostart script. Its transition to a
systemd unit isn’t complete yet.

`sshbind' has been added as a shorthand for an `ssh' command.

Since I do not use polybar anymore, `polybar-launch' has been deprecated.
2020-10-09 18:06:52 +02:00
3ae554c976
[Bin, autostart] Remove PumoPM from autostart
PumoPM will soon get a systemd service file, which means it will no
longer be necessary to manually launch it.
2020-09-28 18:22:38 +02:00
7b2c7d8145
[Org source] Fix mkdirp tangling argument 2020-09-28 18:22:32 +02:00
c290305a26
[Awesome, Bin.org] Change the way my programs autostart
Autostarting my programs are now done through a shell script, which
Awesome calls.
2020-09-02 13:28:14 +02:00
8f35b85ef1
[Bin] Remove shebang from source, add it as header argument
This commit cleans up the source blocks of bin.org by removing the
shebangs from the actual source blocks. They are now passed as header
arguments, making the exported files automatically executable. This
removes the need for the two functions that were in the Introduction
header making tangled files executable or not.
2020-08-28 15:43:17 +02:00
166f2094df
Better sed' command and fixed set-screens'
`set-screens' used to automatically restart i3. Since I do not use i3
and Awesome needs no restart after invoking this command, I removed
the call to `i3-msg'.
2020-08-22 16:52:32 +02:00
a958ee8a60
Remove unused parts, updated my theme
== ALL FILES ==
The org TOCs were unused on export, and Spacemacs makes it useless.
This commits removes them. The startup header of org files is moved to
the header file.

== AWESOME ==
In the Awesome file, this commit removes everything about custom theme
creation as this part is not yet used. I also remade and reorganized
the windows titlebars.
Theme files for Awesome shall be added soon. The wallpaper functions
were updated accordingly.

In the autostart part, I updated some commands (picom will not launch
if another instance is already running, same for the XFCE polkit), and
I added PumoPM to the autolaunched software (power management). Due to
some issues, I also let Awesome one second before launching
`set-screens'.

== AWESOME AND CUSTOM SCRIPTS ==
This commit also removes any usage of pywal. My Awesome configuration
and my custom scripts were updated accordingly.

== CUSTOM SCRIPTS ==
In bin.org, the script `pape-restore' has been removed since it can
now be replaced with the command `nitrogen --restore'. `pape-update'
has also been updated so it doesn’t depend on `pape-restore' and gets
a random wallpaper for nitrogen to set without the help of pywal.

== XRESOURCES / ST AND PICOM ==
St’s transparency was tweaked to match my windows’ titlebar
transparency. It also got the Nord theme mentionned above. Some custom
Picom rule about St’s transparency has been removed.

== PICOM ==
I made it clearer in the index and on Picom’s page Picom is the new
Compton.

== FIREFOX ==
A new git submodule (blurredfox-nord) has been added, which adds some
transparency to Firefox as well as some Nord colors.

== I3 AND POLYBAR ==
My i3 and Polybar config have been deprecated since I do not use them
anymore.

== SPACEMACS ==
Changed shortcuts for config files
2020-08-22 16:46:33 +02:00