fix: fixed conflicts + moving to yadm
This commit is contained in:
18
.config/hypr/config/autostart.conf
Normal file
18
.config/hypr/config/autostart.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
|
||||
exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-hyprland
|
||||
exec-once = uwsm app -- /usr/lib/xdg-desktop-portal
|
||||
exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-gtk
|
||||
|
||||
exec-once = uwsm app -- hypridle
|
||||
|
||||
# exec-once = uwsm app -- hyprpaper
|
||||
exec-once = uwsm app -- swww-daemon
|
||||
exec-once = swww img "$WALLPAPER"
|
||||
|
||||
exec-once = uwsm app -- waybar
|
||||
exec-once = uwsm app -- dunst
|
||||
|
||||
exec-once = uwsm app -- wl-paste --type text --watch cliphist store #Stores only text data
|
||||
exec-once = uwsm app -- wl-paste --type image --watch cliphist store #Stores only image data
|
||||
exec-once = uwsm app -- systemd-inhibit --who="Hyprland config" --why="wlogout keybind" --what=handle-power-key --mode=block sleep infinity
|
||||
141
.config/hypr/config/binds.conf
Normal file
141
.config/hypr/config/binds.conf
Normal file
@@ -0,0 +1,141 @@
|
||||
# general
|
||||
$mainMod = SUPER
|
||||
|
||||
|
||||
# navigation binds
|
||||
bind = $mainMod SHIFT, C, killactive,
|
||||
bind = $mainMod SHIFT, M, exit,
|
||||
bind = $mainMod SHIFT, V, togglefloating,
|
||||
bind = $mainMod, F, fullscreen, 1
|
||||
bind = $mainMod SHIFT, F, fullscreen, 0
|
||||
|
||||
|
||||
# dwindle
|
||||
bind = $mainMod, P, pseudo,
|
||||
bind = $mainMod, T, togglesplit,
|
||||
bind = $mainMod SHIFT, T, swapsplit,
|
||||
|
||||
|
||||
# apps binds
|
||||
bind = $mainMod, Q, exec, kitty
|
||||
bind = $mainMod, E, exec, thunar
|
||||
bind = $mainMod, R, exec, rofi -show drun
|
||||
|
||||
|
||||
# copy binds
|
||||
bind = $mainMod, V, exec, rofi -modi clipboard:/$HOME/.config/rofi/cliphist-rofi-img.sh -show clipboard -show-icon
|
||||
# -config $HOME/.config/rofi/clipboard-config.rasi
|
||||
bind = $mainMod SHIFT, S, exec, IMG=~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG
|
||||
bind = , PRINT, exec, grim - | wl-copy
|
||||
|
||||
|
||||
# hyprlock bind
|
||||
bind = $mainMod, code:49, exec, hyprlock
|
||||
|
||||
|
||||
# waybar bind
|
||||
bindr = $mainMod, w, exec, pkill -9 waybar || uwsm app -- waybar
|
||||
|
||||
|
||||
# multimedia binds
|
||||
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%; .config/hypr/scripts/dunst/volume.sh
|
||||
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%; .config/hypr/scripts/dunst/volume-down.sh
|
||||
bind = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle; .config/hypr/scripts/dunst/volume-mute.sh
|
||||
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle; .config/hypr/scripts/dunst/micro.sh
|
||||
|
||||
bind = , XF86AudioStop, exec, playerctl stop
|
||||
bind = , XF86AudioPause, exec, playerctl pause
|
||||
bind = , XF86AudioPrev, exec, playerctl previous; .config/hypr/scripts/dunst/trackinfo.sh
|
||||
bind = , XF86AudioNext, exec, playerctl next; .config/hypr/scripts/dunst/trackinfo.sh
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||
|
||||
# bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +10%
|
||||
# bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -10%
|
||||
# bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
|
||||
# brightness binds
|
||||
binde = , XF86MonBrightnessUp , exec, brightnessctl --class='backlight' set 5%+; .config/hypr/scripts/dunst/brightness.sh
|
||||
binde = , XF86MonBrightnessDown , exec, brightnessctl --class='backlight' set 5%-; .config/hypr/scripts/dunst/brightness-down.sh
|
||||
|
||||
|
||||
# power binds
|
||||
# bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 1920x1080@120, 0x0, 1, vrr, 1"
|
||||
# bindl = , switch:on:Lid Switch, exec, .config/hypr/scripts/eDPower.sh
|
||||
# bind = , XF86PowerOff, exec, .config/hypr/scripts/before-sleep.sh
|
||||
bind = , XF86PowerOff, exec, systemctl suspend
|
||||
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, H, movefocus, l
|
||||
bind = $mainMod, L, movefocus, r
|
||||
bind = $mainMod, K, movefocus, u
|
||||
bind = $mainMod, J, movefocus, d
|
||||
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
bind = $mainMod SHIFT, H, movewindow, l
|
||||
bind = $mainMod SHIFT, L, movewindow, r
|
||||
bind = $mainMod SHIFT, K, movewindow, u
|
||||
bind = $mainMod SHIFT, J, movewindow, d
|
||||
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
|
||||
bind = ALT, TAB, cyclenext
|
||||
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, r-1
|
||||
bind = $mainMod, mouse_up, workspace, r+1
|
||||
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
||||
|
||||
|
||||
# Switch workspaces
|
||||
bind = $mainMod, A, focusworkspaceoncurrentmonitor, r-1
|
||||
bind = $mainMod, D, focusworkspaceoncurrentmonitor, r+1
|
||||
|
||||
|
||||
# Move active window to the next or previous workspace
|
||||
bind = $mainMod SHIFT, A, movetoworkspace, r-1
|
||||
bind = $mainMod SHIFT, D, movetoworkspace, r+1
|
||||
|
||||
|
||||
# Swap worlspaces between monitors
|
||||
bind = $mainMod, TAB, swapactiveworkspaces, 1 0
|
||||
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, focusworkspaceoncurrentmonitor, 1
|
||||
bind = $mainMod, 2, focusworkspaceoncurrentmonitor, 2
|
||||
bind = $mainMod, 3, focusworkspaceoncurrentmonitor, 3
|
||||
bind = $mainMod, 4, focusworkspaceoncurrentmonitor, 4
|
||||
bind = $mainMod, 5, focusworkspaceoncurrentmonitor, 5
|
||||
bind = $mainMod, 6, focusworkspaceoncurrentmonitor, 6
|
||||
bind = $mainMod, 7, focusworkspaceoncurrentmonitor, 7
|
||||
bind = $mainMod, 8, focusworkspaceoncurrentmonitor, 8
|
||||
bind = $mainMod, 9, focusworkspaceoncurrentmonitor, 9
|
||||
bind = $mainMod, 0, focusworkspaceoncurrentmonitor, 0
|
||||
|
||||
|
||||
# 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, 0
|
||||
20
.config/hypr/config/env.conf
Normal file
20
.config/hypr/config/env.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
env = GTK_THEME,Colloid-Transparent-Dracula
|
||||
|
||||
env = QT_QPA_PLATFORM,wayland;xcb
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
env = GDK_BACKEND,wayland,x11,*
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-dark"
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
||||
# env = chrome,--enable-features=TouchpadOverscrollHistoryNavigation
|
||||
|
||||
env = GDK_SCALE,1
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
44
.config/hypr/config/input_devices.conf
Normal file
44
.config/hypr/config/input_devices.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
input {
|
||||
kb_layout = us, ru
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options = grp:alt_shift_toggle, caps:escape
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
repeat_rate = 36 # Default: 25
|
||||
repeat_delay = 400 # Default: 600
|
||||
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
scroll_factor = 0.6
|
||||
disable_while_typing = yes
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
# force_no_accel = 1
|
||||
}
|
||||
|
||||
gestures {
|
||||
gesture = 3, horizontal, scale: 3, workspace
|
||||
gesture = 3, vertical, scale: 3, workspace
|
||||
}
|
||||
|
||||
device {
|
||||
name = compx-2.4g-wireless-receiver
|
||||
sensitivity = 0
|
||||
accel_profile = flat
|
||||
}
|
||||
|
||||
device {
|
||||
name = logitech-usb-optical-mouse
|
||||
sensitivity = -0.4
|
||||
accel_profile = flat
|
||||
}
|
||||
|
||||
device {
|
||||
name = hs-ch12u-ptp-01-02-0f-usb-keyboard-touchpad
|
||||
sensitivity = 0.18
|
||||
accel_profile = flat
|
||||
}
|
||||
9
.config/hypr/config/layer_rules.conf
Normal file
9
.config/hypr/config/layer_rules.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
# layers
|
||||
layerrule = blur on, match:namespace rofi
|
||||
layerrule = ignore_alpha 0.4, match:namespace rofi
|
||||
|
||||
layerrule = blur on, match:namespace notifications
|
||||
layerrule = ignore_alpha 0.8, match:namespace notifications
|
||||
|
||||
layerrule = blur off, match:namespace waybar
|
||||
layerrule = ignore_alpha 1, match:namespace waybar
|
||||
7
.config/hypr/config/monitors.conf
Normal file
7
.config/hypr/config/monitors.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
# default
|
||||
# monitor = eDP-1, 1920x1080@120, auto, 1, vrr, 1
|
||||
# monitor = , prefered, auto, 1
|
||||
monitor = eDP-1, prefered, auto, 1
|
||||
|
||||
# custom
|
||||
monitor = desc:Communications Supply Corporation (A division of WESCO) P120ZDG-BF4, 2160x1440@60, auto, 1.33333334
|
||||
84
.config/hypr/config/style.conf
Normal file
84
.config/hypr/config/style.conf
Normal file
@@ -0,0 +1,84 @@
|
||||
ecosystem {
|
||||
no_update_news = true
|
||||
no_donation_nag = true
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
|
||||
}
|
||||
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 5
|
||||
border_size = 2
|
||||
col.active_border = rgba(33ccffee) rgba(bd93f9ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
cursor {
|
||||
inactive_timeout = 2
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
blur {
|
||||
brightness = 0.7
|
||||
contrast = 0.75
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 2
|
||||
ignore_opacity = true
|
||||
}
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
# Style 1
|
||||
# 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
|
||||
|
||||
# Style 2
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsIn, 1, 10, myBezier, gnomed
|
||||
animation = windowsOut, 1, 7, myBezier, popin 70%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 5, myBezier
|
||||
animation = workspaces, 1, 6, myBezier, slide
|
||||
|
||||
# Style 3 (raw)
|
||||
# bezier = myBezier, 0, 0.55, 0.45, 1
|
||||
# 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, 5, myBezier
|
||||
# animation = workspaces, 1, 6, myBezier, slide
|
||||
}
|
||||
|
||||
|
||||
dwindle {
|
||||
pseudotile = yes
|
||||
preserve_split = yes
|
||||
}
|
||||
|
||||
|
||||
group {
|
||||
col.border_active = rgba(33ccffee) rgba(bd93f9ee) 45deg
|
||||
groupbar {
|
||||
gradients = false
|
||||
col.active = rgba(33ccffee)
|
||||
render_titles = false
|
||||
}
|
||||
}
|
||||
1
.config/hypr/config/wallpaper.conf
Normal file
1
.config/hypr/config/wallpaper.conf
Normal file
@@ -0,0 +1 @@
|
||||
env = WALLPAPER_PATH,$HOME/.config/hypr/Wallpapers/kotamota2.png
|
||||
29
.config/hypr/config/window_rules.conf
Normal file
29
.config/hypr/config/window_rules.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
# browsers
|
||||
windowrule = tag +browser, match:class ^([Gg]oogle-chrome|[Cc]hrome)$
|
||||
windowrule = tag +browser, match:class ^([Ff]irefox|[Ff]irefox-esr|[Ff]irefox-bin|org.mozilla.firefox)$
|
||||
|
||||
windowrule = opacity 0.9 0.8, match:tag browser*
|
||||
|
||||
|
||||
# messengers
|
||||
windowrule = tag +messenger, match:class ^([Mm]attermost|[Mm]attermost-desktop)$
|
||||
windowrule = tag +messenger, match:class ^([Tt]elegram|[Tt]elegram-desktop|org.telegram.desktop)$
|
||||
|
||||
windowrule = opacity 1 0.9, match:tag messenger*
|
||||
|
||||
|
||||
# tools
|
||||
windowrule = tag +tools, match:class ^([Dd][Bb]eaver|[Dd][Bb]eaver-ce|[Dd][Bb]eaver-community)$
|
||||
|
||||
windowrule = opacity 0.85 0.75, match:tag tools*
|
||||
|
||||
# jetbrains
|
||||
windowrule = no_initial_focus on, match:class (jetbrains-idea), match:title ^win.*
|
||||
windowrule = no_initial_focus on, match:class (jetbrains-studio), match:title ^win(.*)
|
||||
windowrule = no_initial_focus on, match:class (jetbrains-goland), match:title ^win.*
|
||||
windowrule = no_initial_focus on, match:class (jetbrains-toolbox), match:float yes
|
||||
windowrule = no_initial_focus on, match:class (jetbrains-goland), match:float yes, match:title ^$, match:initial_title ^$
|
||||
|
||||
# other
|
||||
# windowrule = float, center, match:class ^(xfce-polkit)$
|
||||
# windowrule = float, center, match:class ^(file-roller)$
|
||||
Reference in New Issue
Block a user