Mutes audio at 21:00 and unmutes at 07:00, but only when the idle-inhibit toggle is active (PID file exists). This is useful for leaving the computer running overnight for SSH access while keeping it quiet for sleeping.
111 lines
2.8 KiB
Markdown
111 lines
2.8 KiB
Markdown
Jeena's Hyprland setup
|
|
======================
|
|
|
|
This git repo hosts all the dotfiles I need for my hyprland setup. You
|
|
can use it to learn and to copy from it, but you probably don't want
|
|
to just use it as it is because it's very opinionated and hard coded.
|
|
|
|
If you want a readymade one then I'd suggest https://omarchy.org/
|
|
|
|
Introduction Video
|
|
==================
|
|
|
|
[Jeena's Hyprland Demo](https://tube.jeena.net/w/2EpbXJnMrDokc3362oXSTQ)
|
|
|
|
Screenshots
|
|
===========
|
|
|
|
Hyprlock lockscreen with custom font and showing keyboard layout
|
|

|
|
|
|
Empty hyprland screen
|
|

|
|
|
|
Firefox and Kitty side by side, no margin on the outside
|
|

|
|
|
|
If only one window is visible, border is removed
|
|

|
|
|
|
Tofi as app menu
|
|

|
|
|
|
nmtui to edit network and tofi to choose I/O audio devices
|
|

|
|
|
|
wlogout menu
|
|

|
|
|
|
Install
|
|
=======
|
|
|
|
You need to clone this git repository to your computer, let's assume
|
|
you do:
|
|
|
|
```
|
|
mkdir -p ~/Projects/
|
|
cd ~/Projects/
|
|
git clone https://git.jeena.net/jeena/hypr-dotfiles.git
|
|
```
|
|
|
|
The next step is to set up a hostname config where you can overwrite
|
|
hyprland configs for a specific host:
|
|
|
|
```
|
|
cd ~/Projects/hypr-dotfiles/hypr/hosts/
|
|
touch $(hostname).conf
|
|
ln -s $(hostname).conf host.conf
|
|
```
|
|
|
|
|
|
Then you need to soft link the directories in this git repo to the
|
|
`~/.config/` directory, make sure that those directories don't exist
|
|
yet in your `~/.config`, you will need to delete or move them
|
|
before. In our example it would be:
|
|
|
|
```
|
|
cd ~/.config
|
|
ln -s ~/Projects/hypr-dotfiles/hypr hypr
|
|
ln -s ~/Projects/hypr-dotfiles/waybar waybar
|
|
ln -s ~/Projects/hypr-dotfiles/tofi tofi
|
|
ln -s ~/Projects/hypr-dotfiles/wlogout wlogout
|
|
ln -s ~/Projects/hypr-dotfiles/kitty kitty
|
|
ln -s ~/Projects/hypr-dotfiles/helix helix
|
|
```
|
|
|
|
To enable the auto-mute/unmute timers (mutes at 21:00, unmutes at
|
|
07:00, only when idle-inhibit is active), link the systemd user units:
|
|
|
|
```
|
|
systemctl --user link ~/Projects/hypr-dotfiles/systemd/user/auto-mute.service
|
|
systemctl --user link ~/Projects/hypr-dotfiles/systemd/user/auto-mute.timer
|
|
systemctl --user link ~/Projects/hypr-dotfiles/systemd/user/auto-unmute.service
|
|
systemctl --user link ~/Projects/hypr-dotfiles/systemd/user/auto-unmute.timer
|
|
systemctl --user enable --now auto-mute.timer auto-unmute.timer
|
|
```
|
|
|
|
You also need to install all the dependencies:
|
|
|
|
- hyprland
|
|
- hypridle
|
|
- hyprlock
|
|
- wlogout
|
|
- tofi
|
|
- waybar
|
|
- swaybg
|
|
- nmtui
|
|
- kitty
|
|
- python3
|
|
- Curved Square font https://www.1001freefonts.com/curved-square.font
|
|
- FontAwesome
|
|
- JetBrainsMono Font
|
|
- xdg-desktop-portal-hyprland
|
|
- xdg-desktop-portal-gtk
|
|
|
|
There are probably more, I will update the list next time I'm
|
|
installing it on a new computer.
|
|
|
|
License
|
|
=======
|
|
|
|
All scripts here are under the GPL-v3 or a later version.
|