Commit Graph

101 Commits

Author SHA1 Message Date
Aryadev Chavali
42980d0c6a (Scripts/status)~Notify if battery is below 10% 2024-08-28 13:32:17 +01:00
Aryadev Chavali
45f7a9530d (Scripts)~lock: i3lock -> xsecurelock + xscreensaver
XSecureLock supports fingerprints and xscreensaver looks nicer.
2024-08-19 16:31:04 +01:00
Aryadev Chavali
fb498ec5f0 (Scripts)~Fixup cowfortune and datetime
Cowfortune now has a hardcoded absolute path to the cowfile.

datetime has a better icon.
2024-08-19 16:30:06 +01:00
Aryadev Chavali
d56aea2398 (Scripts)+script for getting time left in battery using acpi -b
Customisable and has an exact hour + minute timer.
2024-08-19 16:29:37 +01:00
Aryadev Chavali
714e8d74ec Big push 2024-07-31 17:49:52 +01:00
Aryadev Chavali
370793e72e (Scripts)+ytsearch script using ytfzf
Actually quite proud of this one.  Uses ytfzf to search up and select
videos in YouTube, selecting the titles and URLs of all the videos
then putting it on the clipboard.
2024-07-27 16:24:49 +01:00
Aryadev Chavali
571a896f7c (Scripts)~fix eselect
Big issue with emacsclient when launching alternate editor with eval
instructions: it considers the --eval Lisp code a file name, which it
opens as a buffer.  Instead, use -a "" which launches Emacs with
daemon on if no daemon is running.

