added hypr configs
This commit is contained in:
parent
7c632d8163
commit
1eedc532f0
3 changed files with 394 additions and 0 deletions
39
config/hypr/hypridle.conf
Normal file
39
config/hypr/hypridle.conf
Normal file
|
@ -0,0 +1,39 @@
|
|||
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.
|
||||
}
|
||||
|
||||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
||||
#listener {
|
||||
# timeout = 150 # 2.5min
|
||||
# on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
|
||||
# on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
|
||||
#}
|
||||
|
||||
listener {
|
||||
timeout = 210 # 3.5min
|
||||
on-timeout = brightnessctl -s set 40 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||
on-resume = brightnessctl -r # monitor backlight restore.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 297 # 4min57s
|
||||
on-timeout = chayang -d 3 # dim monitor
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 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 = 600 # 10min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
280
config/hypr/hyprland.conf
Normal file
280
config/hypr/hyprland.conf
Normal file
|
@ -0,0 +1,280 @@
|
|||
# This is an example Hyprland config file.
|
||||
#
|
||||
# Refer to the wiki for more information.
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
#monitor=HDMI-A-2, 1920x1080, 1920x0, 1
|
||||
#monitor=DVI-D-1, 1920x1080, 0x0, 1
|
||||
monitor = , preferred, auto, 1
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,24
|
||||
env = XCURSOR_THEME,Bibata-Modern-Classic
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
|
||||
#env = SDL_VIDEODRIVER,wayland
|
||||
env = QT_QPA_PLATFORM,wayland;xcb
|
||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||
env = QT_STYLE_OVERRIDE,kvantum
|
||||
#env = XDG_CURRENT_DESKTOP,hyprland
|
||||
env = XDG_SESSION_DESKTOP,hyprland
|
||||
env = XDG_SESSION_TYPE,hyprland
|
||||
env = GDK_BACKEND,wayland,x11,*
|
||||
env = GTK_THEME,cachyos-nord:dark
|
||||
env = PATH,$HOME/bin:$PATH
|
||||
env = HYPRSHOT_DIR,/home/siren/Pictures/Screenshots
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
#kb_layout = us
|
||||
#kb_variant =
|
||||
kb_layout = de
|
||||
kb_variant = nodeadkeys
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
numlock_by_default = true
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = false
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 2
|
||||
gaps_out = 2
|
||||
border_size = 2
|
||||
col.active_border = rgba(82dcccff) rgba(01ccffff) 45deg
|
||||
col.inactive_border = rgba(007d6fff) rgba(182545ff) 45deg
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
inactive_opacity = 0.95
|
||||
rounding = 6
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
new_optimizations = true
|
||||
#xray = true
|
||||
}
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = 0xee1a1a1
|
||||
}
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 5, default, fade
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # you probably want this
|
||||
smart_split = true
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
orientation = center
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = false
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
#device:epic-mouse-v1 {
|
||||
# sensitivity = -0.5
|
||||
#}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
mouse_move_enables_dpms = true
|
||||
key_press_enables_dpms = true
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float,^(*ksnip)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
# Workspace Rules
|
||||
#workspace = 1, monitor:HDMI-A-2
|
||||
#workspace = 2, monitor:HDMI-A-2
|
||||
#workspace = 3, monitor:HDMI-A-2
|
||||
#workspace = 4, monitor:HDMI-A-2
|
||||
#workspace = 5, monitor:HDMI-A-2
|
||||
#workspace = 6, monitor:HDMI-A-2
|
||||
#workspace = 7, monitor:HDMI-A-2
|
||||
#workspace = 8, monitor:HDMI-A-2
|
||||
#workspace = 9, monitor:HDMI-A-2
|
||||
#workspace = 10, monitor:HDMI-A-2
|
||||
#workspace = 11, monitor:DVI-D-1
|
||||
#workspace = 12, monitor:DVI-D-1
|
||||
#workspace = 13, monitor:DVI-D-1
|
||||
#workspace = 14, monitor:DVI-D-1
|
||||
#workspace = 15, monitor:DVI-D-1
|
||||
#workspace = 16, monitor:DVI-D-1
|
||||
#workspace = 17, monitor:DVI-D-1
|
||||
#workspace = 18, monitor:DVI-D-1
|
||||
#workspace = 19, monitor:DVI-D-1
|
||||
#workspace = 20, monitor:DVI-D-1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Q, exec, alacritty
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod SHIFT, M, exit,
|
||||
bind = $mainMod, E, exec, nemo
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, wofi -S drun,run
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, F, fullscreen, # dwindle
|
||||
bind = $mainMod, N, exec, swaync-client -t -sw # swaync
|
||||
bind = $mainMod SHIFT, S, exec, systemctl suspend
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
#bind = $mainMod, left, movefocus, l
|
||||
#bind = $mainMod, right, movefocus, r
|
||||
#bind = $mainMod, up, movefocus, u
|
||||
#bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
#bind = $mainMod ALT, 1, workspace, 11
|
||||
#bind = $mainMod ALT, 2, workspace, 12
|
||||
#bind = $mainMod ALT, 3, workspace, 13
|
||||
#bind = $mainMod ALT, 4, workspace, 14
|
||||
#bind = $mainMod ALT, 5, workspace, 15
|
||||
#bind = $mainMod ALT, 6, workspace, 16
|
||||
#bind = $mainMod ALT, 7, workspace, 17
|
||||
#bind = $mainMod ALT, 8, workspace, 18
|
||||
#bind = $mainMod ALT, 9, workspace, 19
|
||||
#bind = $mainMod ALT, 0, workspace, 20
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
#bind = $mainMod SHIFT ALT, 1, movetoworkspace, 11
|
||||
#bind = $mainMod SHIFT ALT, 2, movetoworkspace, 12
|
||||
#bind = $mainMod SHIFT ALT, 3, movetoworkspace, 13
|
||||
#bind = $mainMod SHIFT ALT, 4, movetoworkspace, 14
|
||||
#bind = $mainMod SHIFT ALT, 5, movetoworkspace, 15
|
||||
#bind = $mainMod SHIFT ALT, 6, movetoworkspace, 16
|
||||
#bind = $mainMod SHIFT ALT, 7, movetoworkspace, 17
|
||||
#bind = $mainMod SHIFT ALT, 8, movetoworkspace, 18
|
||||
#bind = $mainMod SHIFT ALT, 9, movetoworkspace, 19
|
||||
#bind = $mainMod SHIFT ALT, 0, movetoworkspace, 20
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, m+1
|
||||
bind = $mainMod, mouse_up, workspace, m-1
|
||||
|
||||
# go to previous or next workspace with mainMod + arrow keys
|
||||
bind = $mainMod, left, workspace, r-1
|
||||
bind = $mainMod, right, workspace, r+1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Suspend
|
||||
bind = , XF86Sleep, exec, systemctl suspend
|
||||
bind = $mainMod, L, exec, hyprlock
|
||||
|
||||
# Brightness
|
||||
#bindel = , XF86MonBrightnessUp, exec, brightnessctl set 10%+
|
||||
#bindel = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
|
||||
bindl = , XF86MonBrightnessUp, exec, swayosd-client --brightness +10
|
||||
bindl = , XF86MonBrightnessDown, exec, swayosd-client --brightness -10
|
||||
|
||||
# Media keys
|
||||
#bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
#bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
#bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
#bindl = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindl = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume 5
|
||||
bindl = , XF86AudioLowerVolume, exec, swayosd-client --output-volume -5
|
||||
bindl = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
|
||||
bindl = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle
|
||||
|
||||
# Screenshots
|
||||
bind = , PRINT, exec, hyprshot -m output # screenshot a monitor
|
||||
bind = $mainMod, PRINT, exec, hyprshot -m window # screenshot a window
|
||||
bind = $mainMod SHIFT, PRINT, exec, hyprshot -m region # screenshot a region
|
||||
|
||||
# Autolaunch
|
||||
#exec-once = hyprpaper
|
||||
exec-once = swaybg -o \* -i /home/siren/Pictures/wallpaper/cachy_btw_swirl.jpg -m fill &
|
||||
exec-once = hypridle &
|
||||
exec-once = waybar -c .config/waybar/config-hypr &
|
||||
exec-once = swaync &
|
||||
exec-once = copyq --start-server &
|
||||
#exec-once = gammastep-indicator
|
||||
#exec-once = nextcloud
|
||||
exec-once = swayosd-server &
|
||||
exec-once = systemctl --user start hyprpolkitagent &
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
|
75
config/hypr/hyprlock.conf
Normal file
75
config/hypr/hyprlock.conf
Normal file
|
@ -0,0 +1,75 @@
|
|||
background {
|
||||
monitor =
|
||||
#path = screenshot
|
||||
path = /home/siren/Pictures/wallpaper/swirl.jpg
|
||||
color = rgba(17, 17, 17, 1.0)
|
||||
blur_passes = 2
|
||||
}
|
||||
input-field {
|
||||
monitor =
|
||||
size = 275, 40%
|
||||
outline_thickness = 2
|
||||
|
||||
#placeholder_text = insert password
|
||||
#hide_input = true
|
||||
|
||||
inner_color = rgba(0, 0, 0, 0.4)
|
||||
outer_color = rgba(44, 44, 44, 0.4)
|
||||
#check_color = rgba(0, 170, 136, 1)
|
||||
#fail_color = rgba(255, 144, 116, 1)
|
||||
|
||||
font_family = Ubuntu
|
||||
font_color = rgb(204, 204, 204)
|
||||
fade_on_empty = false
|
||||
rounding = 15
|
||||
|
||||
position = 0, -20
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$(date)"
|
||||
color = rgba(204, 204, 204, 1.0)
|
||||
font_size = 16
|
||||
font_family = Bahnschrift
|
||||
|
||||
position = 0, 180
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
label {
|
||||
monitor =
|
||||
text = welcome back $USER
|
||||
color = rgba(197, 197, 197, 1.0)
|
||||
font_size = 25
|
||||
font_family = Ubuntu
|
||||
|
||||
position = 0, 80
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
shape {
|
||||
monitor =
|
||||
size = 360, 60
|
||||
color = rgba(0, 0, 0, 0.0) # no fill
|
||||
rounding = -1 # circle
|
||||
border_size = 4
|
||||
#border_color = rgba(46, 40, 76, 1)
|
||||
border_color = rgba(0, 125, 111, 1)
|
||||
|
||||
position = 0, 80
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:0] echo "$(fortune -s)"
|
||||
color = rgba(197, 197, 197, 1.0)
|
||||
font_size = 12
|
||||
font_family = Ubuntu
|
||||
|
||||
position = 0, 30
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
Loading…
Reference in a new issue