mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
chezmoi: reorganise repo
This commit is contained in:
parent
b391e03c87
commit
67a78879db
278 changed files with 102 additions and 182 deletions
35
home/dot_config/hypr/hyprland/+colemak.conf
Normal file
35
home/dot_config/hypr/hyprland/+colemak.conf
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
bind = $mainMod, H, movefocus, l
|
||||
bind = $mainMod, I, movefocus, r
|
||||
bind = $mainMod, E, movefocus, u
|
||||
bind = $mainMod, N, movefocus, d
|
||||
bind = $mainMod SHIFT, H, swapwindow, l
|
||||
bind = $mainMod SHIFT, I, swapwindow, r
|
||||
bind = $mainMod SHIFT, E, swapwindow, u
|
||||
bind = $mainMod SHIFT, N, swapwindow, d
|
||||
bind = $mainMod, F, exec, $fileManager
|
||||
|
||||
bind = $mainMod CTRL, i, resizeactive, 10 0
|
||||
bind = $mainMod CTRL, h, resizeactive, -10 0
|
||||
bind = $mainMod CTRL, e, resizeactive, 0 -10
|
||||
bind = $mainMod CTRL, n, resizeactive, 0 10
|
||||
|
||||
submap = resize
|
||||
|
||||
binde = , right, resizeactive, 10 0
|
||||
binde = , left, resizeactive, -10 0
|
||||
binde = , up, resizeactive, 0 -10
|
||||
binde = , down, resizeactive, 0 10
|
||||
|
||||
binde = , i, resizeactive, 10 0
|
||||
binde = , h, resizeactive, -10 0
|
||||
binde = , e, resizeactive, 0 -10
|
||||
binde = , n, resizeactive, 0 10
|
||||
|
||||
binde = SHIFT, I, resizeactive, 40 0
|
||||
binde = SHIFT, H, resizeactive, -40 0
|
||||
binde = SHIFT, E, resizeactive, 0 -40
|
||||
binde = SHIFT, N, resizeactive, 0 40
|
||||
|
||||
bind = , escape, submap, reset
|
||||
|
||||
submap = reset
|
||||
35
home/dot_config/hypr/hyprland/+qwerty.conf
Normal file
35
home/dot_config/hypr/hyprland/+qwerty.conf
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
bind = $mainMod, H, movefocus, l
|
||||
bind = $mainMod, L, movefocus, r
|
||||
bind = $mainMod, K, movefocus, u
|
||||
bind = $mainMod, J, movefocus, d
|
||||
bind = $mainMod SHIFT, H, swapwindow, l
|
||||
bind = $mainMod SHIFT, L, swapwindow, r
|
||||
bind = $mainMod SHIFT, K, swapwindow, u
|
||||
bind = $mainMod SHIFT, J, swapwindow, d
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
|
||||
bind = $mainMod CTRL, l, resizeactive, 10 0
|
||||
bind = $mainMod CTRL, h, resizeactive, -10 0
|
||||
bind = $mainMod CTRL, k, resizeactive, 0 -10
|
||||
bind = $mainMod CTRL, j, resizeactive, 0 10
|
||||
|
||||
submap = resize
|
||||
|
||||
binde = , right, resizeactive, 10 0
|
||||
binde = , left, resizeactive, -10 0
|
||||
binde = , up, resizeactive, 0 -10
|
||||
binde = , down, resizeactive, 0 10
|
||||
|
||||
binde = , l, resizeactive, 10 0
|
||||
binde = , h, resizeactive, -10 0
|
||||
binde = , k, resizeactive, 0 -10
|
||||
binde = , j, resizeactive, 0 10
|
||||
|
||||
binde = SHIFT, L, resizeactive, 40 0
|
||||
binde = SHIFT, H, resizeactive, -40 0
|
||||
binde = SHIFT, K, resizeactive, 0 -40
|
||||
binde = SHIFT, J, resizeactive, 0 40
|
||||
|
||||
bind = , escape, submap, reset
|
||||
|
||||
submap = reset
|
||||
86
home/dot_config/hypr/hyprland/dark.conf
Normal file
86
home/dot_config/hypr/hyprland/dark.conf
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
# Catppuccin Mocha (Dark)
|
||||
$rosewater = rgb(f5e0dc)
|
||||
$rosewaterAlpha = f5e0dc
|
||||
|
||||
$flamingo = rgb(f2cdcd)
|
||||
$flamingoAlpha = f2cdcd
|
||||
|
||||
$pink = rgb(f5c2e7)
|
||||
$pinkAlpha = f5c2e7
|
||||
|
||||
$mauve = rgb(cba6f7)
|
||||
$mauveAlpha = cba6f7
|
||||
|
||||
$red = rgb(f38ba8)
|
||||
$redAlpha = f38ba8
|
||||
|
||||
$maroon = rgb(eba0ac)
|
||||
$maroonAlpha = eba0ac
|
||||
|
||||
$peach = rgb(fab387)
|
||||
$peachAlpha = fab387
|
||||
|
||||
$yellow = rgb(f9e2af)
|
||||
$yellowAlpha = f9e2af
|
||||
|
||||
$green = rgb(a6e3a1)
|
||||
$greenAlpha = a6e3a1
|
||||
|
||||
$teal = rgb(94e2d5)
|
||||
$tealAlpha = 94e2d5
|
||||
|
||||
$sky = rgb(89dceb)
|
||||
$skyAlpha = 89dceb
|
||||
|
||||
$sapphire = rgb(74c7ec)
|
||||
$sapphireAlpha = 74c7ec
|
||||
|
||||
$blue = rgb(89b4fa)
|
||||
$blueAlpha = 89b4fa
|
||||
|
||||
$lavender = rgb(b4befe)
|
||||
$lavenderAlpha = b4befe
|
||||
|
||||
$text = rgb(cdd6f4)
|
||||
$textAlpha = cdd6f4
|
||||
|
||||
$subtext1 = rgb(bac2de)
|
||||
$subtext1Alpha = bac2de
|
||||
|
||||
$subtext0 = rgb(a6adc8)
|
||||
$subtext0Alpha = a6adc8
|
||||
|
||||
$overlay2 = rgb(9399b2)
|
||||
$overlay2Alpha = 9399b2
|
||||
|
||||
$overlay1 = rgb(7f849c)
|
||||
$overlay1Alpha = 7f849c
|
||||
|
||||
$overlay0 = rgb(6c7086)
|
||||
$overlay0Alpha = 6c7086
|
||||
|
||||
$surface2 = rgb(585b70)
|
||||
$surface2Alpha = 585b70
|
||||
|
||||
$surface1 = rgb(45475a)
|
||||
$surface1Alpha = 45475a
|
||||
|
||||
$surface0 = rgb(313244)
|
||||
$surface0Alpha = 313244
|
||||
|
||||
$base = rgb(1e1e2e)
|
||||
$baseAlpha = 1e1e2e
|
||||
|
||||
$mantle = rgb(181825)
|
||||
$mantleAlpha = 181825
|
||||
|
||||
$crust = rgb(11111b)
|
||||
$crustAlpha = 11111b
|
||||
|
||||
# https://github.com/hyprwm/Hyprland/discussions/5867
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme "BreezeDark" # for GTK3 apps
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
|
||||
exec = kwriteconfig5 --group "General" --key "ColorScheme" "BreezeDark"
|
||||
exec = hyprsunset -t 6000 &
|
||||
exec = ln -sf ~/.config/waybar/dark.css ~/.config/waybar/current.css
|
||||
exec = ln -sf ~/.config/rofi/dark.rasi ~/.config/rofi/current.rasi
|
||||
111
home/dot_config/hypr/hyprland/keymaps.conf
Normal file
111
home/dot_config/hypr/hyprland/keymaps.conf
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
## Open Applications
|
||||
bind = $mainMod, R, exec, $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
# bind = $mainMod, M, exit
|
||||
bind = $mainMod SHIFT, F, exec, hyprctl --batch "dispatch togglefloating ; dispatch resizeactive exact 1440 810 ; dispatch centerwindow 1;"
|
||||
# Maximize
|
||||
bind = $mainMod SHIFT, M, fullscreen
|
||||
bind = $mainMod, Page_Up, fullscreen
|
||||
|
||||
bind = ALT, Tab, cyclenext, # change focus to another window
|
||||
bind = ALT SHIFT, Tab, cyclenext,prev # change focus to another window
|
||||
|
||||
## Submaps
|
||||
|
||||
|
||||
bind = $mainMod SHIFT, R, submap, resize
|
||||
bind = $mainMod, A, submap, apps
|
||||
|
||||
|
||||
## Launcher
|
||||
bind = $mainMod, W, exec, $menu -show window -icon-theme $iconTheme -show-icons # -window-thumbnail
|
||||
bind = $mainMod, V, exec, cliphist list | $menu -dmenu | cliphist decode | wl-copy
|
||||
bind = $mainMod, D, exec, $HOME/.local/scripts/picker/sdcv.sh
|
||||
bind = alt, space, exec, $menu -show drun -icon-theme $iconTheme -show-icons
|
||||
bind = $mainMod, SLASH, exec, $HOME/.local/scripts/picker/baloo.sh
|
||||
bind = $mainMod SHIFT, SLASH, exec, $HOME/.local/scripts/picker/keybinds.sh
|
||||
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, X, 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
|
||||
|
||||
bind = $mainMod SHIFT, l, exec, LC_ALL="en_GB.UTF-8" swaylock
|
||||
|
||||
|
||||
bind = $mainMod, c, exec, grimblast copysave area $HOME/Pictures/Screenshots/"$(date +%Y%m%d-%H%M%S)"
|
||||
bind = $mainMod SHIFT, c, exec, notify-send "Color: $(hyprpicker)"
|
||||
|
||||
# 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, 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, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, GRAVE, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, GRAVE, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# Submaps
|
||||
|
||||
|
||||
# submap = apps
|
||||
#
|
||||
# binde = , a, exec, cherry-studio # AI
|
||||
# binde = , c, exec, code # VSCode
|
||||
# binde = , d, exec, dolphin
|
||||
# binde = , e, exec, emacs
|
||||
# binde = , f, exec, firefox
|
||||
# binde = , g, exec, gimp
|
||||
# binde = , o, exec, obsidian
|
||||
# binde = , v, exec, vivaldi
|
||||
# binde = SHIFT, v, exec, neovide
|
||||
#
|
||||
#
|
||||
# bind = , escape, submap, reset
|
||||
#
|
||||
# submap = reset
|
||||
84
home/dot_config/hypr/hyprland/light.conf
Normal file
84
home/dot_config/hypr/hyprland/light.conf
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
$rosewater = rgb(dc8a78)
|
||||
$rosewaterAlpha = dc8a78
|
||||
|
||||
$flamingo = rgb(dd7878)
|
||||
$flamingoAlpha = dd7878
|
||||
|
||||
$pink = rgb(ea76cb)
|
||||
$pinkAlpha = ea76cb
|
||||
|
||||
$mauve = rgb(8839ef)
|
||||
$mauveAlpha = 8839ef
|
||||
|
||||
$red = rgb(d20f39)
|
||||
$redAlpha = d20f39
|
||||
|
||||
$maroon = rgb(e64553)
|
||||
$maroonAlpha = e64553
|
||||
|
||||
$peach = rgb(fe640b)
|
||||
$peachAlpha = fe640b
|
||||
|
||||
$yellow = rgb(df8e1d)
|
||||
$yellowAlpha = df8e1d
|
||||
|
||||
$green = rgb(40a02b)
|
||||
$greenAlpha = 40a02b
|
||||
|
||||
$teal = rgb(179299)
|
||||
$tealAlpha = 179299
|
||||
|
||||
$sky = rgb(04a5e5)
|
||||
$skyAlpha = 04a5e5
|
||||
|
||||
$sapphire = rgb(209fb5)
|
||||
$sapphireAlpha = 209fb5
|
||||
|
||||
$blue = rgb(1e66f5)
|
||||
$blueAlpha = 1e66f5
|
||||
|
||||
$lavender = rgb(7287fd)
|
||||
$lavenderAlpha = 7287fd
|
||||
|
||||
$text = rgb(4c4f69)
|
||||
$textAlpha = 4c4f69
|
||||
|
||||
$subtext1 = rgb(5c5f77)
|
||||
$subtext1Alpha = 5c5f77
|
||||
|
||||
$subtext0 = rgb(6c6f85)
|
||||
$subtext0Alpha = 6c6f85
|
||||
|
||||
$overlay2 = rgb(7c7f93)
|
||||
$overlay2Alpha = 7c7f93
|
||||
|
||||
$overlay1 = rgb(8c8fa1)
|
||||
$overlay1Alpha = 8c8fa1
|
||||
|
||||
$overlay0 = rgb(9ca0b0)
|
||||
$overlay0Alpha = 9ca0b0
|
||||
|
||||
$surface2 = rgb(acb0be)
|
||||
$surface2Alpha = acb0be
|
||||
|
||||
$surface1 = rgb(bcc0cc)
|
||||
$surface1Alpha = bcc0cc
|
||||
|
||||
$surface0 = rgb(ccd0da)
|
||||
$surface0Alpha = ccd0da
|
||||
|
||||
$base = rgb(eff1f5)
|
||||
$baseAlpha = eff1f5
|
||||
|
||||
$mantle = rgb(e6e9ef)
|
||||
$mantleAlpha = e6e9ef
|
||||
|
||||
$crust = rgb(dce0e8)
|
||||
$crustAlpha = dce0e8
|
||||
|
||||
# https://github.com/hyprwm/Hyprland/discussions/5867
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme "BreezeLight" # for GTK3 apps
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-light" # for GTK4 apps
|
||||
exec = kwriteconfig5 --group "General" --key "ColorScheme" "BreezeLight"
|
||||
exec = ln -sf ~/.config/waybar/light.css ~/.config/waybar/current.css
|
||||
exec = ln -sf ~/.config/rofi/light.rasi ~/.config/rofi/current.rasi
|
||||
88
home/dot_config/hypr/hyprland/rules.conf
Normal file
88
home/dot_config/hypr/hyprland/rules.conf
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrulev2 = suppressevent maximize, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
|
||||
windowrulev2 = float, class:qt6ct
|
||||
windowrulev2 = float, size 2560 1440, class:^(org.kde.gwenview)$
|
||||
windowrulev2 = float, size 50%, center, class:^(org.kde.konsole)$
|
||||
|
||||
|
||||
windowrulev2 = float, class:^(steam)$
|
||||
|
||||
# Browser Extension Popup
|
||||
windowrulev2 = float, title:^(Bitwarden - )(.*)$
|
||||
|
||||
# Picture-in-Picture
|
||||
windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = keepaspectratio, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = move 73% 72%, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = size 25%, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = pin, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
|
||||
windowrulev2 = float, title:^(画中画)(.*)$
|
||||
windowrulev2 = keepaspectratio, title:^(画中画)(.*)$
|
||||
windowrulev2 = move 73% 72%, title:^(画中画)(.*)$
|
||||
windowrulev2 = size 25%, title:^(画中画)(.*)$
|
||||
windowrulev2 = float, title:^(画中画)(.*)$
|
||||
windowrulev2 = pin, title:^(画中画)(.*)$
|
||||
|
||||
# Dialog windows – float+center these windows.
|
||||
windowrulev2 = center, title:^(Open File)(.*)$
|
||||
windowrulev2 = center, title:^(打开文件)(.*)$
|
||||
windowrulev2 = center, title:^(Select a File)(.*)$
|
||||
windowrulev2 = center, title:^(选择文件)(.*)$
|
||||
windowrulev2 = center, title:^(Choose wallpaper)(.*)$
|
||||
windowrulev2 = center, title:^(Open Folder)(.*)$
|
||||
windowrulev2 = center, title:^(Save As)(.*)$
|
||||
windowrulev2 = center, title:^(保存)(.*)$
|
||||
windowrulev2 = center, title:^(Library)(.*)$
|
||||
windowrulev2 = center, title:^(File Upload)(.*)$
|
||||
windowrulev2 = float, title:^(Open File)(.*)$
|
||||
windowrulev2 = center, title:^(打开文件)(.*)$
|
||||
windowrulev2 = float, title:^(Select a File)(.*)$
|
||||
windowrulev2 = center, title:^(选择文件)(.*)$
|
||||
windowrulev2 = float, title:^(Choose wallpaper)(.*)$
|
||||
windowrulev2 = float, title:^(Open Folder)(.*)$
|
||||
windowrulev2 = float, title:^(Save As)(.*)$
|
||||
windowrulev2 = center, title:^(保存)(.*)$
|
||||
windowrulev2 = float, title:^(Library)(.*)$
|
||||
windowrulev2 = float, title:^(File Upload)(.*)$
|
||||
|
||||
# Centering pictures preview windows
|
||||
# Telegram
|
||||
windowrulev2 = center, title:^(Media viewer)(.*)$
|
||||
windowrulev2 = float, title:^(Media viewer)(.*)$
|
||||
windowrulev2 = size 50%, title:^(Media viewer)(.*)$
|
||||
# WeChat
|
||||
windowrulev2 = center, title:^(预览)(.*)$
|
||||
windowrulev2 = float, title:^(预览)(.*)$
|
||||
windowrulev2 = size 50%, title:^(预览)(.*)$
|
||||
# QQ
|
||||
windowrulev2 = center, title:^(图片查看器)(.*)$
|
||||
windowrulev2 = float, title:^(图片查看器)(.*)$
|
||||
windowrulev2 = size 50%, title:^(图片查看器)(.*)$
|
||||
|
||||
# Pin: Rofi will display in all wsps
|
||||
windowrulev2 = pin, class:^(Rofi)$
|
||||
windowrulev2 = stayfocused, class:^(Rofi)$
|
||||
|
||||
windowrulev2 = float, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrulev2 = move 73% 5%, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrulev2 = size 25%, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrulev2 = float, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrulev2 = pin, class:^(org.pulseaudio.pavucontrol)$
|
||||
1
home/dot_config/hypr/hyprland/symlink_current.conf
Normal file
1
home/dot_config/hypr/hyprland/symlink_current.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
/home/js0ny/.dotfiles/platforms/linux/hypr/hyprland/dark.conf
|
||||
Loading…
Add table
Add a link
Reference in a new issue