Commit graph

74 commits

Author SHA1 Message Date
Protesilaos Stavrou 62eb3926de
bashrc: define aliases for apt 2024-12-06 12:37:03 +02:00
Protesilaos Stavrou e94e0e2ba0
BREAKING rename all shell scripts to .sh and put them in ~/.local/bin 2024-12-06 08:25:09 +02:00
Protesilaos Stavrou 2a1c424c55
bashrc: tweak when the PAGER changes in Emacs 2024-09-03 09:50:23 +03:00
Protesilaos Stavrou 24eecba5c8
bashrc: update how Emacs shell gets its PAGER 2024-04-20 21:51:01 +03:00
Protesilaos Stavrou 22846c93fb
bash: tweak how some envvars are set while in Emacs 2024-03-22 15:36:25 +02:00
Protesilaos Stavrou c0a013f302
bash: move default editor envvars further up 2024-03-22 15:36:09 +02:00
Protesilaos Stavrou 1c8343b47f
Update links to current dotfiles location 2024-02-13 13:44:01 +02:00
Protesilaos Stavrou c92478c272
xorg/bash: add /opt/bin to PATH 2024-02-03 09:27:12 +02:00
Protesilaos Stavrou 9f27a72c91
.bashrc: refine how the wayland check is done 2023-10-24 08:19:40 +03:00
Protesilaos Stavrou 82a4a90e98
.bashrc and .profile: add PATH for local binaries
These are programs I build from source and want to keep in my local
user instead of installing them at the system level.
2023-10-05 07:45:49 +03:00
Protesilaos Stavrou b9adca6eb5
bashrc: add flatpaks to the PATH 2023-09-01 20:11:47 +03:00
Protesilaos Stavrou 9f6898510b
prot-shell.el: add new package; refine bash and dircolors setup accordingly 2023-08-24 07:18:30 +03:00
Protesilaos Stavrou d1ed732e74
bashrc: refine automatic ls after cd 2023-08-24 07:14:01 +03:00
Protesilaos Stavrou 2ad9486549
prot-emacs-essentials: refine M-x shell configuration 2023-04-27 08:36:04 +03:00
Protesilaos Stavrou 02b3dc5b45
bashrc: reduce history size 2023-04-13 07:37:48 +03:00
Protesilaos Stavrou 0fdadf4785
bashrc: refine how qt platform is set on wayland
I only run GNOME on Wayland, but I now want to switch back to Xorg in
order to use my favourite tiling window manager.  The Wayland
ecosystem still leaves something to be desired on this front.
2022-12-13 13:36:08 +02:00
Protesilaos Stavrou 9de78c20b8
bashrc: add some emoji aliases 2022-09-17 09:30:00 +03:00
Protesilaos Stavrou ef9fda0604
bashrc: remove unused aliases 2022-09-17 06:57:26 +03:00
Protesilaos Stavrou dfa0eb97e7
bashrc: untabify and re-indent 2022-09-17 06:54:24 +03:00
Protesilaos Stavrou ab8007bac6
bashrc: change placement of env var 2022-09-17 06:53:05 +03:00
Protesilaos Stavrou 9f4dd47eb8
bashrc: tweak syntax of if statements 2022-09-17 06:51:28 +03:00
Protesilaos Stavrou 6568be60a9
bashrc: tweak syntax of functions 2022-09-17 06:50:21 +03:00
Protesilaos Stavrou b1dcc3264a
bashrc: tweak file header 2022-09-17 06:50:06 +03:00
Protesilaos Stavrou c49e95f227
bashrc: simplify outline 2022-09-17 06:48:05 +03:00
Protesilaos Stavrou 3a0dcdb0bd
bashrc: add env var for obs-studio 2022-09-17 06:45:01 +03:00
Protesilaos Stavrou 6753a9dff4
Update all dotfiles links to SourceHut 2022-04-21 09:49:12 +03:00
Protesilaos Stavrou 83d6bcd838
.bashrc: switch from youtube-dl to yt-dlp
The former has problems streaming videos due to constant buffering.
2021-12-23 19:55:10 +02:00
Protesilaos Stavrou 652c18ff99
systemd: add Stow package; fix Sway SSH envvar
I included this in my Sway config:

    NOTE 2021-09-21: When I first set up this configuration file, I
    tried to autostart the gnome-keyring.  I eventually learnt that
    Wayland does not work like Xorg with regard to how it reads
    environment variables.  We cannot export variables from here (unless
    I missed something) and we cannot rely on something like ~/.profile.

    So I am now using the gpg-agent, which provides an ssh component.
    The initialisation is handled by systemd, which I am not too happy
    about, but here we are.  Search my dotfiles for the systemd units.
