hypr: stuff
This commit is contained in:
+5
-6
@@ -5,18 +5,17 @@
|
||||
|
||||
# Services/Daemons
|
||||
exec-once = systemctl enable --user --now hyprpolkitagent.service
|
||||
exec-once = hypridle
|
||||
exec-once = systemctl enable --user --now hypridle
|
||||
exec-once = wl-paste --type text --watch cliphist store
|
||||
exec-once = wl-paste --type image --watch cliphist store
|
||||
exec-once = ags run
|
||||
|
||||
# Tools
|
||||
exec-once = hyprpaper
|
||||
exec-once = systemctl enable --user --now hyprpaper
|
||||
|
||||
# Scripts
|
||||
exec-once = sh $HOME/.config/hypr/scripts/gen-pywal.sh
|
||||
exec-once = sh $HOME/.config/hypr/scripts/night-light-check.sh
|
||||
|
||||
# Apps
|
||||
exec-once = /bin/vesktop --start-minimized
|
||||
exec-once = /bin/steam-runtime -silent
|
||||
# Apps
|
||||
exec-once = /usr/bin/env discord-canary --start-minimized
|
||||
exec-once = /usr/bin/env steam -silent
|
||||
|
||||
+4
-9
@@ -24,7 +24,7 @@ bind = $mainMod, F, togglefloating
|
||||
bind = $mainMod, SPACE, exec, $menu
|
||||
bind = $mainMod, P, pseudo,
|
||||
bind = $mainMod, J, togglesplit
|
||||
bind = $mainMod, N, exec, sh $XDG_CONFIG_HOME/eww/scripts/eww-window.sh toggle control-center
|
||||
bind = $mainMod, N, exec, astal toggle control-center
|
||||
bind = $mainMod, L, exec, $lockscreen
|
||||
bind = $mainMod, F11, fullscreen
|
||||
|
||||
@@ -46,18 +46,13 @@ bind = , Print, exec, $screenshotSelect
|
||||
bind = $mainMod, Print, exec, $screenshotFull
|
||||
|
||||
# Open clipboard
|
||||
bind = $mainMod, V, exec, cliphist list | anyrun --plugins libstdin.so | read pipe | [[ $pipe == "" ]] || echo $pipe | cliphist decode | wl-copy
|
||||
bind = $mainMod, V, exec, sh $XDG_CONFIG_HOME/hypr/scripts/clipboard-menu.sh
|
||||
|
||||
# Open wallpaper menu
|
||||
bind = $mainMod, W, exec, sh $XDG_CONFIG_HOME/hypr/scripts/change-wallpaper.sh
|
||||
|
||||
# Reload binds
|
||||
# Eww
|
||||
bind = $mainMod, F7, exec, eww reload
|
||||
# Hyprpaper (Wallpaper)
|
||||
bind = $mainMod, F8, exec, pkill hyprpaper && hyprpaper
|
||||
# Dunst (Notification daemon)
|
||||
bind = $mainMod, F9, exec, pkill dunst && dunst
|
||||
# Reload UI(Astal and AGS)
|
||||
bind = $mainMod, F7, exec, ags request reload
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
|
||||
general {
|
||||
lock_cmd = echo "Locked Hyprland Session"
|
||||
unlock_cmd = echo "Unlocked Hyprland Session"
|
||||
# lock_cmd = echo "Locked Hyprland Session"
|
||||
unlock_cmd = notify-send "Welcome back to Hyprland, $USER!"
|
||||
ignore_dbus_inhibit = false
|
||||
ignore_systemd_inhibit = false
|
||||
}
|
||||
@@ -9,5 +9,5 @@ general {
|
||||
listener {
|
||||
timeout = 3600 # 1800 -> 30m | 3600 -> 1h | 7200 -> 2h
|
||||
on-timeout = hyprlock
|
||||
on-resume = notify-send "Welcome back to Hyprland, $USER!"
|
||||
# on-resume = notify-send "Welcome back to Hyprland, $USER!"
|
||||
}
|
||||
|
||||
+11
-11
@@ -74,17 +74,17 @@ label {
|
||||
position = 0, 5
|
||||
}
|
||||
|
||||
# Media
|
||||
label {
|
||||
monitor =
|
||||
font_size = 12
|
||||
font_family = Cantarell
|
||||
color = $foreground
|
||||
text = cmd[update:1000] JSON_MEDIA=$(eww get json_media | jq -c '.'); PLAYER=$(echo $JSON_MEDIA | jq -r ".player"); TITLE=$(echo $JSON_MEDIA | jq -r ".title"); ARTIST=$(echo $JSON_MEDIA | jq -r ".artist"); [[ "$JSON_MEDIA" == "" ]] || sh -c "echo -e $([[ $PLAYER =~ 'spotify' ]] && echo -e '' || echo -e '') $TITLE - $ARTIST"
|
||||
halign = center
|
||||
valign = center
|
||||
position = 0, 180
|
||||
}
|
||||
# Media # TODO rework for astal and ags
|
||||
#label {
|
||||
# monitor =
|
||||
# font_size = 12
|
||||
# font_family = Cantarell
|
||||
# color = $foreground
|
||||
# text = cmd[update:1000] JSON_MEDIA=$(eww get json_media | jq -c '.'); PLAYER=$(echo $JSON_MEDIA | jq -r ".player"); TITLE=$(echo $JSON_MEDIA | jq -r ".title"); ARTIST=$(echo $JSON_MEDIA | jq -r ".artist"); [[ "$JSON_MEDIA" == "" ]] || sh -c "echo -e $([[ $PLAYER =~ 'spotify' ]] && echo -e '' || echo -e '') $TITLE - $ARTIST"
|
||||
# halign = center
|
||||
# valign = center
|
||||
# position = 0, 180
|
||||
#}
|
||||
|
||||
# Avatar
|
||||
image {
|
||||
|
||||
+1
-1
@@ -11,5 +11,5 @@ env = __NV_PRIME_RENDER_OFFLOAD, 1
|
||||
|
||||
cursor {
|
||||
# Set to true if you have issues
|
||||
no_hardware_cursors = true
|
||||
no_hardware_cursors = false
|
||||
}
|
||||
|
||||
+2
-1
@@ -2,7 +2,8 @@
|
||||
# HYPRLAND PLUGINS #
|
||||
####################
|
||||
|
||||
# You can add your preferred plugins here. Get help on how to do so: https://wiki.hyprland.org/Plugins/Using-Plugins/
|
||||
# You can add your preferred plugins here. Get help on
|
||||
# how to do so: https://wiki.hyprland.org/Plugins/Using-Plugins
|
||||
|
||||
plugin {
|
||||
# Example plugin configuration
|
||||
|
||||
@@ -69,11 +69,15 @@ layerrule = blur, eww-cc
|
||||
layerrule = blur, eww-volume
|
||||
layerrule = blur, eww-powermenu
|
||||
layerrule = blur, top-bar
|
||||
layerrule = blur, osd
|
||||
layerrule = blur, control-center
|
||||
layerrule = ignorealpha .6, eww-volume
|
||||
layerrule = ignorealpha .55, eww-bar
|
||||
layerrule = ignorealpha .5, eww-calendar
|
||||
layerrule = ignorealpha .7, eww-cc
|
||||
layerrule = ignorealpha .4, osd
|
||||
layerrule = ignorealpha .55, top-bar
|
||||
layerrule = ignorealpha .5, control-center
|
||||
|
||||
# Workspace Rules
|
||||
#workspace = 1, persistent:true
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cliphist list | anyrun --plugins libstdin.so | read pipe
|
||||
|
||||
if [[ ! -z "$pipe" ]]; then
|
||||
echo $pipe | cliphist decode | wl-copy
|
||||
fi
|
||||
Reference in New Issue
Block a user