Commit Graph

70 Commits

Author SHA1 Message Date
Daniel - 7836ff0eef
Checkout for mails in personal inbox, not root's
tripwire mails are forwarded to my personal inbox, check there.
2022-06-12 11:51:37 +02:00
Daniel - 86ad65f88b
Do not open htop in tree mode
I usually want to see the entries sorted by cpu usage.
2022-06-04 11:12:59 +02:00
Daniel - ddd239d1a9
Check mail before doing updates
System mail may include relevant information that should be checked before
updating the system.
2022-06-02 21:00:22 +02:00
Daniel - 9f383c9cf3
Use own instance of ssh-agent when starting a new Xsession 2022-02-26 16:33:41 +01:00
Daniel - d813267061
Add separate default prompt to main tmux session
Use this for simple tasks without requiring an extra tmux window.
2022-01-05 17:55:48 +01:00
Daniel - 1b673af022
Remove redundant calls to sudo 2021-12-27 11:27:47 +01:00
Daniel - c95ee52279
Do not automatically restart Emacs on exit
Restarting is rather rare and can be done manually.  Automatic restarts also get
in the way when Emacs is supposed to be shut down, e.g., when the laptop has to
be rebooted.
2021-11-21 10:20:34 +01:00
Daniel - 542550031f
Add little snippet to decompress zlib files from bash 2021-11-07 07:15:17 +01:00
Daniel - 06a462b1d2
Use explicit background color in tmux.conf
Using `default` used to refer to the current background, but newer versions seem
to refer to `default` as the default tmux status bar background.  Use `black`
now, it's a good enough approximation of the actual solarized black background.
2021-08-22 10:03:56 +02:00
Daniel - 7ce84b45cf
Add missing sudo call for systemd-inhibit 2021-08-22 10:03:46 +02:00
Daniel - 8a0f6f1d7c
Try to inhibit interruptions during system package updates
`systemd-inhibit` should do this, but experience shows that it's not always
working as expected.  However, having it is better than not having it.
2021-08-08 09:33:10 +02:00
Daniel - d9d64715d7
Revert to using urxvt again
I need this color scheme, high contrast schemes are not for me.  Increasing the
font size already helps with readability.
2021-06-27 16:21:39 +02:00
Daniel - 5306f07831
Use Xfce4 terminal as default one
This one's good enough and readily available.  Color customization is also a bit
easier.  Still keep the configutation for urxvt around just in case.
2021-06-27 09:04:50 +02:00
Daniel - 8fe64b7d9c
Do not automatically start offlineimap
Risk of data loss is too high.
2021-06-12 14:06:48 +02:00
Daniel - 9e6c46893e
Start offlineimap in main tmux view
It's good to have this synchronization going on and being visible in the main
tmux dashboard.
2021-06-12 12:50:23 +02:00
Daniel - b5dece2d49
Make sure environment variables are correctly set in X session
Definitions should appear in .xsessionrc, as per Xsession(5).  This is a Bourne
shell script, thus bashisms are not allowed here, narf.  So we move our common
variable definitions out into ~/.profile and source that from .xsessionrc and
.bashrc.  Another layer of complexity added, dumb.
2021-02-20 10:09:44 +01:00
Daniel - be68b931b3
Replace remaining call to xtrlock by xflock4
Forgot that, sorry.
2021-02-07 12:01:29 +01:00
Daniel - 3dc2f2d389
Use XFCE4 screen lock mechanism
When using xtrlock and xflock4 simultaneously, as is done when using lightdm,
this may cause trouble when unlocking: not that unlocking has to be done twice,
it also keeps the keyboard locked and one has to switch workspaces with the
mouse to unlock it again.
2021-02-07 11:54:38 +01:00
Daniel - 986d703413
Rename Xdefaults to Xresources
Xdefaults has been obsoleted by ~1994 or so.  Did not
know this, sorry.
2021-02-07 10:05:08 +01:00
Daniel - b1ccf8616d
Run local updates also in tmux
It's more robust if things fail.
2020-12-27 12:28:49 +01:00
Daniel - 1d7801c1ea
Extend upgrade function to support local updates 2020-09-06 15:51:42 +02:00
Daniel - 9f3780b343
Add missing keybinding for audio pause 2020-09-01 17:34:28 +02:00
Daniel - fd78ed471c
Add missing call to sudo 2020-08-30 12:33:24 +02:00
Daniel - e703f1332a
Add shell auxiliary function to start default tmux session 2020-08-23 12:23:37 +02:00
Daniel - 880db2d7a3
Make custom shell scripts shellcheck clean 2020-08-23 12:10:29 +02:00
Daniel - a709a2145f
Add simple shell function to remotely run apt updates
This is a very simple function just to save some typing.  No fancy logic is
included in here, and that's deliberate.
2020-08-23 12:09:49 +02:00
Daniel - 86ded865f6
Update colors of bash prompt
It's more similar to the ZSH prompt now.
2020-08-22 16:49:01 +02:00
Daniel - 2bf8c6a932
Add more options to bashrc
Tried to learn what these options are doing, and added some that I found useful.
2020-08-22 16:39:44 +02:00
Daniel - 7f12f001c0
Move custom shell functions to common file
This allows to use the functions in both zsh and bash (and everywhere
where bash is understood).
2020-08-02 17:01:23 +02:00
Daniel - cedb09ef1b
Remove unused variable in bashrc 2020-07-25 17:10:09 +02:00
Daniel - fdf1f4e9ea
Consistently use [[ … ]] in .bashrc 2020-07-25 17:09:58 +02:00
Daniel - e1712d710c
Replace whitespace with separators in bash prompt 2020-07-25 17:08:19 +02:00
Daniel - 4db3c8d5f9
Remove redundant modeline from bashrc 2020-07-25 15:46:54 +02:00
Daniel - 645959cdf6
Make bash prompt more colorful
As a side effect, bashrc is now also shellcheck clean :)
2020-07-25 15:42:16 +02:00
Daniel - daa67974bf
Fix issues reported by shellcheck 2020-07-25 12:25:06 +02:00
Daniel - 4b73aa626d
Make bashrc to be recognized as bash 2020-07-25 12:20:19 +02:00
Daniel - 7fa90bc2c2
Fix duplicate check for interactive bash 2020-07-25 12:20:11 +02:00
Daniel - 5ad5e32b9f
Do not distinguish between login and non-login bash
I.e., move all bash related configuration to bashrc, and call it from
bash_profile.  This should make things easier, I hope.
2020-07-25 12:16:23 +02:00
Daniel - a70ea065b9
Add git information to bash prompt 2020-07-25 11:58:18 +02:00
Daniel - 4e2164d2db
Make dumb prompt more informative
This should still work with Emacs' TRAMP, but is more informative.
2020-07-25 11:46:18 +02:00
Daniel - fed4dc8d38
Move custom bash keybindings to separate inputrc
When bash is started without readline support, redefining bindings in .bashrc
yields warnings.  This is the case when starting bash as in Emacs' shell-mode,
among others.  Moving the keybindings to inputrc fixes this, and should make the
bindings available to all programs using readline.
2020-07-25 11:45:08 +02:00
Daniel - 83e3c4a53d
Add systemd service for git annex watch 2020-03-07 20:17:10 +01:00
Daniel - 78a9fc3f8c
Simplify bash prompt when terminal is dumb 2020-01-03 18:54:39 +01:00
Daniel - e34a3bd88a
Switching screens in XMonad requires a Screen Comparator now 2019-12-18 16:46:34 +01:00
Daniel - f1283a2bac
Remove taffybar support from XMonad configuration 2019-12-18 16:46:34 +01:00
Daniel - 55e51ee804
Set ZSH prompt for dumb terminal to be as simple as possible 2019-12-14 10:18:53 +01:00
Daniel - 718a26047c
Fix usage of obsolete variable in tmux configuration 2019-07-13 20:59:01 +02:00
Daniel - 366849481b
Update location of personal texmf tree 2019-06-08 17:36:28 +02:00
Daniel - f58b40ced3
Make ‘encode-with-ffmpeg’ to be bash-compatible 2019-06-08 15:39:49 +02:00
Daniel - be5b07d9d1
Update prompt definition for bash 2019-06-01 21:45:25 +02:00