Merge Arch config as main #1
9 changed files with 78 additions and 36 deletions
17
hypr/config/environments/nvidia.conf
Executable file → Normal file
17
hypr/config/environments/nvidia.conf
Executable file → Normal file
|
|
@ -4,13 +4,20 @@
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Nvidia/
|
# https://wiki.hyprland.org/Nvidia/
|
||||||
env = XCURSOR_SIZE,24
|
|
||||||
env = QT_QPA_PLATFORM,wayland
|
|
||||||
env = WLR_NO_HARDWARE_CURSORS,1
|
|
||||||
env = LIBVA_DRIVER_NAME,nvidia
|
env = LIBVA_DRIVER_NAME,nvidia
|
||||||
env = XDG_SESSION_TYPE,wayland
|
env = XDG_SESSION_TYPE,wayland
|
||||||
env = GBM_BACKEND,nvidia-drm
|
env = GBM_BACKEND,nvidia-drm
|
||||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
# env = __GL_VRR_ALLOWED,1
|
cursor {
|
||||||
# env = WLR_DRM_NO_ATOMIC,1
|
no_hardware_cursors = true
|
||||||
|
}
|
||||||
|
env = NVD_BACKEND,direct
|
||||||
|
|
||||||
|
env = XCURSOR_SIZE,24
|
||||||
|
env = QT_QPA_PLATFORM,wayland
|
||||||
|
env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
|
env = __GL_VRR_ALLOWED,1
|
||||||
|
env = WLR_DRM_NO_ATOMIC,1
|
||||||
|
|
||||||
|
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||||
|
|
||||||
|
|
|
||||||
11
hypr/config/keybinds.conf
Executable file → Normal file
11
hypr/config/keybinds.conf
Executable file → Normal file
|
|
@ -2,7 +2,7 @@
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, T, exec, $terminal
|
bind = $mainMod, T, exec, $terminal
|
||||||
bind = $mainMod, X, killactive,
|
bind = $mainMod, X, killactive,
|
||||||
bind = $mainMod, ESCAPE, exit,
|
bind = $mainMod, ESCAPE, exec, $powerMenu
|
||||||
bind = $mainMod, E, exec, $fileManager
|
bind = $mainMod, E, exec, $fileManager
|
||||||
bind = $mainMod, F, togglefloating,
|
bind = $mainMod, F, togglefloating,
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
|
|
@ -44,13 +44,18 @@ 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
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
# Special workspaces
|
# Special workspaces
|
||||||
|
###############################################################################
|
||||||
# Scratchpad
|
# Scratchpad
|
||||||
bind = CTRL SHIFT, S, togglespecialworkspace, magic
|
bind = CTRL SHIFT, S, togglespecialworkspace, magic
|
||||||
bind = CTRL $mainMod, S, movetoworkspace, special:magic
|
bind = CTRL $mainMod, S, movetoworkspace, special:magic
|
||||||
# Terminal
|
# Terminal
|
||||||
bind = CTRL SHIFT, T, togglespecialworkspace, terminal
|
bind = CTRL SHIFT, T, togglespecialworkspace, terminal
|
||||||
bind = CTRL $mainMod, T, movetoworkspace, special:terminal
|
bind = CTRL $mainMod, T, movetoworkspace, special:terminal
|
||||||
|
# Music
|
||||||
|
bind = CTRL SHIFT, M, togglespecialworkspace, music
|
||||||
|
bind = CTRL $mainMod, M, movetoworkspace, special:music
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
|
@ -65,8 +70,8 @@ bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
# Audio keybinds
|
# Audio keybinds
|
||||||
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+
|
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+
|
||||||
bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
|
bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-
|
||||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bind = , XF86AudioStop, exec,
|
bind = , XF86AudioStop, exec,
|
||||||
|
|
|
||||||
30
hypr/config/rules.conf
Executable file → Normal file
30
hypr/config/rules.conf
Executable file → Normal file
|
|
@ -9,23 +9,27 @@ windowrulev2 = nomaxsize, class:.* # You'll probably like this.
|
||||||
|
|
||||||
|
|
||||||
# Apps
|
# Apps
|
||||||
windowrule = workspace 1, title:^Spotify Premium$
|
|
||||||
|
windowrule = float, title:rofi
|
||||||
|
|
||||||
|
windowrule = workspace special:terminal, kitty
|
||||||
|
windowrule = workspace special:music, title:^Spotify Premium$
|
||||||
windowrulev2 = opacity 0.85 0.8, initialTitle:^Spotify Premium$
|
windowrulev2 = opacity 0.85 0.8, initialTitle:^Spotify Premium$
|
||||||
|
|
||||||
windowrule = workspace 2, discord
|
windowrulev2 = workspace 1,class:(discord)
|
||||||
windowrule = opacity 0.999, discord
|
|
||||||
|
|
||||||
windowrule = workspace 3, firefox
|
windowrulev2 = workspace 1,class:(Caprine)
|
||||||
|
windowrule = opacity 0.999, Caprine
|
||||||
|
|
||||||
|
windowrule = workspace 2, firefox
|
||||||
windowrule = opacity 0.999, firefox
|
windowrule = opacity 0.999, firefox
|
||||||
|
|
||||||
windowrule = float, kitty
|
windowrulev2 = workspace 4,float,class:(steam)
|
||||||
windowrule = workspace special:terminal, kitty
|
windowrule = workspace 4, class:^(steam_app_*)$
|
||||||
windowrule = move 25% 25%, kitty
|
|
||||||
windowrule = size 50% 50%, kitty
|
|
||||||
|
|
||||||
windowrule = float, Thunar
|
# Workspaces
|
||||||
windowrule = move 12.5% 12.5%, Thunar
|
workspace = 1, persistent:true
|
||||||
windowrule = size 75% 75%, Thunar
|
workspace = 2, persistent:true
|
||||||
|
workspace = 3, persistent:true
|
||||||
windowrule = immediate, class:^(steam_app_553850)$
|
workspace = 4, persistent:true
|
||||||
|
|
||||||
|
|
|
||||||
5
hypr/config/startup.conf
Executable file → Normal file
5
hypr/config/startup.conf
Executable file → Normal file
|
|
@ -9,3 +9,8 @@ exec-once = emote
|
||||||
# Wallpaper Daemon
|
# Wallpaper Daemon
|
||||||
exec-once = swww-daemon
|
exec-once = swww-daemon
|
||||||
|
|
||||||
|
exec-once = [workspace 1 silent] discord --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||||
|
exec-once = [workspace 1 silent] caprine --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||||
|
exec-once = [workspace 2 silent] firefox
|
||||||
|
exec-once = [workspace special:music silent] spotify
|
||||||
|
|
||||||
|
|
|
||||||
36
hypr/hypridle.conf
Executable file → Normal file
36
hypr/hypridle.conf
Executable file → Normal file
|
|
@ -1,17 +1,35 @@
|
||||||
listener {
|
general {
|
||||||
timeout = 300 # 5min
|
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||||
on-timeout = hyprlock # lock screen when timeout has passed
|
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||||
#on-resume = notify-send "Welcome back!" # notification activity is detected after timeout has fired.
|
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 330 # 5.5min
|
timeout = 150 # 2.5min.
|
||||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
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 rgb:kbd_backlight set 0 # turn off keyboard backlight.
|
||||||
|
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 1800 # 30min
|
timeout = 300 # 5min
|
||||||
on-timeout = systemctl suspend # suspend pc
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
9
hypr/hyprland.conf
Executable file → Normal file
9
hypr/hyprland.conf
Executable file → Normal file
|
|
@ -13,7 +13,7 @@
|
||||||
#autogenerated = 1 # remove this line to remove the warning
|
#autogenerated = 1 # remove this line to remove the warning
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor=,preferred,auto,auto
|
monitor=DP-1,2560x1440@144,auto,auto
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
|
|
@ -30,12 +30,16 @@ source = ~/.cache/wal/colors-hyprland.conf
|
||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = Thunar
|
$fileManager = Thunar
|
||||||
$menu = rofi -show drun
|
$menu = ~/.config/rofi/scripts/launcher_t1
|
||||||
|
$powerMenu = ~/.config/rofi/scripts/powermenu_t1
|
||||||
$lockScreen = hyprlock
|
$lockScreen = hyprlock
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
||||||
|
exec-once=hyprctl setcursor volantes_cursors 24
|
||||||
|
env = XCURSOR_THEME,
|
||||||
|
|
||||||
source = ~/.config/hypr/config/environments/nvidia.conf
|
source = ~/.config/hypr/config/environments/nvidia.conf
|
||||||
source = ~/.config/hypr/config/keybinds.conf
|
source = ~/.config/hypr/config/keybinds.conf
|
||||||
source = ~/.config/hypr/config/rules.conf
|
source = ~/.config/hypr/config/rules.conf
|
||||||
|
|
@ -113,7 +117,6 @@ dwindle {
|
||||||
|
|
||||||
master {
|
master {
|
||||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||||
new_is_master = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
|
|
|
||||||
0
hypr/hyprlock.conf
Executable file → Normal file
0
hypr/hyprlock.conf
Executable file → Normal file
0
hypr/scripts/start-swaync.sh
Executable file → Normal file
0
hypr/scripts/start-swaync.sh
Executable file → Normal file
|
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
CONFIG_FILES="$HOME/.config/waybar/ $HOME/.cache/wal/"
|
CONFIG_FILES="$HOME/.config/waybar/ $HOME/.cache/wal/"
|
||||||
|
|
||||||
trap "killall waybar" EXIT
|
trap "killall .waybar-wrapped" EXIT
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
sleep 1.6
|
sleep 1.6
|
||||||
waybar &
|
waybar &
|
||||||
inotifywait -e create,modify -r $CONFIG_FILES
|
inotifywait -e create,modify -r $CONFIG_FILES
|
||||||
killall waybar
|
killall .waybar-wrapped
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue