hypr: stuff
This commit is contained in:
+5
-6
@@ -5,18 +5,17 @@
|
|||||||
|
|
||||||
# Services/Daemons
|
# Services/Daemons
|
||||||
exec-once = systemctl enable --user --now hyprpolkitagent.service
|
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 text --watch cliphist store
|
||||||
exec-once = wl-paste --type image --watch cliphist store
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
exec-once = ags run
|
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
exec-once = hyprpaper
|
exec-once = systemctl enable --user --now hyprpaper
|
||||||
|
|
||||||
# Scripts
|
# Scripts
|
||||||
exec-once = sh $HOME/.config/hypr/scripts/gen-pywal.sh
|
exec-once = sh $HOME/.config/hypr/scripts/gen-pywal.sh
|
||||||
exec-once = sh $HOME/.config/hypr/scripts/night-light-check.sh
|
exec-once = sh $HOME/.config/hypr/scripts/night-light-check.sh
|
||||||
|
|
||||||
# Apps
|
# Apps
|
||||||
exec-once = /bin/vesktop --start-minimized
|
exec-once = /usr/bin/env discord-canary --start-minimized
|
||||||
exec-once = /bin/steam-runtime -silent
|
exec-once = /usr/bin/env steam -silent
|
||||||
|
|||||||
+4
-9
@@ -24,7 +24,7 @@ bind = $mainMod, F, togglefloating
|
|||||||
bind = $mainMod, SPACE, exec, $menu
|
bind = $mainMod, SPACE, exec, $menu
|
||||||
bind = $mainMod, P, pseudo,
|
bind = $mainMod, P, pseudo,
|
||||||
bind = $mainMod, J, togglesplit
|
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, L, exec, $lockscreen
|
||||||
bind = $mainMod, F11, fullscreen
|
bind = $mainMod, F11, fullscreen
|
||||||
|
|
||||||
@@ -46,18 +46,13 @@ bind = , Print, exec, $screenshotSelect
|
|||||||
bind = $mainMod, Print, exec, $screenshotFull
|
bind = $mainMod, Print, exec, $screenshotFull
|
||||||
|
|
||||||
# Open clipboard
|
# 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
|
# Open wallpaper menu
|
||||||
bind = $mainMod, W, exec, sh $XDG_CONFIG_HOME/hypr/scripts/change-wallpaper.sh
|
bind = $mainMod, W, exec, sh $XDG_CONFIG_HOME/hypr/scripts/change-wallpaper.sh
|
||||||
|
|
||||||
# Reload binds
|
# Reload UI(Astal and AGS)
|
||||||
# Eww
|
bind = $mainMod, F7, exec, ags request reload
|
||||||
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
|
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
|
|||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
general {
|
general {
|
||||||
lock_cmd = echo "Locked Hyprland Session"
|
# lock_cmd = echo "Locked Hyprland Session"
|
||||||
unlock_cmd = echo "Unlocked Hyprland Session"
|
unlock_cmd = notify-send "Welcome back to Hyprland, $USER!"
|
||||||
ignore_dbus_inhibit = false
|
ignore_dbus_inhibit = false
|
||||||
ignore_systemd_inhibit = false
|
ignore_systemd_inhibit = false
|
||||||
}
|
}
|
||||||
@@ -9,5 +9,5 @@ general {
|
|||||||
listener {
|
listener {
|
||||||
timeout = 3600 # 1800 -> 30m | 3600 -> 1h | 7200 -> 2h
|
timeout = 3600 # 1800 -> 30m | 3600 -> 1h | 7200 -> 2h
|
||||||
on-timeout = hyprlock
|
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
|
position = 0, 5
|
||||||
}
|
}
|
||||||
|
|
||||||
# Media
|
# Media # TODO rework for astal and ags
|
||||||
label {
|
#label {
|
||||||
monitor =
|
# monitor =
|
||||||
font_size = 12
|
# font_size = 12
|
||||||
font_family = Cantarell
|
# font_family = Cantarell
|
||||||
color = $foreground
|
# 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"
|
# 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
|
# halign = center
|
||||||
valign = center
|
# valign = center
|
||||||
position = 0, 180
|
# position = 0, 180
|
||||||
}
|
#}
|
||||||
|
|
||||||
# Avatar
|
# Avatar
|
||||||
image {
|
image {
|
||||||
|
|||||||
+1
-1
@@ -11,5 +11,5 @@ env = __NV_PRIME_RENDER_OFFLOAD, 1
|
|||||||
|
|
||||||
cursor {
|
cursor {
|
||||||
# Set to true if you have issues
|
# Set to true if you have issues
|
||||||
no_hardware_cursors = true
|
no_hardware_cursors = false
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -2,7 +2,8 @@
|
|||||||
# HYPRLAND PLUGINS #
|
# 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 {
|
plugin {
|
||||||
# Example plugin configuration
|
# Example plugin configuration
|
||||||
|
|||||||
@@ -69,11 +69,15 @@ layerrule = blur, eww-cc
|
|||||||
layerrule = blur, eww-volume
|
layerrule = blur, eww-volume
|
||||||
layerrule = blur, eww-powermenu
|
layerrule = blur, eww-powermenu
|
||||||
layerrule = blur, top-bar
|
layerrule = blur, top-bar
|
||||||
|
layerrule = blur, osd
|
||||||
|
layerrule = blur, control-center
|
||||||
layerrule = ignorealpha .6, eww-volume
|
layerrule = ignorealpha .6, eww-volume
|
||||||
layerrule = ignorealpha .55, eww-bar
|
layerrule = ignorealpha .55, eww-bar
|
||||||
layerrule = ignorealpha .5, eww-calendar
|
layerrule = ignorealpha .5, eww-calendar
|
||||||
layerrule = ignorealpha .7, eww-cc
|
layerrule = ignorealpha .7, eww-cc
|
||||||
|
layerrule = ignorealpha .4, osd
|
||||||
layerrule = ignorealpha .55, top-bar
|
layerrule = ignorealpha .55, top-bar
|
||||||
|
layerrule = ignorealpha .5, control-center
|
||||||
|
|
||||||
# Workspace Rules
|
# Workspace Rules
|
||||||
#workspace = 1, persistent:true
|
#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