mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-09-13 02:30:04 +00:00
Compare commits
4 commits
aa246b5cda
...
aedbfed456
Author | SHA1 | Date | |
---|---|---|---|
aedbfed456 | |||
f3b280a56e | |||
aa039ff3b3 | |||
d923d19111 |
7 changed files with 55 additions and 3 deletions
|
@ -63,6 +63,16 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
# #####################
|
||||||
|
# ### NOTIFICATIONS ###
|
||||||
|
# #####################
|
||||||
|
|
||||||
|
bind = CTRL, grave, exec, swaync-client --close-latest
|
||||||
|
bind = CTRL_SHIFT, grave, exec, swaync-client --close-all
|
||||||
|
bind = CTRL_ALT, grave, exec, swaync-client --hide-latest
|
||||||
|
bind = CTRL, period, exec, swaync-client --toggle-panel
|
||||||
|
bind = SUPER_SHIFT, D, exec, toggle-notifications
|
||||||
|
|
||||||
# ##########################
|
# ##########################
|
||||||
# ### BRIGHTNESS CONTROL ###
|
# ### BRIGHTNESS CONTROL ###
|
||||||
# ##########################
|
# ##########################
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
windowrulev2 = workspace 2, class:^(firefox)$
|
windowrulev2 = workspace 2, class:^(firefox)$
|
||||||
windowrulev2 = workspace 4, class:^(discord)$
|
windowrulev2 = workspace 4, class:^(discord)$
|
||||||
windowrulev2 = workspace 4, class:^(vesktop)$
|
windowrulev2 = workspace 4, class:^(vesktop)$
|
||||||
|
windowrulev2 = workspace 4, class:^(Slack)$
|
||||||
windowrulev2 = workspace 4, class:^(WebCord)$
|
windowrulev2 = workspace 4, class:^(WebCord)$
|
||||||
windowrulev2 = workspace 5, class:^(Spotify)$
|
windowrulev2 = workspace 5, class:^(Spotify)$
|
||||||
windowrulev2 = workspace 6, class:^(Stremio)$
|
windowrulev2 = workspace 6, class:^(Stremio)$
|
||||||
|
|
17
home/.config/systemd/user/hyprlock.service
Normal file
17
home/.config/systemd/user/hyprlock.service
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Run hyprlock screenlocker on lock dbus event (using systemd-lock-handler)
|
||||||
|
Requisite=graphical-session.target
|
||||||
|
# If hyprlock exits cleanly, enter a 'unlock' target
|
||||||
|
OnSuccess=unlock.target
|
||||||
|
# When lock is stopped, stop this unit too
|
||||||
|
PartOf=lock.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/hyprlock
|
||||||
|
StandardOutput=journal
|
||||||
|
ExecStopPost=/bin/loginctl unlock-session
|
||||||
|
Restart=on-failure
|
||||||
|
Slice=session-graphical.slice
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=lock.target
|
12
home/.config/systemd/user/swaync-inhibit-lock.service
Normal file
12
home/.config/systemd/user/swaync-inhibit-lock.service
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Inhibit swaync notifications on lock dbus event (using systemd-lock-handler)
|
||||||
|
Requisite=swaync.service
|
||||||
|
Before=lock.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/swaync-client --inhibitor-add screen-locker
|
||||||
|
Slice=session-graphical.slice
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=lock.target
|
12
home/.config/systemd/user/swaync-inhibit-unlock.service
Normal file
12
home/.config/systemd/user/swaync-inhibit-unlock.service
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Uninhibit swaync notifications on unlock event
|
||||||
|
Requisite=swaync.service
|
||||||
|
After=unlock.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/swaync-client --inhibitor-remove screen-locker
|
||||||
|
Slice=session-graphical.slice
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=unlock.target
|
|
@ -7,8 +7,8 @@
|
||||||
#
|
#
|
||||||
#XDG_DESKTOP_DIR="$HOME/Desktop"
|
#XDG_DESKTOP_DIR="$HOME/Desktop"
|
||||||
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
||||||
XDG_TEMPLATES_DIR="$XDG_DATA_HOME/templates"
|
XDG_TEMPLATES_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/templates"
|
||||||
XDG_PUBLICSHARE_DIR="$XDG_DATA_HOME/public"
|
XDG_PUBLICSHARE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/public"
|
||||||
#XDG_DOCUMENTS_DIR="$HOME/Documents"
|
#XDG_DOCUMENTS_DIR="$HOME/Documents"
|
||||||
XDG_MUSIC_DIR="$HOME/Media/Music"
|
XDG_MUSIC_DIR="$HOME/Media/Music"
|
||||||
XDG_PICTURES_DIR="$HOME/Media/Pictures"
|
XDG_PICTURES_DIR="$HOME/Media/Pictures"
|
||||||
|
|
|
@ -146,7 +146,7 @@ gsettings set org.gnome.desktop.interface cursor-size 24
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
sudo systemctl enable --now seatd.service
|
sudo systemctl enable --now seatd.service
|
||||||
systemctl --user enable polkit-gnome-agent.service fumon.service hyprpaper.service hypridle.service hyprsunset.service elephant.service walker.service swaync.service
|
systemctl --user enable polkit-gnome-agent.service fumon.service hyprpaper.service hypridle.service hyprsunset.service elephant.service walker.service swaync.service systemd-lock-handler.service hyprlock.service swaync-inhibit-lock.service swaync-inhibit-unlock.service
|
||||||
|
|
||||||
echo "GUI Installation finished, you should now reboot and run uwsm start hyprland.desktop"
|
echo "GUI Installation finished, you should now reboot and run uwsm start hyprland.desktop"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue