changes
This commit is contained in:
parent
0d9cdaa53e
commit
cb7dc24caf
Binary file not shown.
|
After Width: | Height: | Size: 152 KiB |
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
hyprctl dispatch focuswindow class:Spotify
|
||||||
|
hyprctl dispatch movetoworkspacesilent 10
|
||||||
|
hyprctl dispatch moveworkspacetomonitor 10 DP-7
|
||||||
|
|
||||||
|
hyprctl dispatch focuswindow class:brave-browser
|
||||||
|
hyprctl dispatch movetoworkspacesilent 2
|
||||||
|
hyprctl dispatch moveworkspacetomonitor 2 DP-7
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
general {
|
||||||
|
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||||
|
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||||
|
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 150 # 2.5min.
|
||||||
|
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||||
|
on-resume = brightnessctl -r # monitor backlight restore.
|
||||||
|
}
|
||||||
|
|
||||||
|
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
||||||
|
listener {
|
||||||
|
timeout = 150 # 2.5min.
|
||||||
|
on-timeout = brightnessctl -sd phy0-led set 0 # turn off keyboard backlight.
|
||||||
|
on-resume = brightnessctl -rd phy0-led # turn on keyboard backlight.
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 300 # 5min
|
||||||
|
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 330 # 5.5min
|
||||||
|
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||||
|
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
||||||
|
}
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 1800 # 30min
|
||||||
|
on-timeout = systemctl suspend # suspend pc
|
||||||
|
}
|
||||||
|
|
@ -33,6 +33,10 @@ $sudomenu = rofi -modi drun,run -show drun -run-command 'lxsu {cmd}'
|
||||||
|
|
||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
|
#
|
||||||
|
|
||||||
|
exec-once = eval $(gnome-keyring-daemon --start)
|
||||||
|
exec-once = export SSH_AUTH_SOCK
|
||||||
|
|
||||||
exec-once = $terminal
|
exec-once = $terminal
|
||||||
exec = kanshi
|
exec = kanshi
|
||||||
|
|
@ -40,11 +44,14 @@ exec = hyprpaper
|
||||||
exec-once = nm-applet &
|
exec-once = nm-applet &
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = copyq
|
exec-once = copyq
|
||||||
exec-once = brave
|
exec-once = brave --password-store=gnome
|
||||||
exec-once = spotify
|
exec-once = spotify
|
||||||
exec-once = blueman-manager
|
|
||||||
exec-once = obsidian
|
exec-once = obsidian
|
||||||
exec-once = streamdeck -n
|
exec-once = streamdeck -n
|
||||||
|
exec-once = hypridle
|
||||||
|
exec-once = nm-applet --indicator
|
||||||
|
exec-once = blueman-applet
|
||||||
|
exec-once = export shutter --min_at_startup
|
||||||
#exec = $XDG_CONFIG_HOME/hypr/set_workspace.sh
|
#exec = $XDG_CONFIG_HOME/hypr/set_workspace.sh
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
|
|
@ -68,13 +75,14 @@ env = XDG_SESSION_DESKTOP,Hyprland
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||||
general {
|
general {
|
||||||
gaps_in = 5
|
gaps_in = 5
|
||||||
gaps_out = 20
|
gaps_out = 7
|
||||||
|
|
||||||
border_size = 2
|
border_size = 2
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||||
col.active_border = rgba(C90E6Fee) rgba(6A00DFee) 45deg
|
#col.active_border = rgba(8839efFF)
|
||||||
col.inactive_border = rgba(595959aa)
|
col.active_border = rgba(ff3c86FF)
|
||||||
|
col.inactive_border = rgba(b8c0e0bb)
|
||||||
|
|
||||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||||
resize_on_border = false
|
resize_on_border = false
|
||||||
|
|
@ -87,17 +95,17 @@ general {
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||||
decoration {
|
decoration {
|
||||||
rounding = 5
|
rounding = 0
|
||||||
|
|
||||||
# Change transparency of focused and unfocused windows
|
# Change transparency of focused and unfocused windows
|
||||||
active_opacity = 1.0
|
active_opacity = 1.0
|
||||||
inactive_opacity = 1.0
|
inactive_opacity = 0.9
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
blur {
|
blur {
|
||||||
enabled = true
|
enabled = true
|
||||||
size = 3
|
size = 3
|
||||||
passes = 1
|
passes = 2
|
||||||
|
|
||||||
vibrancy = 0.1696
|
vibrancy = 0.1696
|
||||||
}
|
}
|
||||||
|
|
@ -222,6 +230,7 @@ bind = $mainMod, 7, workspace, 7
|
||||||
bind = $mainMod, 8, workspace, 8
|
bind = $mainMod, 8, workspace, 8
|
||||||
bind = $mainMod, 9, workspace, 9
|
bind = $mainMod, 9, workspace, 9
|
||||||
bind = $mainMod, 0, workspace, 10
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
bind = $mainMod&Control_L, G, workspace, 99
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
|
|
@ -234,6 +243,7 @@ bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
bind = $mainMod Control_L&SHIFT, G, movetoworkspace, 99
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
# Example special workspace (scratchpad)
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
|
|
@ -250,7 +260,7 @@ bindm = $mainMod, mouse:273, resizewindow
|
||||||
bind = ALT_L, L, exec, hyprlock
|
bind = ALT_L, L, exec, hyprlock
|
||||||
#bind = ALT_L $mainmod, L, exec, hyprlock & systemctl suspend
|
#bind = ALT_L $mainmod, L, exec, hyprlock & systemctl suspend
|
||||||
|
|
||||||
bind = , Print, exec, hyprshot -m window -z -o ~/pictures/screenshots
|
bind = , Print, exec, grim -g "$(slurp)" - | copyq copy image/png -
|
||||||
##############################
|
##############################
|
||||||
### WINDOWS AND WORKSPACES ###
|
### WINDOWS AND WORKSPACES ###
|
||||||
##############################
|
##############################
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
next)
|
||||||
|
qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
|
||||||
|
;;
|
||||||
|
|
||||||
|
prev)
|
||||||
|
qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
|
||||||
|
;;
|
||||||
|
|
||||||
|
playpause)
|
||||||
qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
|
qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
|
||||||
|
;;
|
||||||
|
|
||||||
|
esac
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue