updated hyprland config for pc and laptop
This commit is contained in:
17
.config/hypr/conf.d/10-appearance.conf##hostname.viking-mate
Normal file
17
.config/hypr/conf.d/10-appearance.conf##hostname.viking-mate
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
general { gaps_in = 6; gaps_out = 12; border_size = 2; col.active_border = rgba(4f84ccff) rgba(3c6eb1ff) 45deg; col.inactive_border = rgba(4f84cc80); layout = master; }
|
||||||
|
decoration { rounding = 8; blur = yes; blur_size = 7; blur_passes = 3; drop_shadow = yes; shadow_range = 20; shadow_render_power = 3; col.shadow = rgba(00000066); }
|
||||||
|
animations { enabled = yes; bezier = ease, 0.05, 0.9, 0.1, 1.0; animation = windows, 1, 5, ease, slide; animation = windowsOut, 1, 5, ease, slide; animation = border, 1, 10, default; animation = fade, 1, 7, ease; animation = workspaces, 1, 6, ease; }
|
||||||
|
|
||||||
|
input {
|
||||||
|
kb_layout = ultimatekeys
|
||||||
|
follow_mouse = 1
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = true
|
||||||
|
tap-to-click = true
|
||||||
|
middle_button_emulation = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
master { new_is_master = true; mfact = 0.56; orientation = left; }
|
||||||
|
xwayland { force_zero_scaling = true; }
|
||||||
|
|
@@ -0,0 +1,3 @@
|
|||||||
|
# Adjust resolution/refresh after survey if needed
|
||||||
|
monitor = eDP-1, preferred, auto, 1
|
||||||
|
|
11
.config/hypr/conf.d/30-workspaces.conf##hostname.viking-mate
Normal file
11
.config/hypr/conf.d/30-workspaces.conf##hostname.viking-mate
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Single display: keep 1-9 on eDP-1
|
||||||
|
workspace = 1, monitor:eDP-1
|
||||||
|
workspace = 2, monitor:eDP-1
|
||||||
|
workspace = 3, monitor:eDP-1
|
||||||
|
workspace = 4, monitor:eDP-1
|
||||||
|
workspace = 5, monitor:eDP-1
|
||||||
|
workspace = 6, monitor:eDP-1
|
||||||
|
workspace = 7, monitor:eDP-1
|
||||||
|
workspace = 8, monitor:eDP-1
|
||||||
|
workspace = 9, monitor:eDP-1
|
||||||
|
|
@@ -83,13 +83,8 @@ bind = $mainMod CTRL, A, exec, $notcloseall
|
|||||||
#bind = ALT SHIFT, 4, exec, GRIMBLAST_EDITOR="satty -f" grimblast --notify edit area
|
#bind = ALT SHIFT, 4, exec, GRIMBLAST_EDITOR="satty -f" grimblast --notify edit area
|
||||||
|
|
||||||
#testing stuff
|
#testing stuff
|
||||||
<<<<<<< HEAD
|
|
||||||
bind = ALT SHIFT, 3, exec, GRIMBLAST_EDITOR="/home/cnachtigall/data/git/clone/Satty/target/debug/satty -f" grimblast --notify edit output
|
bind = ALT SHIFT, 3, exec, GRIMBLAST_EDITOR="/home/cnachtigall/data/git/clone/Satty/target/debug/satty -f" grimblast --notify edit output
|
||||||
bind = ALT SHIFT, 4, exec, GRIMBLAST_EDITOR="/home/cnachtigall/data/git/clone/Satty/target/debug/satty -f" grimblast --notify edit area
|
bind = ALT SHIFT, 4, exec, GRIMBLAST_EDITOR="/home/cnachtigall/data/git/clone/Satty/target/debug/satty -f" grimblast --notify edit area
|
||||||
=======
|
|
||||||
bind = ALT SHIFT, 3, exec, GRIMBLAST_EDITOR="/home/vikingowl/git/clone/Satty/target/debug/satty -f" grimblast --notify edit output
|
|
||||||
bind = ALT SHIFT, 4, exec, GRIMBLAST_EDITOR="/home/vikingowl/git/clone/Satty/target/debug/satty -f" grimblast --notify edit area
|
|
||||||
>>>>>>> f130af1 (config stash laptop)
|
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
43
.config/hypr/conf.d/40-keybinds.conf##hostname.viking-mate
Normal file
43
.config/hypr/conf.d/40-keybinds.conf##hostname.viking-mate
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
# same as desktop + brightness keys are useful on laptops
|
||||||
|
$mod = SUPER
|
||||||
|
bind = $mod, SPACE, exec, rofi -show drun
|
||||||
|
bind = $mod, RETURN, exec, kitty
|
||||||
|
bind = $mod, B, exec, firefox
|
||||||
|
|
||||||
|
bind = $mod, Q, killactive,
|
||||||
|
bind = $mod, F, fullscreen, 0
|
||||||
|
bind = $mod, V, togglefloating,
|
||||||
|
|
||||||
|
bind = $mod, H, movefocus, l
|
||||||
|
bind = $mod, L, movefocus, r
|
||||||
|
bind = $mod, K, movefocus, u
|
||||||
|
bind = $mod, J, movefocus, d
|
||||||
|
|
||||||
|
bind = $mod, 1, workspace, 1
|
||||||
|
bind = $mod, 2, workspace, 2
|
||||||
|
bind = $mod, 3, workspace, 3
|
||||||
|
bind = $mod, 4, workspace, 4
|
||||||
|
bind = $mod, 5, workspace, 5
|
||||||
|
bind = $mod, 6, workspace, 6
|
||||||
|
bind = $mod, 7, workspace, 7
|
||||||
|
bind = $mod, 8, workspace, 8
|
||||||
|
bind = $mod, 9, workspace, 9
|
||||||
|
bind = $mod, 0, workspace, 10
|
||||||
|
|
||||||
|
# Screenshots
|
||||||
|
bind = , PRINT, exec, grimblast copy screen
|
||||||
|
bind = SHIFT, PRINT, exec, grimblast copy area
|
||||||
|
|
||||||
|
# Audio / mic / brightness
|
||||||
|
bindle =, XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bindle =, XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
bindle =, XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
bindle =, XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
bindle =, XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||||
|
bindle =, XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||||
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bind = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
bind = , XF86AudioNext, exec, playerctl next
|
||||||
|
|
||||||
|
bind = $mod, ESCAPE, exec, hyprlock
|
||||||
|
|
@@ -1,17 +1,10 @@
|
|||||||
# ~/.config/hypr/conf.d/50-autostart.conf
|
# ~/.config/hypr/conf.d/50-autostart.conf
|
||||||
|
|
||||||
exec-once = uwsm app -- swaync
|
exec-once = uwsm app -- swaync
|
||||||
<<<<<<< HEAD
|
|
||||||
exec-once = xsettingsd
|
exec-once = xsettingsd
|
||||||
exec-once = hyprsunset -l 48.1:11.6
|
|
||||||
exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh
|
exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh
|
||||||
=======
|
|
||||||
exec-once = uwsm app -- waybar
|
exec-once = uwsm app -- waybar
|
||||||
exec-once = xsettingsd
|
|
||||||
exec-once = hyprsunset
|
exec-once = hyprsunset
|
||||||
exec-once = xrdb -merge ~/.Xresources
|
|
||||||
exec-once = uwsm finalize WAYLAND_DISPLAY DISPLAY GDK_SCALE GDK_DPI_SCALE QT_SCALE_FACTOR
|
|
||||||
>>>>>>> f130af1 (config stash laptop)
|
|
||||||
|
|
||||||
exec = hyprpaper -c $HOME/.config/hyprpaper.conf
|
exec = hyprpaper -c $HOME/.config/hyprpaper.conf
|
||||||
exec = swayosd-server
|
exec = swayosd-server
|
@@ -0,0 +1,8 @@
|
|||||||
|
exec-once = bash -lc 'command -v /usr/lib/lxqt-policykit-agent >/dev/null && /usr/lib/lxqt-policykit-agent &'
|
||||||
|
exec-once = hyprpaper
|
||||||
|
exec-once = hypridle
|
||||||
|
exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh
|
||||||
|
exec-once = bash -lc 'command -v nm-applet >/dev/null && nm-applet &'
|
||||||
|
exec-once = bash -lc 'command -v blueman-applet >/dev/null && blueman-applet &'
|
||||||
|
exec-once = waybar -c ~/.config/waybar/config.jsonc -s ~/.config/waybar/style.css
|
||||||
|
|
@@ -0,0 +1,7 @@
|
|||||||
|
windowrulev2 = float, class:^(pavucontrol|blueman-manager|nm-connection-editor|wdisplays|org.gnome.Calculator|qalculate-gtk)$
|
||||||
|
windowrulev2 = center, class:^(pavucontrol|blueman-manager|nm-connection-editor|wdisplays|org.gnome.Calculator|qalculate-gtk)$
|
||||||
|
windowrulev2 = size 1000 640, class:^(pavucontrol|blueman-manager)$
|
||||||
|
|
||||||
|
windowrulev2 = workspace 2, class:^(firefox|zen)$
|
||||||
|
windowrulev2 = workspace 3, class:^(spotify|Spotify)$
|
||||||
|
|
33
.config/hypr/hypridle.conf##hostname.viking-mate
Normal file
33
.config/hypr/hypridle.conf##hostname.viking-mate
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Laptop: dim -> lock -> dpms off -> suspend
|
||||||
|
general {
|
||||||
|
lock_cmd = hyprlock
|
||||||
|
before_sleep_cmd = hyprlock
|
||||||
|
after_sleep_cmd = hyprctl dispatch dpms on
|
||||||
|
}
|
||||||
|
|
||||||
|
# Dim after 4 min
|
||||||
|
listener {
|
||||||
|
timeout = 240
|
||||||
|
on-timeout = brightnessctl -s set 10%
|
||||||
|
on-resume = brightnessctl -r
|
||||||
|
}
|
||||||
|
|
||||||
|
# Lock after 6 min
|
||||||
|
listener {
|
||||||
|
timeout = 360
|
||||||
|
on-timeout = hyprlock
|
||||||
|
}
|
||||||
|
|
||||||
|
# Screen off after 8 min
|
||||||
|
listener {
|
||||||
|
timeout = 480
|
||||||
|
on-timeout = hyprctl dispatch dpms off
|
||||||
|
on-resume = hyprctl dispatch dpms on
|
||||||
|
}
|
||||||
|
|
||||||
|
# Suspend after 20 min
|
||||||
|
listener {
|
||||||
|
timeout = 1200
|
||||||
|
on-timeout = systemctl suspend
|
||||||
|
}
|
||||||
|
|
8
.config/hypr/hyprland.conf##hostname.viking-mate
Normal file
8
.config/hypr/hyprland.conf##hostname.viking-mate
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ~/.config/hyprland/hyprland.conf
|
||||||
|
|
||||||
|
source = ~/.config/hypr/monitors.conf # generated by nwg-displays
|
||||||
|
source = ~/.config/hypr/workspaces.conf # generated by nwg-displays
|
||||||
|
source = ~/.config/hypr/conf.d/*.conf
|
||||||
|
|
||||||
|
env = GDK_SCALE, 1.6
|
||||||
|
env = XCURSOR_SIZE, 22
|
5
.config/hypr/hyprlock.conf##hostname.viking-mate
Normal file
5
.config/hypr/hyprlock.conf##hostname.viking-mate
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
background { path = ~/.config/hypr/images/standard.jpg; blur_size = 8; blur_passes = 2; brightness = 0.7; }
|
||||||
|
input-field { outline_thickness = 2; rounding = 8; size = 300, 42; position = 0, -100; dots_center = true; }
|
||||||
|
label { text = $TIME; font_size = 32; position = 0, 40; color = rgba(ffffffff); }
|
||||||
|
label { text = $USER; font_size = 16; position = 0, 80; color = rgba(ddddddff); }
|
||||||
|
|
@@ -1,13 +0,0 @@
|
|||||||
# ~/.config/hypr/hyprpaper.conf
|
|
||||||
|
|
||||||
#splash = true
|
|
||||||
splash_color = 4F84CCFF # Abyss Accent w/ full opacity
|
|
||||||
splash_offset = 2.0
|
|
||||||
ipc = true
|
|
||||||
|
|
||||||
# Preload your ultrawide as a quick fallback
|
|
||||||
preload = $HOME/.config/hypr/images/standard.jpg
|
|
||||||
|
|
||||||
# Per-monitor wallpaper assignments
|
|
||||||
wallpaper = eDP-1, $HOME/.config/hypr/images/standard.jpg
|
|
||||||
|
|
17
.config/hypr/hyprpaper.conf##hostname.cn-arch
Normal file
17
.config/hypr/hyprpaper.conf##hostname.cn-arch
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# ~/.config/hypr/hyprpaper.conf
|
||||||
|
|
||||||
|
#splash = true
|
||||||
|
splash_color = 4F84CCFF # Abyss Accent w/ full opacity
|
||||||
|
splash_offset = 2.0
|
||||||
|
ipc = true
|
||||||
|
|
||||||
|
# Preload your ultrawide as a quick fallback
|
||||||
|
preload = $HOME/.config/hypr/images/standard.jpg
|
||||||
|
preload = $HOME/.config/hypr/images/ultrawide.jpg
|
||||||
|
preload = $HOME/.config/hypr/images/vertical.jpg
|
||||||
|
|
||||||
|
# Per-monitor wallpaper assignments
|
||||||
|
wallpaper = DP-1, $HOME/.config/hypr/images/standard.jpg
|
||||||
|
wallpaper = DP-2, $HOME/.config/hypr/images/ultrawide.jpg
|
||||||
|
wallpaper = HDMI-A-1, $HOME/.config/hypr/images/vertical.jpg
|
||||||
|
|
3
.config/hypr/hyprpaper.conf##hostname.viking-mate
Normal file
3
.config/hypr/hyprpaper.conf##hostname.viking-mate
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
preload = ~/.config/hypr/images/standard.jpg
|
||||||
|
wallpaper = eDP-1, ~/.config/hypr/images/standard.jpg
|
||||||
|
|
Reference in New Issue
Block a user