forked from Shinonome/dots-hyprland
init illogical-impulse
This commit is contained in:
+10
-10
@@ -1,24 +1,24 @@
|
||||
# Auto generated color theme for image at: [Local wallpaper]
|
||||
general {
|
||||
col.active_border = rgba(5529a5FF)
|
||||
col.inactive_border = rgba(4b4358AA)
|
||||
col.active_border = rgba(36399fFF)
|
||||
col.inactive_border = rgba(454559AA)
|
||||
}
|
||||
|
||||
plugin {
|
||||
droidbars {
|
||||
# example config
|
||||
bar_height = 30
|
||||
background_color = rgba(1d1b1fFF)
|
||||
# background_color_active = rgba(49454fFF) # Not added yet
|
||||
text_color = rgba(e9def8FF)
|
||||
background_color = rgba(1b1b1fFF)
|
||||
# background_color_active = rgba(47464fFF) # Not added yet
|
||||
text_color = rgba(e2e0f9FF)
|
||||
font_family = Lexend
|
||||
button_font_fmily = JetBrainsMono Nerd Font
|
||||
button_font_fmily = JetBrainsMono NF
|
||||
|
||||
# example buttons (R -> L)
|
||||
# droidbars-button = [0]isLeft(0/1), [1]color, [2]color2, [3]width, [4]height, [5]icon, [6]buttonType, [7]on-click
|
||||
droidbars-button = 0, rgba(e9def8FF), rgba(d3bbffFF), 42, 16, , normal, hyprctl dispatch killactive
|
||||
droidbars-button = 0, rgba(e9def8FF), rgba(d3bbffFF), 42, 16, , normal, hyprctl dispatch fullscreen 1
|
||||
droidbars-button = 1, rgba(e9def8FF), rgba(d3bbffFF), 16, 16,, pin, hyprctl dispatch pin
|
||||
droidbars-button = 1, rgba(e9def8FF), rgba(d3bbffFF), 16, 16,, float, hyprctl dispatch togglefloating
|
||||
droidbars-button = 0, rgba(e2e0f9FF), rgba(bfc2ffFF), 42, 16, , normal, hyprctl dispatch killactive
|
||||
droidbars-button = 0, rgba(e2e0f9FF), rgba(bfc2ffFF), 42, 16, , normal, hyprctl dispatch fullscreen 1
|
||||
droidbars-button = 1, rgba(e2e0f9FF), rgba(bfc2ffFF), 16, 16,, pin, hyprctl dispatch pin
|
||||
droidbars-button = 1, rgba(e2e0f9FF), rgba(bfc2ffFF), 16, 16,, float, hyprctl dispatch togglefloating
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ exec-once = fcitx5
|
||||
exec-once = dbus-update-activation-environment --all &
|
||||
exec-once = /usr/bin/gnome-keyring-daemon --start --components=secrets &
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
exec-once = swayidle -w timeout 300 'gtklock' before-sleep 'gtklock' &
|
||||
exec-once = swayidle -w timeout 300 'swaylock' before-sleep 'swaylock' &
|
||||
exec-once = swayidle -w timeout 450 'pidof java || systemctl suspend' & # dont sleep if playing minecraft, else nvidia will fuck up
|
||||
exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Some fix idk
|
||||
|
||||
@@ -26,3 +26,6 @@ exec-once = hyprctl setcursor Bibata-Modern-Classic 24
|
||||
|
||||
# Plugins
|
||||
# are a good way to crash Hyprland
|
||||
# so nothing here
|
||||
|
||||
|
||||
|
||||
+22
-18
@@ -26,7 +26,10 @@ input {
|
||||
#sensitivity = 0
|
||||
|
||||
# Keyboard
|
||||
# Add a layout and comment kb_options for Win+Space switching shortcut
|
||||
kb_layout = us
|
||||
# kb_options = grp:win_space_toggle
|
||||
|
||||
follow_mouse = 1
|
||||
numlock_by_default = true
|
||||
repeat_delay = 250
|
||||
@@ -66,7 +69,7 @@ general {
|
||||
# Gaps and border
|
||||
gaps_in = 4
|
||||
gaps_out = 5
|
||||
gaps_workspace = 50
|
||||
gaps_workspaces = 50
|
||||
border_size = 1
|
||||
|
||||
# Fallback colors
|
||||
@@ -98,7 +101,7 @@ decoration {
|
||||
special = false
|
||||
new_optimizations = on
|
||||
|
||||
size = 10
|
||||
size = 5
|
||||
passes = 4
|
||||
brightness = 1
|
||||
noise = 0.01
|
||||
@@ -111,10 +114,10 @@ decoration {
|
||||
# Shadow
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_range = 15
|
||||
shadow_range = 20
|
||||
shadow_offset = 0 2
|
||||
shadow_render_power = 6
|
||||
col.shadow = rgba(00000044)
|
||||
shadow_render_power = 2
|
||||
col.shadow = rgba(0000001A)
|
||||
|
||||
# Shader
|
||||
# screen_shader = ~/.config/hypr/shaders/nothing.frag
|
||||
@@ -146,14 +149,14 @@ animations {
|
||||
animation = border, 1, 10, default
|
||||
animation = fade, 1, 2.5, md3_decel
|
||||
# animation = workspaces, 1, 3.5, md3_decel, slide
|
||||
animation = workspaces, 1, 3.5, easeOutExpo, slide
|
||||
animation = workspaces, 1, 7, fluent_decel, slide
|
||||
# animation = workspaces, 1, 7, fluent_decel, slidefade 15%
|
||||
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
|
||||
animation = specialWorkspace, 1, 3, md3_decel, slidevert
|
||||
}
|
||||
|
||||
misc {
|
||||
vfr = true
|
||||
vfr = 1
|
||||
vrr = 1
|
||||
focus_on_activate = true
|
||||
animate_manual_resizes = false
|
||||
@@ -170,7 +173,7 @@ debug {
|
||||
#overlay = true
|
||||
#damage_tracking = 0
|
||||
|
||||
#damage_blink = yes
|
||||
#damage_blink = yes
|
||||
}
|
||||
|
||||
#misc {
|
||||
@@ -186,6 +189,8 @@ decoration {
|
||||
}
|
||||
|
||||
######## Window rules ########
|
||||
windowrule = noblur,.*
|
||||
|
||||
#windowrule = opacity 0.94 override 0.94 override, .*
|
||||
windowrule = float, ^(steam)$
|
||||
windowrule = float, ^(guifetch)$ # FlafyDev/guifetch
|
||||
@@ -206,6 +211,7 @@ layerrule = xray 1, .*
|
||||
#layerrule = noanim, .*
|
||||
layerrule = noanim, selection
|
||||
layerrule = noanim, overview
|
||||
layerrule = blur, swaylock
|
||||
|
||||
layerrule = blur, eww
|
||||
layerrule = ignorealpha 0.8, eww
|
||||
@@ -219,14 +225,18 @@ layerrule = blur, notifications
|
||||
layerrule = ignorealpha 0.69, notifications
|
||||
|
||||
# ags
|
||||
layerrule = blur, session
|
||||
layerrule = noanim, sideright
|
||||
layerrule = noanim, sideleft
|
||||
|
||||
#layerrule = blur, bar
|
||||
#layerrule = ignorealpha 0.64, bar
|
||||
#layerrule = blur, corner.*
|
||||
#layerrule = ignorealpha 0.69, corner.*
|
||||
#layerrule = blur, dock
|
||||
#layerrule = ignorealpha 0.69, dock
|
||||
# layerrule = blur, indicator.*
|
||||
# layerrule = ignorealpha 0.69, indicator.*
|
||||
#layerrule = blur, indicator.*
|
||||
#layerrule = ignorealpha 0.69, indicator.*
|
||||
#layerrule = blur, overview
|
||||
#layerrule = ignorealpha 0.69, overview
|
||||
#layerrule = blur, cheatsheet
|
||||
@@ -235,17 +245,11 @@ layerrule = ignorealpha 0.69, notifications
|
||||
#layerrule = ignorealpha 0.69, sideright
|
||||
#layerrule = blur, sideleft
|
||||
#layerrule = ignorealpha 0.69, sideleft
|
||||
#layerrule = blur, indicatorundefined
|
||||
#layerrule = ignorealpha 0.69, indicatorundefined
|
||||
#layerrule = blur, indicator*
|
||||
#layerrule = ignorealpha 0.69, indicator*
|
||||
#layerrule = blur, osk
|
||||
#layerrule = ignorealpha 0.69, osk
|
||||
layerrule = blur, session
|
||||
|
||||
|
||||
# Dynamic colors
|
||||
source=~/.config/hypr/colors.conf
|
||||
|
||||
bind=,248,exec,notify-send deez nuts
|
||||
bindr=,248,exec,eww close bar
|
||||
|
||||
|
||||
|
||||
+27
-32
@@ -5,21 +5,15 @@ bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
|
||||
# Brightness
|
||||
# bindle=, XF86MonBrightnessUp, exec, light -A 5
|
||||
# bindle=, XF86MonBrightnessDown, exec, light -U 5
|
||||
# bindle=, XF86MonBrightnessUp, exec, brightnessctl set '12.75+'
|
||||
# bindle=, XF86MonBrightnessDown, exec, brightnessctl set '12.75-'
|
||||
bindle=, XF86MonBrightnessUp, exec, ags run-js 'brightness.screen_value += 0.05;'
|
||||
bindle=, XF86MonBrightnessDown, exec, ags run-js 'brightness.screen_value -= 0.05;'
|
||||
|
||||
######################################## Applications ########################################
|
||||
#################################### Applications ###################################
|
||||
# Apps: just normal apps
|
||||
# bind = Super, C, exec, code --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
bind = Super, C, exec, code --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
# bind = Super, C, exec, code --password-store=gnome
|
||||
bind = ControlShiftAlt, Y, exec, yuzu
|
||||
bind = Super, C, exec, code --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
bind = Super, T, exec, foot --override shell=fish
|
||||
bind = SuperShiftAlt, T, exec, foot sleep 0.01 && nmtui
|
||||
#bind = SuperAlt, T, exec, wezterm
|
||||
#bind = Super, Return, exec, wezterm
|
||||
bind = Super, E, exec, nautilus --new-window
|
||||
bind = SuperAlt, E, exec, thunar
|
||||
bind = Super, W, exec, firefox
|
||||
@@ -31,62 +25,60 @@ bind = SuperShift, W, exec, wps
|
||||
bind = Super, I, exec, XDG_CURRENT_DESKTOP="gnome" 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
|
||||
# Actions
|
||||
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 = ControlShiftAlt, Delete, exec, pkill wlogout || wlogout -p layer-shell
|
||||
bind = ControlShiftAltSuper, Delete, exec, systemctl poweroff
|
||||
#bind = ShiftAlt,mouse_up, exec, wtype -M ctrl -k Prior
|
||||
#bind = ShiftAlt,mouse_down, exec, wtype -M ctrl -k Next
|
||||
|
||||
# Screenshot, Record, OCR (Optical Character Recognition), Color picker, Clipboard history
|
||||
bind = SuperShift, D, exec,~/.local/bin/rubyshot | wl-copy
|
||||
# Screenshot, Record, OCR, Color picker, Clipboard history
|
||||
bind = SuperShiftAlt, S, exec, grim -g "$(slurp -d -c D1E5F4BB -b 1B232866 -s 00000000)" - | swappy -f -
|
||||
bindl =,Print,exec,grim - | wl-copy
|
||||
bindl=,Print,exec,grim - | wl-copy
|
||||
bind = SuperShift, S, exec, grim -g "$(slurp -d -c D1E5F4BB -b 1B232866 -s 00000000)" - | 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 = SuperAlt, R, exec, ~/.config/ags/scripts/record-script.sh
|
||||
bind = ControlAlt, R, exec, ~/.config/ags/scripts/record-script.sh --sound
|
||||
bind = SuperShiftAlt, R, exec, ~/.config/ags/scripts/record-script.sh --fullscreen-sound
|
||||
bind = SuperShift, C, exec, hyprpicker -a
|
||||
bind = Super, V, exec, pkill fuzzel || cliphist list | fuzzel --no-fuzzy --dmenu | cliphist decode | wl-copy
|
||||
|
||||
# Text-to-image
|
||||
# Normal
|
||||
# Normal
|
||||
bind = ControlSuperShift,S,exec,grim -g "$(slurp -d -c D1E5F4BB -b 1B232866 -s 00000000)" "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
# English
|
||||
# English
|
||||
bind = SuperShift,T,exec,grim -g "$(slurp -d -c D1E5F4BB -b 1B232866 -s 00000000)" "tmp.png" && tesseract -l eng "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
# Japanese
|
||||
# Japanese
|
||||
bind = SuperShift,J,exec,grim -g "$(slurp -d -c D1E5F4BB -b 1B232866 -s 00000000)" "tmp.png" && tesseract -l jpn "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
|
||||
# Media
|
||||
bind = SuperShift, N, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"`
|
||||
bindl = , XF86AudioNext, exec, ags run-js "Mpris.getPlayer()?.next()"
|
||||
bindl= ,XF86AudioNext, 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
|
||||
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
||||
|
||||
#Lock screen | blur: --effect-blur=20x202
|
||||
bind = Super, L, exec, gtklock
|
||||
bind = SuperShift, L, exec, gtklock
|
||||
bind = Super, L, exec, swaylock
|
||||
bind = SuperShift, L, exec, swaylock
|
||||
bindl = SuperShift, L, exec, sleep 0.1 && systemctl suspend
|
||||
|
||||
# App launcher
|
||||
bind = ControlSuper, Slash, exec, pkill anyrun || anyrun
|
||||
|
||||
###################################### AGS keybinds #####################################
|
||||
bindr = ControlSuper, R, exec, hyprctl reload; killall ags activewin.sh activews.sh gohypr bash ydotool; ags &
|
||||
bindr = ControlSuper, R, exec, killall ags activewin.sh activews.sh gohypr bash ydotool; ags &
|
||||
bindr = ControlSuperAlt, R, exec, hyprctl reload; killall ags activewin.sh activews.sh gohypr bash ydotool; ags &
|
||||
bind = ControlSuper, T, exec, ~/.config/ags/scripts/color_generation/switchwall.sh
|
||||
bindir = Super, Super_L, exec, ags -t 'overview'
|
||||
bind = Super, Tab, exec, ags -t 'overview'
|
||||
bind = Super, Slash, exec, ags -t 'cheatsheet'
|
||||
# bind = Super, O, exec, ags -t 'sideleft'
|
||||
bind = Super, B, exec, ags -t 'sideleft'
|
||||
bind = Super, O, exec, ags -t 'sideleft' # blame osu for this keybinding
|
||||
bind = Super, N, exec, ags -t 'sideright'
|
||||
bind = Super, M, exec, ags run-js 'openMusicControls.value = (!Mpris.getPlayer() ? false : !openMusicControls.value);'
|
||||
bind = Super, Comma, exec, ags run-js 'openColorScheme.value = true; Utils.timeout(2000, () => openColorScheme.value = false);'
|
||||
bind = Super, K, exec, ags -t 'osk'
|
||||
bind = ControlAlt, Delete, exec, ags -t 'session'
|
||||
bindr = Control, Control_R, exec, ags run-js 'indicator.popup(-1);'
|
||||
@@ -100,10 +92,11 @@ bindr = Control, Control_R, exec, ags run-js 'App.closeWindow("cheatsheet");'
|
||||
bindr = Control, Control_R, exec, ags run-js 'App.closeWindow("osk");'
|
||||
bindr = Control, Control_R, exec, ags run-js 'App.closeWindow("session");'
|
||||
bindr = Control, Control_R, exec, ags run-js 'openMusicControls.value = false'
|
||||
bindr = Control, Control_R, exec, ags run-js 'openColorScheme.value = false'
|
||||
|
||||
###################################### Plugins #########################################
|
||||
bind = ControlSuper, P, exec, hyprctl plugin load '/home/end/.config/hypr/plugins/droidbars.so'
|
||||
bind = ControlSuper, O, exec, hyprctl plugin unload '/home/end/.config/hypr/plugins/droidbars.so'
|
||||
bind = ControlSuper, P, exec, hyprctl plugin load "~/.config/hypr/plugins/droidbars.so"
|
||||
bind = ControlSuper, O, exec, hyprctl plugin unload "~/.config/hypr/plugins/droidbars.so"
|
||||
|
||||
## Testing
|
||||
# bind = SuperAlt, f12, exec, notify-send "Hyprland version: $(hyprctl version | head -2 | tail -1 | cut -f2 -d ' ')" "owo" -a 'Hyprland keybind'
|
||||
@@ -200,3 +193,5 @@ bindm = Super, mouse:273, resizewindow
|
||||
bindm = Super, Z, movewindow
|
||||
bind = ControlSuper, Backslash, resizeactive, exact 640 480
|
||||
|
||||
bind = SuperAlt, J, exec, ydotool key 105:1 105:0
|
||||
|
||||
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
// vim: set ft=glsl:
|
||||
// blue light filter shader
|
||||
// values from https://reshade.me/forum/shader-discussion/3673-blue-light-filter-similar-to-f-lux
|
||||
|
||||
precision mediump float;
|
||||
varying vec2 v_texcoord;
|
||||
uniform sampler2D tex;
|
||||
|
||||
void main() {
|
||||
vec4 pixColor = texture2D(tex, v_texcoord);
|
||||
pixColor.rgb = 1.0 - pixColor.rgb;
|
||||
gl_FragColor = pixColor;
|
||||
}
|
||||
Reference in New Issue
Block a user