mirror of
https://github.com/eliasrenman/dotfiles.git
synced 2026-03-16 20:46:08 +01:00
updated styling
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
preload = ~/wallpapers/forest-view.jpg
|
||||
preload = ~/wallpapers/the-golden-sun.png
|
||||
preload = ~/wallpapers/forest-view.jpg
|
||||
|
||||
wallpaper = eDP-1,~/wallpapers/forest-view.jpg
|
||||
wallpaper = ,~/wallpapers/the-golden-sun.png
|
||||
wallpaper = ,~/wallpapers/forest-view.jpg
|
||||
|
||||
@@ -79,9 +79,13 @@ bind=, XF86AudioPrev, exec, playerctl previous
|
||||
#
|
||||
bind=,XF86PowerOff, exec, wlogout
|
||||
# Laptop lid switch
|
||||
bindl=,switch:on:Lid Switch,exec,swaylock
|
||||
bindl=,switch:on:Lid Switch,exec, sh ./scripts/lock.sh
|
||||
bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 3000x2000@60,0x0,auto"
|
||||
bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
|
||||
# Screen brightness
|
||||
bind=,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
||||
bind=,XF86MonBrightnessUp,exec,brightnessctl set +5%
|
||||
|
||||
# screenshot
|
||||
bind =, Print, exec, grim -g "$(slurp -d)" - | wl-copy
|
||||
bind = SHIFT, Print, exec, hyprpicker -a
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
general {
|
||||
gaps_in=10
|
||||
gaps_out=0
|
||||
border_size=3
|
||||
col.inactive_border=rgba(f7768eff) rgba(73dacaff) 45deg
|
||||
col.active_border=rgba(73dacaff) rgba(f7768eff) 45deg
|
||||
border_size=2
|
||||
col.inactive_border=rgba(f7768eff) rgba(bb9af7ff) 45deg
|
||||
col.active_border=rgba(bb9af7ff) rgba(f7768eff) 45deg
|
||||
no_border_on_floating = false
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -110,11 +110,10 @@ windowrule = float, confirmreset
|
||||
windowrule = float, title:Open File
|
||||
windowrule = float, title:branchdialog
|
||||
windowrule = float, Lxappearance
|
||||
windowrule = float, wofi
|
||||
#windowrulev2 = rounding 0 override, class:(wofi)
|
||||
windowrule = float, class:(wofi)
|
||||
windowrule = float,viewnior
|
||||
# windowrule = float,feh
|
||||
windowrule = float, pavucontrol-qt
|
||||
windowrule = float, pavucontrol
|
||||
windowrulev2 = tile, title:^(.*)(Godot)(.*)$
|
||||
# windowrule = float, file-roller
|
||||
windowrule = fullscreen, wlogout
|
||||
@@ -136,3 +135,10 @@ windowrulev2 = workspace 3, title:^(Spotify)(.*)$
|
||||
windowrulev2 = workspace 3, class:^(Slack)$
|
||||
windowrulev2 = workspace special, class:^(thunar)$
|
||||
windowrulev2 = workspace special, class:^(YouTube Music)$
|
||||
|
||||
# Screen share settings
|
||||
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
||||
|
||||
11
hypr/scripts/lock.sh
Normal file
11
hypr/scripts/lock.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Split the string into an array at spaces
|
||||
read -ra words <<<"$(xrandr | grep " connected" | awk '{print $1}')"
|
||||
|
||||
# Count the length of the array
|
||||
length=${#words[@]}
|
||||
|
||||
if [ -z "$length" ]; then
|
||||
exec swaylock
|
||||
fi
|
||||
Reference in New Issue
Block a user