2021-09-21 14:12:29 +03:00
Protesilaos Stavrou 2162cd594c
bspwm: bring back old configs; add changes (WIP)
I plan to switch back to my bspwm setup.  There probably is a lot of
work to be done here, though my quick experiments today show that we are
on the right path.
2021-08-27 14:56:26 +03:00
Protesilaos Stavrou e505516524
bashrc: remove faulty alias
It was actually slowing down the initialisation of the shell.
2020-07-31 23:40:56 +03:00
Protesilaos Stavrou a57d0c7d7a
Add .Xmodmap 2020-07-27 12:11:37 +03:00
Protesilaos Stavrou e34408e5ba
bashrc: add section with pacman and yay aliases 2020-04-26 00:15:50 +03:00
Protesilaos Stavrou 55f05ad805
bashrc: fix malformed closing bracket 2019-12-31 21:07:48 +02:00
Protesilaos Stavrou 02bb729458
bashrc: minor tweaks 2019-12-31 18:31:51 +02:00
Protesilaos Stavrou 6fd19225d0
bash_profile: use HOME instead of ~ 2019-12-23 18:05:50 +02:00
Protesilaos Stavrou 07f4d4afd9
bash_profile: run `xinit' on TTY1 login 2019-11-25 18:40:22 +02:00
Protesilaos Stavrou 104f04a058
bashrc: Function to xbps-remove in bulk 2019-11-17 21:28:24 +02:00
Protesilaos Stavrou 1e07714f0e
bashrc: fix aliases for XBPS (Void Linux) 2019-11-11 14:30:49 +02:00
Protesilaos Stavrou 633095fdca
BREAKING: Use xinit // Deprecate .profile 2019-11-11 14:28:06 +02:00
Protesilaos Stavrou fc23fed166
bashrc: do not print emacs process id 2019-11-10 08:57:48 +02:00
Protesilaos Stavrou 2f3b537718
WIP: add bash aliases for XBPS (Void Linux) 2019-11-10 07:20:54 +02:00
Protesilaos Stavrou 2761858df7
emacsclient as default editor, when appropriate 2019-11-10 07:20:16 +02:00
Protesilaos Stavrou 3db7302924
Use apt-get: Emacs shell breaks apt progress bar 2019-10-26 13:47:25 +03:00
Protesilaos Stavrou 7b27413327
Clarify logic for local "bin" directories in PATH 2019-10-26 13:46:41 +03:00
Protesilaos Stavrou 6a42aa565b
Minor tweaks to .bashrc and .profile 2019-10-20 09:13:20 +03:00
Protesilaos Stavrou 582dac7ab4
Change the way Git selects its editor
Better use an environment variable in the console, for those cases where
git is called from there.  The global gitconfig does not need to be
opinionated about this choice, especially since git could perhaps be
deeply integrated in another text editor's workflow.
2019-07-31 05:50:40 +03:00
Protesilaos Stavrou 0718027d0a
FULL REVIEW: .bashrc
* Simplify checks for dependencies.
* Add alias for diff to automatically display colours.
* Add aliases for: git show, git show --oneline
* Remove a few useless lines.
2019-06-29 13:55:51 +03:00
Protesilaos Stavrou dfdfb475ee
No need to recolour manpages 2019-06-27 18:00:01 +03:00
Protesilaos Stavrou ae4994f2a7
MAJOR CHANGES to live theme switching
1. Add `tempus`, successor to own_script_update_environment_theme.  The
   latter is now deprecated.  TEMPUS has superior performance while
   retaining feature parity.  It also has a cleaner, streamlined design.
   Furthermore, it feels more natural when used through the command
   line: `tempus classic` will switch to Tempus Classic and so on.

2. Full rewrite `tempusmenu`.  It was a complete mess as it was trying
   to interface with own_script_update_environment_theme, thus
   compounding the poor design.

3. Deprecate own_script_update_tmux_running_vim.  Use tmux_update_vim.

4. Adwaita (light,dark) is now the default GTK widget theme.  This
   removes the dependency on Materia theme.

5. Minor updates to accomodate the changes.  The most notable one is the
   removal of the check for the flatpak executable in bspwmrc.
2019-06-27 12:51:47 +03:00
Protesilaos Stavrou 8b6cce8a05
git autosign GPG. No need for bash aliases. 2019-06-05 22:16:55 +03:00