Also, instead of using a SystemD service for Emacs, let's just manage
it via emacsclient.  Less dependence on it then.
2024-07-25 02:37:20 +01:00
Aryadev Chavali
748c5e8360 (Scripts)~Work on scripts a little bitt 2024-06-23 21:26:58 +01:00
Aryadev Chavali
a89353eeb8 Tons of changes 2024-06-22 02:26:08 +01:00
Aryadev Chavali
3765aafeef (*)~Some cleanup 2024-06-11 01:24:10 +01:00
Aryadev Chavali
642e7c95c1 (Scripts)~mail_fetch:refresh notmuch before counting 2024-06-11 01:23:36 +01:00
Aryadev Chavali
f5ea98f474 (Scripts)~better eselect 2024-06-11 01:23:24 +01:00
Aryadev Chavali
c509e33586 (Scripts)~do_backup now has backups characterised by year 2024-06-11 01:23:03 +01:00
Aryadev Chavali
a882d15a3f Merge remote-tracking branch 'origin/master' 2024-05-31 20:54:47 +05:30
Aryadev Chavali
d2e7060f89 (Scripts|SystemD)~lower size of scripts 2024-05-31 20:52:53 +05:30
Aryadev Chavali
0bd2bcb172 (Scripts)+repo_find and rgrep 2024-05-31 16:04:30 +01:00
Aryadev Chavali
6e2696e47e (Scripts)~if no emacs server then use just general emacs 2024-05-13 17:03:40 +05:30
Aryadev Chavali
b8dc2696dc (Scripts)~list_packages now uses less 2024-05-08 01:31:46 +05:30
Aryadev Chavali
25b0bc9d4f (Scripts)-some obsolete scripts 2024-05-08 01:31:35 +05:30
Aryadev Chavali
2450e47882 (Scripts|Emacs/app)~ported eshell banner to a script
Instead of doing it all in Emacs lisp (which while pretty fun to
write, is not fun to execute outside of Emacs), I wrote a shell script
which generates the same banners, then just linked
+eshell/banner-message to it.
2024-05-08 01:17:29 +05:30
Aryadev Chavali
ae73ed6dc6 (Scripts/status)~bluetooth-status now prints battery info if found 2024-04-23 17:06:01 +05:30
Aryadev Chavali
e172610a69 (Scripts)+scripts to grab/open links and copy output for st 2024-04-23 16:58:01 +05:30
Aryadev Chavali
95edd754ca (Scripts)+labelled_terminals
This script creates n labelled terminals, where n is passed in as a
command line argument.  This makes demonstrating and understanding
differing layouts in say DWM or some other window manager easier as we
can directly see how the stack changes based on operations.
2024-04-23 16:55:29 +05:30
Aryadev Chavali
c76475e427 (Emacs/*)~cleaning up 2024-04-20 02:52:27 +05:30
Aryadev Chavali
7e77b603ad (Scripts)~datetime script uses different icon 2024-04-18 10:30:53 +01:00
Aryadev Chavali
79f1fdfcf5 (Scripts/status)~Changed emoticons 2023-10-21 00:39:16 +01:00
Aryadev Chavali
fd22305dac (Scripts)~Prefix every notify-send with script creating it 2023-10-18 20:01:26 +01:00
Aryadev Chavali
84fb1be64c (Scripts|SystemD)+mail fetch script and a SystemDservice/timer for it
Syncs every 3 hours.  Produces a notify-send message on fetching.
2023-10-18 19:58:45 +01:00
Aryadev Chavali
300e8cbabd (Emacs)+Elisp archive, (Scripts/status)+bluetooth status 2023-10-06 01:18:33 +01:00
Aryadev Chavali
d88430aa8a (Scripts|SystemD)~rework backup system
This is purely for the desktop: only enable if you fix it up.
2023-10-06 01:16:47 +01:00
Aryadev Chavali
87140bdc8e (Scripts)~timer script has variadic beep, more beeps in general, fixed bugs 2023-09-22 22:35:42 +01:00
Aryadev Chavali
a00480771a (Scripts)+create_backup,+folder_size
create_backup does the obvious using tar and xz.  Needs two arguments
for what and where.  folder_size does the obvious using du.
2023-09-22 14:54:21 +01:00
Aryadev Chavali
d5c8694db2 (Scripts)~timer now uses notify-send instead of espeak 2023-09-22 14:10:37 +01:00
Aryadev Chavali
c21e737ee3 (Scripts)~small changes to memory status, -emacs_curl 2023-09-10 03:51:48 +01:00
Aryadev Chavali
48084564ae (Scripts)~fixed font and output when emacs service wasn't started
~when Emacs hasn't started, state "N/A" rather than nothing

~Using better symbols for output (font wise as well on DWM)
2023-08-21 01:12:46 +01:00
Aryadev Chavali
bb1cdfface (Scripts>status)+Emacs memory to status script 2023-07-14 19:54:39 +01:00
Aryadev Chavali
8d0c5e3faa (Scripts>repo_*)~create_repo->repo_create,+repo description get/set
Better creating of repositories, repo_create now takes description for
second argument and new scripts to do it post creation as well.
2023-07-14 02:26:24 +01:00
Aryadev Chavali
3d7940f13c (Scripts>create_repo)~use git@git.aryadevchavali.com instead of root
Removes the need to change permissions for those directories.
2023-07-13 20:31:21 +01:00
Aryadev Chavali
d9712a799f (Scripts)+script to automate creating a remote repository for projects 2023-07-11 21:32:44 +01:00
Aryadev Chavali
d26f484d46 (Scripts)~battery script now uses just grep time
This is incase it is charging.
2022-09-18 12:00:25 +00:00
Aryadev Chavali
052f7d0a9e (Scripts)~speed script now uses Table-of-Integrals.pdf
Pretty big file, bit quicker than using Algorithms.
2022-09-17 00:16:59 +01:00
Aryadev Chavali
0d7a9acf84 (Scripts/status)+temperature script for status 2022-09-14 00:47:16 +01:00
Aryadev Chavali
ad853af43b (SXHkD|Scripts)~changed some details
~ made emacsclient calls with no alternate editors in
  eselect (confidence in server)
~ made notmuch option on eselect actually work properly
~ adjusted icons in status scripts
2022-09-14 00:45:42 +01:00
Aryadev Chavali
5d2134c20e (Scripts)~lock_image is randomly chosen, ~default colour is black 2021-10-20 19:20:37 +01:00
Aryadev Chavali
11dba53971 (Scripts)~renamed some scripts,-web-pdf script
web-pdf was kinda useless.
2021-10-20 19:19:34 +01:00
Aryadev Chavali
c78fa94260 (Scripts)+script to make using mpv a bit less painful
Currently queries via YouTube-dl (ytdl) for quality options then asks
user for preferred quality, setting that in mpv.
2021-10-20 06:03:14 +01:00
Aryadev Chavali
d2a1b0c9b0 (Scripts)~some changes (check message)
speed~address to download git.aryadevchavali.com->aryadevchavali.com/resources

status/datetime~date format to a decomposed format

status/music_update_bar~pid to kill on dwmblocks
2021-09-15 12:21:18 +01:00
Aryadev Chavali
67a4addcd0 (Shell|Scripts|Emacs)~minor edits
+psearch function to search pacman with less (I use this all the time,
just makes it easier to do in one go)
~speed script to use a slightly larger file so user can get a better
estimate of dl speed
~ada-mode slightly better comments
2021-07-25 15:44:48 +01:00
Aryadev Chavali
218f8e49d1 (Scripts)+eselect option for notmuch mail 2021-07-25 15:44:48 +01:00
Aryadev Chavali
e5cc2ec33d (SystemD)~emacs service to not use a name for the daemon
In hindsight, what other daemon am I going to be using for Emacs?
It's not like I'll be starting two different servers! Even if I was,
Emacs has the ability to assign a new unique name for the server
depending on if another server is already running.  Also, having a
name for the main server makes it harder for other services (such as
notmuch-mua.service) to find your Emacs instance.
2021-07-25 15:44:48 +01:00