forked from Shinonome/dots-hyprland
stuff
This commit is contained in:
+193
@@ -0,0 +1,193 @@
|
||||
# This file contains general customization options
|
||||
# For Environment variables see env.conf
|
||||
# For Keybinds variables see keybinds.conf
|
||||
# For Auto-run stuff see execs.conf
|
||||
#autogenerated = 1
|
||||
|
||||
# I haven't updated yet but prepared
|
||||
# source=~/.config/hypr/env.conf
|
||||
|
||||
# Monitor: reserve space for eww bar
|
||||
monitor=eDP-1,1920x1080@60,0x0,1
|
||||
monitor=eDP-1, addreserved, 61, 0, 0, 0
|
||||
monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1
|
||||
|
||||
#################### Core components (authentication, idle daemon and stuff) ##############
|
||||
source=~/.config/hypr/execs.conf
|
||||
|
||||
############################# Keybinds ############################
|
||||
source=~/.config/hypr/keybinds.conf
|
||||
|
||||
############################## Input ##############################
|
||||
input {
|
||||
# Mouse
|
||||
# accel_profile = adaptive
|
||||
force_no_accel = false
|
||||
#sensitivity = 0
|
||||
# osu
|
||||
# force_no_accel = true
|
||||
# sensitivity = -0.23
|
||||
|
||||
# Keyboard
|
||||
kb_layout = us
|
||||
follow_mouse = 1
|
||||
numlock_by_default = true
|
||||
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
disable_while_typing = true
|
||||
clickfinger_behavior = true
|
||||
scroll_factor = 0.7
|
||||
}
|
||||
scroll_method = 2fg
|
||||
}
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = true
|
||||
workspace_swipe_distance = 1200px
|
||||
workspace_swipe_fingers = 4
|
||||
workspace_swipe_cancel_ratio = 0.2
|
||||
workspace_swipe_min_speed_to_force = 5
|
||||
workspace_swipe_create_new = true
|
||||
}
|
||||
|
||||
general {
|
||||
# Gaps and border
|
||||
gaps_in = 4
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
|
||||
# Fallback colors
|
||||
col.active_border = rgba(0DB7D4FF) rgba(7AA2F7FF) rgba(9778D0FF) 45deg
|
||||
col.inactive_border = rgba(04404aaa)
|
||||
|
||||
# Functionality
|
||||
# resize_on_border = true
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
|
||||
decoration {
|
||||
# Blur rules
|
||||
# blurls=gtk-layer-shell
|
||||
rounding = 17
|
||||
|
||||
# Blur
|
||||
blur = yes
|
||||
blur_size = 7
|
||||
blur_passes = 4
|
||||
blur_new_optimizations = on
|
||||
blur_ignore_opacity = false
|
||||
#blur_xray = true
|
||||
# Shadow
|
||||
drop_shadow = no
|
||||
shadow_range = 30
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(01010166)
|
||||
|
||||
# Opacity
|
||||
|
||||
|
||||
# Shader
|
||||
# screen_shader = ~/.config/hypr/shaders/nothing.frag
|
||||
|
||||
# Dim
|
||||
dim_inactive = false
|
||||
dim_strength = 0.1
|
||||
dim_special = 0
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
# Animation curves
|
||||
|
||||
bezier = md3_standard, 0.2, 0.0, 0, 1.0
|
||||
bezier = md3_decel, 0.05, 0.7, 0.1, 1
|
||||
bezier = md3_accel, 0.3, 0, 0.8, 0.15
|
||||
bezier = overshot, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
|
||||
bezier = win10, 0, 0, 0, 1
|
||||
bezier = gnome, 0, 0.85, 0.3, 1
|
||||
bezier = funky, 0.46, 0.35, -0.2, 1.2
|
||||
# Animation configs
|
||||
animation = windows, 1, 2, md3_decel, slide
|
||||
animation = border, 1, 10, default
|
||||
animation = fade, 1, 0.0000001, default
|
||||
animation = workspaces, 1, 4, md3_decel, slide
|
||||
}
|
||||
|
||||
misc {
|
||||
vfr = 1
|
||||
vrr = 0
|
||||
focus_on_activate = true
|
||||
animate_manual_resizes = true
|
||||
animate_mouse_windowdragging = true
|
||||
#suppress_portal_warnings = true
|
||||
enable_swallow = true
|
||||
}
|
||||
debug {
|
||||
#overlay = true
|
||||
}
|
||||
dwindle {
|
||||
preserve_split = true # you probably want this
|
||||
#no_gaps_when_only = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
#screen_shader = ~/.config/hypr/shaders/drugs.frag
|
||||
#screen_shader = ~/.config/hypr/shaders/crt.frag
|
||||
}
|
||||
debug {
|
||||
#damage_tracking=0
|
||||
}
|
||||
|
||||
# Efficiency
|
||||
#general {
|
||||
# gaps_in = 0
|
||||
# gaps_out = 0
|
||||
# border_size = 2
|
||||
#}
|
||||
#decoration {
|
||||
# rounding = 0
|
||||
#}
|
||||
#monitor=eDP-1, addreserved, 32, 0, 0, 0
|
||||
|
||||
######## Window rules ########
|
||||
#windowrule = float, ^(firefox)$
|
||||
windowrule = float, ^(steam)$
|
||||
windowrule = float, ^(guifetch)$
|
||||
|
||||
#windowrule = opacity 0.9 override 0.9 override, ^(firefox)$
|
||||
# Dialogs
|
||||
windowrule=float,title:^(Open File)(.*)$
|
||||
windowrule=float,title:^(Open Folder)(.*)$
|
||||
windowrule=float,title:^(Save As)(.*)$
|
||||
windowrule=float,title:^(Library)(.*)$
|
||||
windowrulev2 = float, class:^com.github.hluk.copyq$
|
||||
|
||||
windowrulev2 = rounding 10, floating:1
|
||||
######## Layer rules ########
|
||||
layerrule = blur, gtk-layer-shell
|
||||
layerrule = ignorezero, gtk-layer-shell
|
||||
layerrule = blur, notifications
|
||||
layerrule = ignorezero, notifications
|
||||
layerrule = blur, waybar
|
||||
layerrule = ignorezero, waybar
|
||||
|
||||
plugin {
|
||||
hyprbars {
|
||||
bar_color = rgba(090727FF)
|
||||
bar_height = 20
|
||||
bar_text_size = 10
|
||||
bar_text_color = rgba(7775D0FF)
|
||||
}
|
||||
borders-plus-plus {
|
||||
add_borders = 2 # 0 - 2
|
||||
col.border_1 = rgb(82E6F5) # example col for border 1
|
||||
col.border_2 = rgb(2222ff) # example col for border 2
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Dynamic colors are written here
|
||||
source=~/.config/hypr/colors.conf
|
||||
+191
@@ -0,0 +1,191 @@
|
||||
# This file contains general customization options
|
||||
# For Environment variables see env.conf
|
||||
# For Keybinds variables see keybinds.conf
|
||||
# For Auto-run stuff see execs.conf
|
||||
#autogenerated = 1
|
||||
|
||||
# I haven't updated yet but prepared
|
||||
# source=~/.config/hypr/env.conf
|
||||
|
||||
# Monitor: reserve space for eww bar
|
||||
monitor=eDP-1,1920x1080@60,0x0,1
|
||||
monitor=eDP-1, addreserved, 1, 1, 61, 1
|
||||
monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1
|
||||
|
||||
#################### Core components (authentication, idle daemon and stuff) ##############
|
||||
source=~/.config/hypr/execs.conf
|
||||
|
||||
############################# Keybinds ############################
|
||||
source=~/.config/hypr/keybinds.conf
|
||||
|
||||
############################## Input ##############################
|
||||
input {
|
||||
# Mouse
|
||||
# accel_profile = adaptive
|
||||
force_no_accel = false
|
||||
#sensitivity = 0
|
||||
# osu
|
||||
# force_no_accel = true
|
||||
# sensitivity = -0.23
|
||||
|
||||
# Keyboard
|
||||
kb_layout = us
|
||||
follow_mouse = 1
|
||||
numlock_by_default = true
|
||||
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
disable_while_typing = true
|
||||
clickfinger_behavior = true
|
||||
scroll_factor = 0.7
|
||||
}
|
||||
scroll_method = 2fg
|
||||
}
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = true
|
||||
workspace_swipe_distance = 1000px
|
||||
workspace_swipe_fingers = 4
|
||||
workspace_swipe_cancel_ratio = 0.05
|
||||
workspace_swipe_min_speed_to_force = 5
|
||||
workspace_swipe_create_new = true
|
||||
}
|
||||
|
||||
general {
|
||||
# Gaps and border
|
||||
gaps_in = 4
|
||||
gaps_out = 7
|
||||
border_size = 2
|
||||
|
||||
# Fallback colors
|
||||
col.active_border = rgba(0DB7D4FF) rgba(7AA2F7FF) rgba(9778D0FF) 45deg
|
||||
col.inactive_border = rgba(04404aaa)
|
||||
|
||||
# Functionality
|
||||
# resize_on_border = true
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
|
||||
decoration {
|
||||
# Blur rules
|
||||
# blurls=gtk-layer-shell
|
||||
rounding = 17
|
||||
|
||||
# Blur
|
||||
blur = yes
|
||||
blur_size = 7
|
||||
blur_passes = 4
|
||||
blur_new_optimizations = on
|
||||
blur_ignore_opacity = false
|
||||
#blur_xray = true
|
||||
# Shadow
|
||||
drop_shadow = no
|
||||
shadow_range = 30
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(01010166)
|
||||
|
||||
# Opacity
|
||||
|
||||
|
||||
# Shader
|
||||
# screen_shader = ~/.config/hypr/shaders/nothing.frag
|
||||
|
||||
# Dim
|
||||
dim_inactive = false
|
||||
dim_strength = 0.1
|
||||
dim_special = 0
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
# Animation curves
|
||||
|
||||
bezier = md3_standard, 0.2, 0.0, 0, 1.0
|
||||
bezier = md3_decel, 0.05, 0.7, 0.1, 1
|
||||
bezier = md3_accel, 0.3, 0, 0.8, 0.15
|
||||
bezier = overshot, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
|
||||
bezier = win10, 0, 0, 0, 1
|
||||
bezier = gnome, 0, 0.85, 0.3, 1
|
||||
bezier = funky, 0.46, 0.35, -0.2, 1.2
|
||||
# Animation configs
|
||||
animation = windows, 1, 2, md3_decel, slide
|
||||
animation = border, 1, 10, default
|
||||
animation = fade, 1, 0.0000001, default
|
||||
animation = workspaces, 1, 4, md3_decel, slidevert
|
||||
}
|
||||
|
||||
misc {
|
||||
vfr = 1
|
||||
vrr = 0
|
||||
focus_on_activate = true
|
||||
animate_manual_resizes = true
|
||||
animate_mouse_windowdragging = true
|
||||
#suppress_portal_warnings = true
|
||||
enable_swallow = true
|
||||
}
|
||||
debug {
|
||||
#overlay = true
|
||||
}
|
||||
dwindle {
|
||||
preserve_split = true # you probably want this
|
||||
#no_gaps_when_only = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
#screen_shader = ~/.config/hypr/shaders/drugs.frag
|
||||
#screen_shader = ~/.config/hypr/shaders/crt.frag
|
||||
}
|
||||
debug {
|
||||
#damage_tracking=0
|
||||
}
|
||||
|
||||
# Efficiency
|
||||
#general {
|
||||
# gaps_in = 0
|
||||
# gaps_out = 0
|
||||
# border_size = 2
|
||||
#}
|
||||
#decoration {
|
||||
# rounding = 0
|
||||
#}
|
||||
#monitor=eDP-1, addreserved, 32, 0, 0, 0
|
||||
|
||||
######## Window rules ########
|
||||
#windowrule = float, ^(firefox)$
|
||||
windowrule = float, ^(steam)$
|
||||
windowrule = float, ^(guifetch)$
|
||||
|
||||
#windowrule = opacity 0.9 override 0.9 override, ^(firefox)$
|
||||
# Dialogs
|
||||
windowrule=float,title:^(Open File)(.*)$
|
||||
windowrule=float,title:^(Open Folder)(.*)$
|
||||
windowrule=float,title:^(Save As)(.*)$
|
||||
windowrule=float,title:^(Library)(.*)$
|
||||
windowrulev2 = float, class:^com.github.hluk.copyq$
|
||||
|
||||
windowrulev2 = rounding 10, floating:1
|
||||
######## Layer rules ########
|
||||
layerrule = blur, gtk-layer-shell
|
||||
layerrule = ignorezero, gtk-layer-shell
|
||||
layerrule = blur, waybar
|
||||
layerrule = ignorezero, waybar
|
||||
|
||||
plugin {
|
||||
hyprbars {
|
||||
bar_color = rgba(090727FF)
|
||||
bar_height = 20
|
||||
bar_text_size = 10
|
||||
bar_text_color = rgba(7775D0FF)
|
||||
}
|
||||
borders-plus-plus {
|
||||
add_borders = 2 # 0 - 2
|
||||
col.border_1 = rgb(82E6F5) # example col for border 1
|
||||
col.border_2 = rgb(2222ff) # example col for border 2
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Dynamic colors are written here
|
||||
source=~/.config/hypr/colors.conf
|
||||
+199
@@ -0,0 +1,199 @@
|
||||
########################## Language ############################
|
||||
bind = SUPERSHIFT, V, exec, ibus engine Bamboo::Us
|
||||
bind = SUPERSHIFT, E, exec, ibus engine xkb:us::eng
|
||||
|
||||
#################### It just works™ keybinds ###################
|
||||
# Volume
|
||||
bindl = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindle = , XF86AudioRaiseVolume, exec, ~/.config/eww/scripts/volume osd &
|
||||
bindle = , XF86AudioLowerVolume, exec, ~/.config/eww/scripts/volume osd &
|
||||
bindl = , XF86AudioMute, exec, ~/.config/eww/scripts/volume osd &
|
||||
|
||||
# Brightness
|
||||
bindle=, XF86MonBrightnessUp, exec, light -A 3 && ~/.config/eww/scripts/brightness osd &
|
||||
bindle=, XF86MonBrightnessDown, exec, light -U 3 && ~/.config/eww/scripts/brightness osd &
|
||||
|
||||
######################################## Keybinds ########################################
|
||||
# Apps: just normal apps
|
||||
bind = SUPER, C, exec, code --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
bind = CONTROLSHIFTALT, Y, exec, yuzu
|
||||
bind = SUPER, T, exec, foot --override shell=fish
|
||||
bind = SUPERALT, T, exec, wezterm
|
||||
bind = SUPER, Return, exec, kitty
|
||||
bind = SUPER, E, exec, nautilus --new-window
|
||||
bind = SUPER, W, exec, firefox
|
||||
bind = CONTROLSUPERALT, E, exec, /usr/bin/microsoft-edge-stable --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4
|
||||
bind = SUPER, X, exec, gnome-text-editor --new-window
|
||||
bind = SUPERSHIFT, W, exec, wps
|
||||
|
||||
#Apps: Settings and config
|
||||
bind = SUPER, I, exec, gnome-control-center
|
||||
bind = CONTROLSUPER, V, exec, pavucontrol
|
||||
bind = CONTROLSHIFT, Escape, exec, gnome-system-monitor
|
||||
bind = CONTROLALTSHIFT, Escape, exec, foot -T 'btop' btop
|
||||
bind = SUPERSHIFT, I, exec, ~/.local/bin/guifetch
|
||||
|
||||
|
||||
# Actions
|
||||
bind = SUPERSHIFT, Period, exec, pkill wofi || wofi-emoji
|
||||
bind = SUPER, Period, exec, pkill fuzzel || ~/.local/bin/fuzzel-emoji
|
||||
bind = SUPER, Q, killactive,
|
||||
bind = SUPERALT, Space, togglefloating,
|
||||
bind = SHIFTSUPERALT, Q, exec, hyprctl kill
|
||||
bind = CONTROLALT, Delete, exec, pkill wlogout || wlogout -p layer-shell
|
||||
bind = CONTROLSHIFTALTSUPER, Delete, exec, systemctl poweroff
|
||||
|
||||
# Screenshot, Record, OCR (Optical Character Recognition), Color picker, Clipboard history
|
||||
bind = SUPERSHIFT, D, exec,~/.local/bin/rubyshot | wl-copy
|
||||
bind = SUPERSHIFTALT, S, exec, grim -g "$(slurp)" - | swappy -f -
|
||||
bindl =,Print,exec,grim - | wl-copy
|
||||
bind = SUPERSHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
|
||||
bind = SUPERALT, R, exec, ~/.local/bin/record-script.sh
|
||||
bind = CONTROLALT, R, exec, ~/.local/bin/record-script.sh --sound
|
||||
bind = SUPERSHIFTALT, R, exec, ~/.local/bin/record-script-fullscreen.sh
|
||||
bind = CONTROLSUPERSHIFT,S,exec,grim -g "$(slurp)" "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
bind = SUPERSHIFT,T,exec,grim -g "$(slurp)" "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
bind = SUPERSHIFT, C, exec, hyprpicker -a
|
||||
bind = SUPER, B, exec, copyq menu
|
||||
bind = SUPER, V, exec, pkill fuzzel || cliphist list | fuzzel --no-fuzzy --icon-theme=candy-icons --background-color=1D1D27ee --text-color=cdd6f4ff --match-color=AC16C7FF --border-width=3 --border-radius=10 --border-color=8701E7FF --selection-color=585b70ff --selection-text-color=cdd6f4ff --selection-match-color=AC16C7FF --font="Rubik" --prompt=" " --dmenu | cliphist decode | wl-copy
|
||||
# Media
|
||||
bind = SUPERSHIFT, N, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"`
|
||||
bind = SUPERSHIFT, B, exec, playerctl previous
|
||||
bind = SUPERSHIFT, P, exec, playerctl play-pause
|
||||
#Lock screen | blur: --effect-blur=20x20
|
||||
bind = SUPER, L, exec, ~/.local/bin/lock.sh
|
||||
bind = SUPERSHIFT, L, exec, ~/.local/bin/lock.sh
|
||||
bindl = SUPERSHIFT, L, exec, sleep 0.1 && systemctl suspend
|
||||
# App launcher
|
||||
bindr = SUPER, SUPER_L, exec, ~/.config/eww/scripts/toggle-overview.sh --keypress &
|
||||
bind = SUPER, Slash, exec, pkill fuzzel || fuzzel --icon-theme=candy-icons --background-color=1D1D27ee --text-color=cdd6f4ff --match-color=AC16C7FF --border-width=3 --border-radius=10 --border-color=8701E7FF --selection-color=585b70ff --selection-text-color=cdd6f4ff --selection-match-color=AC16C7FF --font="Rubik" --prompt=" "
|
||||
#bindr = SUPER, SUPER_L, exec, pkill rofi || rofi -show drun
|
||||
|
||||
################################# eww keybinds ################################
|
||||
bindr = CONTROLSUPER, R, exec, pkill eww && eww daemon && eww open bar && eww open bg-decor
|
||||
bind = SUPER, Tab, exec, ~/.config/eww/scripts/toggle-overview.sh
|
||||
bind = SUPER, O, exec, ~/.config/eww/scripts/toggle-osettings.sh --keypress
|
||||
bind = CONTROLSUPER, O, exec, ~/.config/eww/scripts/toggle-osettings.sh --keypress
|
||||
bind = SUPER, M, exec, ~/.config/eww/scripts/toggle-bottombar.sh
|
||||
bind = SUPER, N, exec, ~/.config/eww/scripts/toggle-onotify.sh --keypress
|
||||
bind = SUPER, Comma, exec, ~/.config/eww/scripts/toggle-themer.sh
|
||||
bind = SUPER, D, exec, ~/.config/eww/scripts/toggle-dash.sh --keypress
|
||||
bind = SUPER, A, exec, ~/.config/eww/scripts/toggle-dashfs.sh
|
||||
bind = SUPER, G, exec, ~/.config/eww/scripts/toggle-wingamebar.sh
|
||||
|
||||
bind = CONTROLSUPER, Tab, exec, ~/.config/eww/scripts/toggle-compactmode.sh
|
||||
bind = SUPERALT, W, exec, ~/.config/eww/scripts/toggle-winmode.sh
|
||||
|
||||
############################ Keybinds for Hyprland ############################
|
||||
# Swap windows
|
||||
bind=SUPERSHIFT,left,movewindow,l
|
||||
bind=SUPERSHIFT,right,movewindow,r
|
||||
bind=SUPERSHIFT,up,movewindow,u
|
||||
bind=SUPERSHIFT,down,movewindow,d
|
||||
# Move focus
|
||||
bind = SUPER, left, movefocus, l
|
||||
bind = SUPER, right, movefocus, r
|
||||
bind = SUPER, up, movefocus, u
|
||||
bind = SUPER, down, movefocus, d
|
||||
bind = SUPER, BracketLeft, movefocus, l
|
||||
bind = SUPER, BracketRight, movefocus, r
|
||||
# Window title
|
||||
bind = SUPER, left, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, right, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, up, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, down, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, BracketLeft, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, BracketRight, exec, eww update rev_center_ws=false
|
||||
bind = ALT, Tab, exec, eww update rev_center_ws=false
|
||||
|
||||
# Workspace, window, tab switch with keyboard
|
||||
bind = CONTROLSUPER, right, workspace, +1
|
||||
bind = CONTROLSUPER, left, workspace, -1
|
||||
bind = CONTROLSUPER, BracketLeft, workspace, -1
|
||||
bind = CONTROLSUPER, BracketRight, workspace, +1
|
||||
bind = CONTROLSUPER, up, workspace, -5
|
||||
bind = CONTROLSUPER, down, workspace, +5
|
||||
bind = SUPER, Page_Down, workspace, +1
|
||||
bind = SUPER, Page_Up, workspace, -1
|
||||
bind = CONTROLSUPER, Page_Down, workspace, +1
|
||||
bind = CONTROLSUPER, Page_Up, workspace, -1
|
||||
bind = SUPERSHIFT, Page_Down, movetoworkspace, +1
|
||||
bind = SUPERSHIFT, Page_Up, movetoworkspace, -1
|
||||
bind = CONTROLSUPERSHIFT, Right, movetoworkspace, +1
|
||||
bind = CONTROLSUPERSHIFT, Left, movetoworkspace, -1
|
||||
bind = SUPERSHIFT, mouse_down, movetoworkspace, -1
|
||||
bind = SUPERSHIFT, mouse_up, movetoworkspace, +1
|
||||
|
||||
# Show workspaces module
|
||||
bind = CONTROLSUPER, right, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, left, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, BracketLeft, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, BracketRight, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, up, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, down, exec, eww update rev_center_ws=true
|
||||
bind = SUPER, Page_Down, exec, eww update rev_center_ws=true
|
||||
bind = SUPER, Page_Up, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, Page_Down, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, Page_Up, exec, eww update rev_center_ws=true
|
||||
bind = SUPERSHIFT, Page_Down, exec, eww update rev_center_ws=true
|
||||
bind = SUPERSHIFT, Page_Up, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPERSHIFT, Right, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPERSHIFT, Left, exec, eww update rev_center_ws=true
|
||||
bind = SUPERSHIFT, mouse_down, exec, eww update rev_center_ws=true
|
||||
bind = SUPERSHIFT, mouse_up, exec, eww update rev_center_ws=true
|
||||
|
||||
# Window split ratio
|
||||
binde = SUPER, Minus, splitratio, -0.1
|
||||
binde = SUPER, Equal, splitratio, 0.1
|
||||
binde = SUPER, Semicolon, splitratio, -0.1
|
||||
binde = SUPER, Apostrophe, splitratio, 0.1
|
||||
# Fullscreen
|
||||
bind = SUPER, F, fullscreen
|
||||
# Switching
|
||||
bind = SUPER, 1, workspace, 1
|
||||
bind = SUPER, 2, workspace, 2
|
||||
bind = SUPER, 3, workspace, 3
|
||||
bind = SUPER, 4, workspace, 4
|
||||
bind = SUPER, 5, workspace, 5
|
||||
bind = SUPER, 6, workspace, 6
|
||||
bind = SUPER, 7, workspace, 7
|
||||
bind = SUPER, 8, workspace, 8
|
||||
bind = SUPER, 9, workspace, 9
|
||||
bind = SUPER, 0, workspace, 10
|
||||
bind = SUPER, S, togglespecialworkspace,
|
||||
bind = CONTROLSUPER, S, togglespecialworkspace,
|
||||
bind = ALT, Tab, cyclenext # Why is this even here?
|
||||
bind = ALT, Tab, bringactivetotop, # bring it to the top
|
||||
# Move window to workspace Super + Alt + [0-9]
|
||||
bind = SUPER ALT, 1, movetoworkspacesilent, 1
|
||||
bind = SUPER ALT, 2, movetoworkspacesilent, 2
|
||||
bind = SUPER ALT, 3, movetoworkspacesilent, 3
|
||||
bind = SUPER ALT, 4, movetoworkspacesilent, 4
|
||||
bind = SUPER ALT, 5, movetoworkspacesilent, 5
|
||||
bind = SUPER ALT, 6, movetoworkspacesilent, 6
|
||||
bind = SUPER ALT, 7, movetoworkspacesilent, 7
|
||||
bind = SUPER ALT, 8, movetoworkspacesilent, 8
|
||||
bind = SUPER ALT, 9, movetoworkspacesilent, 9
|
||||
bind = SUPER ALT, 0, movetoworkspacesilent, 10
|
||||
bind = CONTROLSHIFTSUPER, Up, movetoworkspacesilent, special
|
||||
bind = SUPERALT, S, movetoworkspacesilent, special
|
||||
# Scroll through existing workspaces with (Control) + Super + scroll
|
||||
bind = SUPER, mouse_up, workspace, +1
|
||||
bind = SUPER, mouse_down, workspace, -1
|
||||
bind = CONTROLSUPER, mouse_up, workspace, +1
|
||||
bind = CONTROLSUPER, mouse_down, workspace, -1
|
||||
# Move/resize windows with Super + LMB/RMB and dragging
|
||||
bindm = SUPER, mouse:272, movewindow
|
||||
bindm = SUPER, mouse:273, resizewindow
|
||||
bindm = SUPER, mouse:274, movewindow
|
||||
bindm = SUPER, Z, movewindow
|
||||
bind = CONTROLSUPER, Backslash, resizeactive, exact 640 480
|
||||
|
||||
# trying vim-like stuff
|
||||
binde = SUPER_ALT, I, exec, wtype -k Up
|
||||
binde = SUPER_ALT, K, exec, wtype -P Down
|
||||
binde = SUPER_ALT, J, exec, wtype -P Left
|
||||
binde = SUPER_ALT, L, exec, wtype -P Right
|
||||
|
||||
+198
@@ -0,0 +1,198 @@
|
||||
########################## Language ############################
|
||||
bind = SUPERSHIFT, V, exec, ibus engine Bamboo::Us
|
||||
bind = SUPERSHIFT, E, exec, ibus engine xkb:us::eng
|
||||
|
||||
#################### It just works™ keybinds ###################
|
||||
# Volume
|
||||
bindl = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindle = , XF86AudioRaiseVolume, exec, ~/.config/eww/scripts/volume osd &
|
||||
bindle = , XF86AudioLowerVolume, exec, ~/.config/eww/scripts/volume osd &
|
||||
bindl = , XF86AudioMute, exec, ~/.config/eww/scripts/volume osd &
|
||||
|
||||
# Brightness
|
||||
bindle=, XF86MonBrightnessUp, exec, light -A 3 && ~/.config/eww/scripts/brightness osd &
|
||||
bindle=, XF86MonBrightnessDown, exec, light -U 3 && ~/.config/eww/scripts/brightness osd &
|
||||
|
||||
######################################## Keybinds ########################################
|
||||
# Apps: just normal apps
|
||||
bind = SUPER, C, exec, code --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
bind = CONTROLSHIFTALT, Y, exec, yuzu
|
||||
bind = SUPER, T, exec, foot --override shell=fish
|
||||
bind = SUPERALT, T, exec, wezterm
|
||||
bind = SUPER, Return, exec, kitty
|
||||
bind = SUPER, E, exec, nautilus --new-window
|
||||
bind = SUPER, W, exec, firefox
|
||||
bind = CONTROLSUPERALT, E, exec, /usr/bin/microsoft-edge-stable --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4
|
||||
bind = SUPER, X, exec, gnome-text-editor --new-window
|
||||
bind = SUPERSHIFT, W, exec, wps
|
||||
|
||||
#Apps: Settings and config
|
||||
bind = SUPER, I, exec, gnome-control-center
|
||||
bind = CONTROLSUPER, V, exec, pavucontrol
|
||||
bind = CONTROLSHIFT, Escape, exec, gnome-system-monitor
|
||||
bind = CONTROLALTSHIFT, Escape, exec, foot -T 'btop' btop
|
||||
bind = SUPERSHIFT, I, exec, ~/.local/bin/guifetch
|
||||
|
||||
|
||||
# Actions
|
||||
bind = SUPERSHIFT, Period, exec, pkill wofi || wofi-emoji
|
||||
bind = SUPER, Period, exec, pkill fuzzel || ~/.local/bin/fuzzel-emoji
|
||||
bind = SUPER, Q, killactive,
|
||||
bind = SUPERALT, Space, togglefloating,
|
||||
bind = SHIFTSUPERALT, Q, exec, hyprctl kill
|
||||
bind = CONTROLALT, Delete, exec, pkill wlogout || wlogout -p layer-shell
|
||||
bind = CONTROLSHIFTALTSUPER, Delete, exec, systemctl poweroff
|
||||
|
||||
# Screenshot, Record, OCR (Optical Character Recognition), Color picker, Clipboard history
|
||||
bind = SUPERSHIFT, D, exec,~/.local/bin/rubyshot | wl-copy
|
||||
bind = SUPERSHIFTALT, S, exec, grim -g "$(slurp)" - | swappy -f -
|
||||
bindl =,Print,exec,grim - | wl-copy
|
||||
bind = SUPERSHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
|
||||
bind = SUPERALT, R, exec, ~/.local/bin/record-script.sh
|
||||
bind = CONTROLALT, R, exec, ~/.local/bin/record-script.sh --sound
|
||||
bind = SUPERSHIFTALT, R, exec, ~/.local/bin/record-script-fullscreen.sh
|
||||
bind = CONTROLSUPERSHIFT,S,exec,grim -g "$(slurp)" "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
bind = SUPERSHIFT,T,exec,grim -g "$(slurp)" "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
bind = SUPERSHIFT, C, exec, hyprpicker -a
|
||||
bind = SUPER, B, exec, copyq menu
|
||||
bind = SUPER, V, exec, pkill fuzzel || cliphist list | fuzzel --no-fuzzy --icon-theme=candy-icons --background-color=1D1D27ee --text-color=cdd6f4ff --match-color=AC16C7FF --border-width=3 --border-radius=10 --border-color=8701E7FF --selection-color=585b70ff --selection-text-color=cdd6f4ff --selection-match-color=AC16C7FF --font="Rubik" --prompt=" " --dmenu | cliphist decode | wl-copy
|
||||
# Media
|
||||
bind = SUPERSHIFT, N, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"`
|
||||
bind = SUPERSHIFT, B, exec, playerctl previous
|
||||
bind = SUPERSHIFT, P, exec, playerctl play-pause
|
||||
#Lock screen | blur: --effect-blur=20x20
|
||||
bind = SUPER, L, exec, ~/.local/bin/lock.sh
|
||||
bind = SUPERSHIFT, L, exec, ~/.local/bin/lock.sh
|
||||
bindl = SUPERSHIFT, L, exec, sleep 0.1 && systemctl suspend
|
||||
# App launcher
|
||||
bindr = SUPER, SUPER_L, exec, ~/.config/eww/scripts/toggle-overview.sh --keypress &
|
||||
bind = SUPER, Slash, exec, pkill fuzzel || fuzzel --icon-theme=candy-icons --background-color=1D1D27ee --text-color=cdd6f4ff --match-color=AC16C7FF --border-width=3 --border-radius=10 --border-color=8701E7FF --selection-color=585b70ff --selection-text-color=cdd6f4ff --selection-match-color=AC16C7FF --font="Rubik" --prompt=" "
|
||||
#bindr = SUPER, SUPER_L, exec, pkill rofi || rofi -show drun
|
||||
|
||||
################################# eww keybinds ################################
|
||||
bindr = CONTROLSUPER, R, exec, pkill eww && eww daemon && eww open bar && eww open bg-decor
|
||||
bind = SUPER, Tab, exec, ~/.config/eww/scripts/toggle-overview.sh
|
||||
bind = SUPER, O, exec, ~/.config/eww/scripts/toggle-osettings.sh --keypress
|
||||
bind = CONTROLSUPER, O, exec, ~/.config/eww/scripts/toggle-osettings.sh --keypress
|
||||
bind = SUPER, M, exec, ~/.config/eww/scripts/toggle-bottombar.sh
|
||||
bind = SUPER, N, exec, ~/.config/eww/scripts/toggle-onotify.sh --keypress
|
||||
bind = SUPER, Comma, exec, ~/.config/eww/scripts/toggle-themer.sh
|
||||
bind = SUPER, D, exec, ~/.config/eww/scripts/toggle-dash.sh --keypress
|
||||
bind = SUPER, A, exec, ~/.config/eww/scripts/toggle-dashfs.sh
|
||||
bind = SUPER, G, exec, ~/.config/eww/scripts/toggle-wingamebar.sh
|
||||
|
||||
bind = CONTROLSUPER, Tab, exec, ~/.config/eww/scripts/toggle-compactmode.sh
|
||||
bind = SUPERALT, W, exec, ~/.config/eww/scripts/toggle-winmode.sh
|
||||
|
||||
############################ Keybinds for Hyprland ############################
|
||||
# Swap windows
|
||||
bind=SUPERSHIFT,left,movewindow,l
|
||||
bind=SUPERSHIFT,right,movewindow,r
|
||||
bind=SUPERSHIFT,up,movewindow,u
|
||||
bind=SUPERSHIFT,down,movewindow,d
|
||||
# Move focus
|
||||
bind = SUPER, left, movefocus, l
|
||||
bind = SUPER, right, movefocus, r
|
||||
bind = SUPER, up, movefocus, u
|
||||
bind = SUPER, down, movefocus, d
|
||||
bind = SUPER, BracketLeft, movefocus, l
|
||||
bind = SUPER, BracketRight, movefocus, r
|
||||
# Window title
|
||||
bind = SUPER, left, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, right, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, up, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, down, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, BracketLeft, exec, eww update rev_center_ws=false
|
||||
bind = SUPER, BracketRight, exec, eww update rev_center_ws=false
|
||||
bind = ALT, Tab, exec, eww update rev_center_ws=false
|
||||
|
||||
# Workspace, window, tab switch with keyboard
|
||||
bind = CONTROLSUPER, right, workspace, +1
|
||||
bind = CONTROLSUPER, left, workspace, -1
|
||||
bind = CONTROLSUPER, BracketLeft, workspace, -1
|
||||
bind = CONTROLSUPER, BracketRight, workspace, +1
|
||||
bind = CONTROLSUPER, up, workspace, -1
|
||||
bind = CONTROLSUPER, down, workspace, +1
|
||||
bind = SUPER, Page_Down, workspace, +1
|
||||
bind = SUPER, Page_Up, workspace, -1
|
||||
bind = CONTROLSUPER, Page_Down, workspace, +1
|
||||
bind = CONTROLSUPER, Page_Up, workspace, -1
|
||||
bind = SUPERSHIFT, Page_Down, movetoworkspace, +1
|
||||
bind = SUPERSHIFT, Page_Up, movetoworkspace, -1
|
||||
bind = CONTROLSUPERSHIFT, Right, movetoworkspace, +1
|
||||
bind = CONTROLSUPERSHIFT, Left, movetoworkspace, -1
|
||||
bind = SUPERSHIFT, mouse_down, movetoworkspace, -1
|
||||
bind = SUPERSHIFT, mouse_up, movetoworkspace, +1
|
||||
|
||||
# Show workspaces module
|
||||
bind = CONTROLSUPER, right, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, left, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, BracketLeft, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, BracketRight, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, up, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, down, exec, eww update rev_center_ws=true
|
||||
bind = SUPER, Page_Down, exec, eww update rev_center_ws=true
|
||||
bind = SUPER, Page_Up, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, Page_Down, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPER, Page_Up, exec, eww update rev_center_ws=true
|
||||
bind = SUPERSHIFT, Page_Down, exec, eww update rev_center_ws=true
|
||||
bind = SUPERSHIFT, Page_Up, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPERSHIFT, Right, exec, eww update rev_center_ws=true
|
||||
bind = CONTROLSUPERSHIFT, Left, exec, eww update rev_center_ws=true
|
||||
bind = SUPERSHIFT, mouse_down, exec, eww update rev_center_ws=true
|
||||
bind = SUPERSHIFT, mouse_up, exec, eww update rev_center_ws=true
|
||||
|
||||
# Window split ratio
|
||||
binde = SUPER, Minus, splitratio, -0.1
|
||||
binde = SUPER, Equal, splitratio, 0.1
|
||||
binde = SUPER, Semicolon, splitratio, -0.1
|
||||
binde = SUPER, Apostrophe, splitratio, 0.1
|
||||
# Fullscreen
|
||||
bind = SUPER, F, fullscreen
|
||||
# Switching
|
||||
bind = SUPER, 1, workspace, 1
|
||||
bind = SUPER, 2, workspace, 2
|
||||
bind = SUPER, 3, workspace, 3
|
||||
bind = SUPER, 4, workspace, 4
|
||||
bind = SUPER, 5, workspace, 5
|
||||
bind = SUPER, 6, workspace, 6
|
||||
bind = SUPER, 7, workspace, 7
|
||||
bind = SUPER, 8, workspace, 8
|
||||
bind = SUPER, 9, workspace, 9
|
||||
bind = SUPER, 0, workspace, 10
|
||||
bind = SUPER, S, togglespecialworkspace,
|
||||
bind = CONTROLSUPER, S, togglespecialworkspace,
|
||||
bind = ALT, Tab, cyclenext # Why is this even here?
|
||||
bind = ALT, Tab, bringactivetotop, # bring it to the top
|
||||
# Move window to workspace Super + Alt + [0-9]
|
||||
bind = SUPER ALT, 1, movetoworkspacesilent, 1
|
||||
bind = SUPER ALT, 2, movetoworkspacesilent, 2
|
||||
bind = SUPER ALT, 3, movetoworkspacesilent, 3
|
||||
bind = SUPER ALT, 4, movetoworkspacesilent, 4
|
||||
bind = SUPER ALT, 5, movetoworkspacesilent, 5
|
||||
bind = SUPER ALT, 6, movetoworkspacesilent, 6
|
||||
bind = SUPER ALT, 7, movetoworkspacesilent, 7
|
||||
bind = SUPER ALT, 8, movetoworkspacesilent, 8
|
||||
bind = SUPER ALT, 9, movetoworkspacesilent, 9
|
||||
bind = SUPER ALT, 0, movetoworkspacesilent, 10
|
||||
bind = SUPERALT, S, movetoworkspacesilent, special
|
||||
# Scroll through existing workspaces with (Control) + Super + scroll
|
||||
bind = SUPER, mouse_up, workspace, +1
|
||||
bind = SUPER, mouse_down, workspace, -1
|
||||
bind = CONTROLSUPER, mouse_up, workspace, +1
|
||||
bind = CONTROLSUPER, mouse_down, workspace, -1
|
||||
# Move/resize windows with Super + LMB/RMB and dragging
|
||||
bindm = SUPER, mouse:272, movewindow
|
||||
bindm = SUPER, mouse:273, resizewindow
|
||||
bindm = SUPER, mouse:274, movewindow
|
||||
bindm = SUPER, Z, movewindow
|
||||
bind = CONTROLSUPER, Backslash, resizeactive, exact 640 480
|
||||
|
||||
# trying vim-like stuff
|
||||
binde = SUPER_ALT, I, exec, wtype -k Up
|
||||
binde = SUPER_ALT, K, exec, wtype -P Down
|
||||
binde = SUPER_ALT, J, exec, wtype -P Left
|
||||
binde = SUPER_ALT, L, exec, wtype -P Right
|
||||
|
||||
Reference in New Issue
Block a user