mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-16 07:26:12 +01:00
parity migration part 1
This commit is contained in:
12
hypr/.config/hypr/autostart.sh
Executable file
12
hypr/.config/hypr/autostart.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/zsh
|
||||
|
||||
hyprpaper & disown
|
||||
# wayvnc & disown
|
||||
/usr/lib/polkit-kde-authentication-agent-1 &
|
||||
dunst &
|
||||
fcitx5 -d &
|
||||
flameshot &
|
||||
easyeffects --gapplication-service &
|
||||
|
||||
$HOME/.config/waybar/launcher.sh &
|
||||
$HOME/.config/hypr/session.sh &
|
||||
303
hypr/.config/hypr/hyprland.conf
Normal file
303
hypr/.config/hypr/hyprland.conf
Normal file
@@ -0,0 +1,303 @@
|
||||
# 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=DP-2, highrr, 1920x0, 1
|
||||
monitor=DP-1, highrr, 4480x0, 1
|
||||
monitor=HDMI-A-1, preferred, 0x360, 1
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
exec-once=zsh $HOME/.config/hypr/autostart.sh
|
||||
# exec-once=hyprctl setcursor Vimix-white-cursors 24
|
||||
# exec-once=$HOME/.local/share/hyprload/hyprload.sh
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = nemo
|
||||
$tcmd = krusader
|
||||
$menu = $HOME/.config/rofi/scripts/launcher
|
||||
$lock = swaylock --screenshots --effect-pixelate 20 --effect-vignette 0.5:0.5 --fade-in 0.2
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,16
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = pl
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 10
|
||||
gaps_out = 20
|
||||
border_size = 0
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 10
|
||||
|
||||
inactive_opacity = 0.95
|
||||
active_opacity = 0.97
|
||||
|
||||
blur {
|
||||
size = 3
|
||||
passes = 2
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 15
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(00000055)
|
||||
}
|
||||
|
||||
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, 6, default
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = false
|
||||
}
|
||||
|
||||
misc {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device:epic-mouse-v1 {
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# windowrule=opacity 0.90, ^(kitty)$
|
||||
# windowrule=opacity 0.90, ^(Code)$
|
||||
windowrule=opacity 1.0 override 1.0, ^(firefox)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
|
||||
|
||||
|
||||
windowrulev2 = float,class:^(flameshot)$
|
||||
windowrulev2 = pin,class:^(flameshot)$
|
||||
|
||||
plugin {
|
||||
monitor-workspaces {
|
||||
count = 10
|
||||
}
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod SHIFT, RETURN, exec, $terminal
|
||||
# bind = $mainMod, Q, exec, $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
# bind = $mainMod, C, killactive,
|
||||
bind = $mainMod SHIFT, Q, exit,
|
||||
# bind = $mainMod, M, exit,
|
||||
bind = $mainMod, E, exec, $tcmd
|
||||
bind = $mainMod, N, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod SHIFT, L, exec, $lock
|
||||
# bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, SPACE, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
|
||||
# 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
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# bind = $mainMod, code:59, changemonitor, e-1
|
||||
# bind = $mainMod, code:60, changemonitor, e+1
|
||||
|
||||
# bind = $mainMod SHIFT, code:59, changemonitorsilent, e-1
|
||||
# bind = $mainMod SHIFT, code:60, changemonitorsilent, e+1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
bind=,XF86AudioMicMute,exec,amixer set Capture toggle
|
||||
bind=,XF86AudioMute,exec,amixer set Master toggle
|
||||
bind=,XF86AudioRaiseVolume,exec,amixer set Master playback 5%+
|
||||
bind=,XF86AudioLowerVolume,exec,amixer set Master playback 5%-
|
||||
bind=,XF86MonBrightnessUp,exec,brightnessctl set 10%+
|
||||
bind=,XF86MonBrightnessDown,exec,brightnessctl set 10%-
|
||||
# bind=,XF86Launch2,exec,touch-mode
|
||||
# bind=CTRL,XF86Launch2,exec,hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1"
|
||||
# bind=SHIFT,XF86Launch2,exec,hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1.5"
|
||||
bind=SHIFT,XF86MonBrightnessDown,exec,brightnessctl set 1%
|
||||
bind=SHIFT,XF86MonBrightnessUp,exec,brightnessctl set 100%
|
||||
|
||||
# bind=SUPERSHIFT,R,hyprload,reload
|
||||
# bind=SUPERSHIFT,U,hyprload,update
|
||||
|
||||
# Envars; to play along with wayland nicely
|
||||
|
||||
# env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
|
||||
env = GDK_BACKEND,wayland,x11
|
||||
env = SDL_VIDEODRIVER,wayland
|
||||
env = CLUTTER_BACKEND,wayland
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
env = MOZ_DISABLE_RDD_SANDBOX,1
|
||||
env = _JAVA_AWT_WM_NONREPARENTING=1
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
env = __NV_PRIME_RENDER_OFFLOAD,1
|
||||
env = __VK_LAYER_NV_optimus,NVIDIA_only
|
||||
env = PROTON_ENABLE_NGX_UPDATER,1
|
||||
env = NVD_BACKEND,direct
|
||||
env = __GL_GSYNC_ALLOWED,1
|
||||
env = __GL_VRR_ALLOWED,1
|
||||
env = WLR_DRM_NO_ATOMIC,1
|
||||
env = WLR_USE_LIBINPUT,1
|
||||
env = XWAYLAND_NO_GLAMOR,1 # with this you'll need to use gamescope for gaming
|
||||
env = __GL_MaxFramesAllowed,1
|
||||
env = WLR_RENDERER_ALLOW_SOFTWARE,1
|
||||
|
||||
|
||||
# env = WLR_DRM_NO_ATOMIC,1
|
||||
|
||||
# more envs
|
||||
env = SSH_AUTH_SOCK, "$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||
# env = GTK_IM_MODULE, fcitx
|
||||
env = QT_IM_MODULE, fcitx
|
||||
env = XMODIFIERS=@im=fcitx
|
||||
env = GLFW_IM_MODULE, ibus
|
||||
|
||||
plugin:hyprfocus {
|
||||
enabled = yes
|
||||
|
||||
keyboard_focus_animation = shrink
|
||||
mouse_focus_animation = shrink
|
||||
|
||||
bezier = bezIn, 0.5,0.0,1.0,0.5
|
||||
bezier = bezOut, 0.0,0.5,0.5,1.0
|
||||
|
||||
flash {
|
||||
flash_opacity = 0.7
|
||||
|
||||
in_bezier = bezIn
|
||||
in_speed = 0.5
|
||||
|
||||
out_bezier = bezOut
|
||||
out_speed = 3
|
||||
}
|
||||
|
||||
shrink {
|
||||
shrink_percentage = 0.98
|
||||
|
||||
in_bezier = bezIn
|
||||
in_speed = 0.5
|
||||
|
||||
out_bezier = bezOut
|
||||
out_speed = 3
|
||||
}
|
||||
}
|
||||
4
hypr/.config/hypr/hyprload.toml
Normal file
4
hypr/.config/hypr/hyprload.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
plugins = [
|
||||
"Duckonaut/split-monitor-workspaces",
|
||||
# "VortexCoyote/hyprfocus",
|
||||
]
|
||||
5
hypr/.config/hypr/hyprpaper.conf
Normal file
5
hypr/.config/hypr/hyprpaper.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
preload = /home/mike/Wallpapers/tokio.jpg
|
||||
|
||||
wallpaper = DP-1, contain:/home/mike/Wallpapers/tokio.jpg
|
||||
wallpaper = DP-2, contain:/home/mike/Wallpapers/tokio.jpg
|
||||
wallpaper = HDMI-A-1, contain:/home/mike/Wallpapers/tokio.jpg
|
||||
15
hypr/.config/hypr/import-gsettings
Normal file
15
hypr/.config/hypr/import-gsettings
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# usage: import-gsettings
|
||||
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
|
||||
if [ ! -f "$config" ]; then exit 1; fi
|
||||
|
||||
gnome_schema="org.gnome.desktop.interface"
|
||||
gtk_theme="$(grep 'gtk-theme-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
font_name="$(grep 'gtk-font-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
|
||||
gsettings set "$gnome_schema" icon-theme "$icon_theme"
|
||||
gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
|
||||
gsettings set "$gnome_schema" font-name "$font_name"
|
||||
12
hypr/.config/hypr/session.sh
Executable file
12
hypr/.config/hypr/session.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/zsh
|
||||
|
||||
lock="swaylock \
|
||||
--screenshots \
|
||||
--effect-pixelate 20 \
|
||||
--effect-vignette 0.5:0.5 \
|
||||
--fade-in 0.2"
|
||||
screenoff="hyprctl dispatch dpms off"
|
||||
screenon="hyprctl dispatch dpms on"
|
||||
|
||||
swayidle -w timeout 1200 "if pgrep -x swaylock; then $screenoff; fi" resume "$screenon" & disown
|
||||
swayidle -w timeout 600 "$lock" & disown
|
||||
Reference in New Issue
Block a user