clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add arch-linux dots

Simon Spati a03529ab ed6154e2

+440 -2
+16
_arch-linux/hypr/hypridle.conf
··· 1 + general { 2 + lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. 3 + before_sleep_cmd = loginctl lock-session # lock before suspend. 4 + after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. 5 + } 6 + 7 + listener { 8 + timeout = 300 # 5min 9 + on-timeout = loginctl lock-session # lock screen when timeout has passed 10 + } 11 + 12 + listener { 13 + timeout = 330 # 5.5min 14 + on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed 15 + on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected 16 + }
+45
_arch-linux/hypr/hyprland.conf
··· 1 + # Learn how to configure Hyprland: https://wiki.hyprland.org/Configuring/ 2 + 3 + # Change your personal monitor setup in here to keep the main config portable 4 + source = ~/.config/hypr/monitors.conf 5 + 6 + # Default applications 7 + $terminal = ghostty 8 + $fileManager = nautilus --new-window 9 + $browser = brave --new-window --ozone-platform=wayland --force-device-scale-factor=1.0 10 + $music = spotify 11 + $passwordManager = 1password 12 + $messenger = signal-desktop 13 + $webapp = $browser --app 14 + 15 + # Use defaults Omarchy defaults 16 + source = ~/.local/share/omarchy/default/hypr/autostart.conf 17 + source = ~/.local/share/omarchy/default/hypr/bindings.conf 18 + source = ~/.local/share/omarchy/default/hypr/envs.conf 19 + source = ~/.local/share/omarchy/default/hypr/looknfeel.conf 20 + source = ~/.local/share/omarchy/default/hypr/input.conf 21 + source = ~/.local/share/omarchy/default/hypr/windows.conf 22 + source = ~/.config/omarchy/current/theme/hyprland.conf 23 + 24 + # Extra autostart processes (uncomment to run Dropbox) 25 + # exec-once = dropbox-cli start 26 + 27 + # Extra env variables 28 + env = GDK_SCALE,2 # Change to 1 if on a 1x display 29 + 30 + 31 + # Extra bindings 32 + bind = SUPER, A, exec, $webapp="https://chatgpt.com" 33 + bind = SUPER SHIFT, A, exec, $webapp="https://grok.com" 34 + bind = SUPER, C, exec, $webapp="https://app.hey.com/calendar/weeks/" 35 + bind = SUPER, E, exec, $webapp="https://app.hey.com" 36 + bind = SUPER, Y, exec, $webapp="https://youtube.com/" 37 + bind = SUPER SHIFT, G, exec, $webapp="https://web.whatsapp.com/" 38 + bind = SUPER, X, exec, $webapp="https://x.com/" 39 + bind = SUPER SHIFT, X, exec, $webapp="https://x.com/compose/post" 40 + 41 + # Use multiple keyboard layouts and switch between them with Alt + Space 42 + # input { 43 + # kb_layout = us,dk 44 + # kb_options = compose:caps,grp:alt_space_toggle 45 + # }
+1
_arch-linux/hypr/hyprlock.conf
··· 1 + /home/sspaeti/.config/omarchy/current/theme/hyprlock.conf
+14
_arch-linux/hypr/monitors.conf
··· 1 + # See https://wiki.hyprland.org/Configuring/Monitors/ 2 + 3 + # Use single default monitor (see all monitors with: hyprctl monitors) 4 + # monitor=,preferred,auto,auto 5 + 6 + 7 + #Lenovo size optimal scale 8 + monitor=,1920x1200,auto,1.25 9 + #Lenovo bigger resolution optimal scale 10 + #monitor=,2880x1800,auto,1.75 11 + 12 + # Example for Framework 13 w/ 6K XDR Apple display 13 + # monitor = DP-5, 6016x3384@60.00, auto, 2 14 + # monitor = eDP-1, 2880x1920@120.00, auto,
+4
_arch-linux/hypr/omarchy/default/autostart.conf
··· 1 + exec-once = hypridle & mako & waybar & fcitx5 2 + exec-once = swaybg -i ~/.config/omarchy/current/background -m fill 3 + exec-once = systemctl --user start hyprpolkitagent 4 + exec-once = wl-clip-persist --clipboard regular & clipse -listen
+121
_arch-linux/hypr/omarchy/default/bindings.conf
··· 1 + # Start default apps 2 + bind = SUPER, return, exec, $terminal 3 + bind = SUPER, F, exec, $fileManager 4 + bind = SUPER, B, exec, $browser 5 + bind = SUPER, M, exec, $music 6 + # bind = SUPER, N, exec, $terminal -e nvim 7 + bind = SUPER, T, exec, $terminal -e btop 8 + bind = SUPER, D, exec, $terminal -e lazydocker 9 + bind = SUPER, G, exec, $messenger 10 + # bind = SUPER, N, exec, obsidian -disable-gpu 11 + # toggle to obsidian, eventough it's already open 12 + bind = SUPER, N, exec, ~/.config/hypr/scripts/obsidian-toggle.sh 13 + 14 + bind = SUPER, slash, exec, $passwordManager 15 + bind = SUPER, space, exec, flock --nonblock /tmp/.wofi.lock -c "wofi --show drun --sort-order=alphabetical" 16 + bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar 17 + bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/swaybg-next 18 + bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-next 19 + 20 + bind = SUPER, W, killactive, 21 + 22 + # End active session 23 + bind = SUPER, ESCAPE, exec, hyprlock 24 + bind = SUPER SHIFT, ESCAPE, exec, systemctl suspend 25 + bind = SUPER ALT, ESCAPE, exit, 26 + bind = SUPER CTRL, ESCAPE, exec, reboot 27 + bind = SUPER SHIFT CTRL, ESCAPE, exec, systemctl poweroff 28 + 29 + # Control tiling 30 + bind = SUPER, I, togglesplit, # dwindle 31 + bind = SUPER, P, pseudo, # dwindle 32 + bind = SUPER, V, togglefloating, 33 + 34 + # Move focus with mainMod + arrow keys 35 + bind = SUPER, H, movefocus, l 36 + bind = SUPER, L, movefocus, r 37 + bind = SUPER, J, movefocus, d 38 + bind = SUPER, K, movefocus, u 39 + 40 + # Switch workspaces with mainMod + [0-9] 41 + bind = SUPER, 1, workspace, 1 42 + bind = SUPER, 2, workspace, 2 43 + bind = SUPER, 3, workspace, 3 44 + bind = SUPER, 4, workspace, 4 45 + bind = SUPER, 5, workspace, 5 46 + bind = SUPER, 6, workspace, 6 47 + bind = SUPER, 7, workspace, 7 48 + bind = SUPER, 8, workspace, 8 49 + bind = SUPER, 9, workspace, 9 50 + bind = SUPER, 0, workspace, 10 51 + 52 + # Move active window to a workspace with mainMod + SHIFT + [0-9] 53 + bind = SUPER SHIFT, 1, movetoworkspace, 1 54 + bind = SUPER SHIFT, 2, movetoworkspace, 2 55 + bind = SUPER SHIFT, 3, movetoworkspace, 3 56 + bind = SUPER SHIFT, 4, movetoworkspace, 4 57 + bind = SUPER SHIFT, 5, movetoworkspace, 5 58 + bind = SUPER SHIFT, 6, movetoworkspace, 6 59 + bind = SUPER SHIFT, 7, movetoworkspace, 7 60 + bind = SUPER SHIFT, 8, movetoworkspace, 8 61 + bind = SUPER SHIFT, 9, movetoworkspace, 9 62 + bind = SUPER SHIFT, 0, movetoworkspace, 10 63 + 64 + # Swap active window with the one next to it with mainMod + SHIFT + arrow keys 65 + bind = SUPER SHIFT, left, swapwindow, l 66 + bind = SUPER SHIFT, right, swapwindow, r 67 + bind = SUPER SHIFT, up, swapwindow, u 68 + bind = SUPER SHIFT, down, swapwindow, d 69 + 70 + # Resize active window 71 + bind = SUPER, minus, resizeactive, -100 0 72 + bind = SUPER, equal, resizeactive, 100 0 73 + bind = SUPER SHIFT, minus, resizeactive, 0 -100 74 + bind = SUPER SHIFT, equal, resizeactive, 0 100 75 + 76 + # Scroll through existing workspaces with mainMod + scroll 77 + bind = SUPER, mouse_down, workspace, e+1 78 + bind = SUPER, mouse_up, workspace, e-1 79 + 80 + # Move/resize windows with mainMod + LMB/RMB and dragging 81 + bindm = SUPER, mouse:272, movewindow 82 + bindm = SUPER, mouse:273, resizewindow 83 + 84 + # Laptop multimedia keys for volume and LCD brightness 85 + bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ 86 + bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- 87 + bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle 88 + bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle 89 + bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ 90 + bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%- 91 + 92 + # Control Apple Display brightness 93 + bind = CTRL, F1, exec, ~/.local/share/omarchy/bin/apple-display-brightness -5000 94 + bind = CTRL, F2, exec, ~/.local/share/omarchy/bin/apple-display-brightness +5000 95 + bind = SHIFT CTRL, F2, exec, ~/.local/share/omarchy/bin/apple-display-brightness +60000 96 + 97 + # Requires playerctl 98 + bindl = , XF86AudioNext, exec, playerctl next 99 + bindl = , XF86AudioPause, exec, playerctl play-pause 100 + bindl = , XF86AudioPlay, exec, playerctl play-pause 101 + bindl = , XF86AudioPrev, exec, playerctl previous 102 + 103 + # Screenshots 104 + bind = , PRINT, exec, hyprshot -m region 105 + bind = SHIFT, PRINT, exec, hyprshot -m window 106 + bind = CTRL, PRINT, exec, hyprshot -m output 107 + 108 + # Color picker 109 + bind = SUPER, PRINT, exec, hyprpicker -a 110 + 111 + # Clipse 112 + bind = CTRL SUPER, V, exec, $terminal --class clipse -e clipse 113 + 114 + # automatic adjustment of workspaces when lid is closed. from: https://wiki.hypr.land/Configuring/Binds/#switches 115 + # # trigger when the switch is toggled 116 + # bindl = , switch:[switch name], exec, swaylock 117 + # # trigger when the switch is turning on 118 + # bindl = , switch:on:[switch name], exec, hyprctl keyword monitor "eDP-1, disable" 119 + # # trigger when the switch is turning off 120 + # bindl = , switch:off:[switch name], exec, hyprctl keyword monitor "eDP-1, 2560x1600, 0x0, 1" 121 +
+30
_arch-linux/hypr/omarchy/default/envs.conf
··· 1 + # Cursor size 2 + env = XCURSOR_SIZE,24 3 + env = HYPRCURSOR_SIZE,24 4 + 5 + # Force all apps to use Wayland 6 + env = GDK_BACKEND,wayland 7 + env = QT_QPA_PLATFORM,wayland 8 + env = QT_STYLE_OVERRIDE,kvantum 9 + env = SDL_VIDEODRIVER,wayland 10 + env = MOZ_ENABLE_WAYLAND,1 11 + env = ELECTRON_OZONE_PLATFORM_HINT,wayland 12 + env = OZONE_PLATFORM,wayland 13 + 14 + xwayland { 15 + force_zero_scaling = true 16 + } 17 + 18 + # Make Chromium use XCompose and all Wayland 19 + env = CHROMIUM_FLAGS,"--enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4" 20 + 21 + # Make .desktop files available for wofi 22 + env = XDG_DATA_DIRS,/usr/share:/usr/local/share:~/.local/share 23 + 24 + # Use XCompose file 25 + env = XCOMPOSEFILE,~/.XCompose 26 + 27 + # Don't show update on first launch 28 + ecosystem { 29 + no_update_news = true 30 + }
+21
_arch-linux/hypr/omarchy/default/input.conf
··· 1 + # https://wiki.hyprland.org/Configuring/Variables/#input 2 + input { 3 + kb_layout = us 4 + kb_variant = 5 + kb_model = 6 + kb_options = compose:caps 7 + kb_rules = 8 + 9 + follow_mouse = 1 10 + 11 + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. 12 + 13 + touchpad { 14 + natural_scroll = true 15 + } 16 + } 17 + 18 + # https://wiki.hyprland.org/Configuring/Variables/#gestures 19 + gestures { 20 + workspace_swipe = false 21 + }
+99
_arch-linux/hypr/omarchy/default/looknfeel.conf
··· 1 + # Refer to https://wiki.hyprland.org/Configuring/Variables/ 2 + 3 + # https://wiki.hyprland.org/Configuring/Variables/#general 4 + general { 5 + gaps_in = 0 6 + gaps_out = 0 7 + 8 + border_size = 1 9 + 10 + # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors 11 + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg 12 + col.inactive_border = rgba(595959aa) 13 + 14 + # Set to true enable resizing windows by clicking and dragging on borders and gaps 15 + resize_on_border = false 16 + 17 + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on 18 + allow_tearing = false 19 + 20 + layout = dwindle 21 + } 22 + 23 + # https://wiki.hyprland.org/Configuring/Variables/#decoration 24 + decoration { 25 + rounding = 0 26 + 27 + shadow { 28 + enabled = true 29 + range = 2 30 + render_power = 3 31 + color = rgba(1a1a1aee) 32 + } 33 + 34 + # https://wiki.hyprland.org/Configuring/Variables/#blur 35 + blur { 36 + enabled = true 37 + size = 3 38 + passes = 1 39 + 40 + vibrancy = 0.1696 41 + } 42 + } 43 + 44 + # https://wiki.hyprland.org/Configuring/Variables/#animations 45 + animations { 46 + enabled = no, please :) 47 + 48 + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more 49 + 50 + bezier = easeOutQuint,0.23,1,0.32,1 51 + bezier = easeInOutCubic,0.65,0.05,0.36,1 52 + bezier = linear,0,0,1,1 53 + bezier = almostLinear,0.5,0.5,0.75,1.0 54 + bezier = quick,0.15,0,0.1,1 55 + 56 + animation = global, 1, 10, default 57 + animation = border, 1, 5.39, easeOutQuint 58 + animation = windows, 1, 4.79, easeOutQuint 59 + animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% 60 + animation = windowsOut, 1, 1.49, linear, popin 87% 61 + animation = fadeIn, 1, 1.73, almostLinear 62 + animation = fadeOut, 1, 1.46, almostLinear 63 + animation = fade, 1, 3.03, quick 64 + animation = layers, 1, 3.81, easeOutQuint 65 + animation = layersIn, 1, 4, easeOutQuint, fade 66 + animation = layersOut, 1, 1.5, linear, fade 67 + animation = fadeLayersIn, 1, 1.79, almostLinear 68 + animation = fadeLayersOut, 1, 1.39, almostLinear 69 + animation = workspaces, 0, 0, ease 70 + } 71 + 72 + # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ 73 + # "Smart gaps" / "No gaps when only" 74 + # uncomment all if you wish to use that. 75 + # workspace = w[tv1], gapsout:0, gapsin:0 76 + # workspace = f[1], gapsout:0, gapsin:0 77 + # windowrule = bordersize 0, floating:0, onworkspace:w[tv1] 78 + # windowrule = rounding 0, floating:0, onworkspace:w[tv1] 79 + # windowrule = bordersize 0, floating:0, onworkspace:f[1] 80 + # windowrule = rounding 0, floating:0, onworkspace:f[1] 81 + 82 + # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more 83 + dwindle { 84 + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below 85 + preserve_split = true # You probably want this 86 + force_split = 2 # Always split on the right 87 + } 88 + 89 + # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more 90 + master { 91 + new_status = master 92 + } 93 + 94 + # https://wiki.hyprland.org/Configuring/Variables/#misc 95 + misc { 96 + disable_hyprland_logo = true 97 + disable_splash_rendering = true 98 + } 99 +
+30
_arch-linux/hypr/omarchy/default/windows.conf
··· 1 + # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more 2 + windowrule = suppressevent maximize, class:.* 3 + 4 + # Force chromium into a tile to deal with --app bug 5 + windowrule = tile, class:^(Chromium)$ 6 + 7 + # Float sound and bluetooth settings 8 + windowrule = float, class:^(org.pulseaudio.pavucontrol|blueberry.py)$ 9 + 10 + # Float Steam, fullscreen RetroArch 11 + windowrule = float, class:^(steam)$ 12 + windowrule = fullscreen, class:^(com.libretro.RetroArch)$ 13 + 14 + # Just dash of opacity 15 + windowrule = opacity 0.97 0.9, class:.* 16 + windowrule = opacity 1 0.97, class:^(Chromium|chromium|google-chrome|google-chrome-unstable)$ 17 + windowrule = opacity 1 1, initialTitle:^(youtube.com_/)$ # Youtube 18 + windowrule = opacity 1 1, class:^(zoom|vlc|org.kde.kdenlive|com.obsproject.Studio|com.github.PintaProject.Pinta)$ 19 + windowrule = opacity 1 1, class:^(com.libretro.RetroArch|steam)$ 20 + 21 + # Fix some dragging issues with XWayland 22 + windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 23 + 24 + # Proper background blur for wofi 25 + layerrule = blur,wofi 26 + 27 + # Float in the middle for clipse clipboard manager 28 + windowrule = float, class:(clipse) 29 + windowrule = size 622 652, class:(clipse) 30 + windowrule = stayfocused, class:(clipse)
+16
_arch-linux/hypr/scripts/obsidian-toggle.sh
··· 1 + #!/bin/bash 2 + # Save as ~/.config/hypr/scripts/obsidian-smart-focus.sh 3 + 4 + OBSIDIAN_INFO=$(hyprctl clients | grep -A 10 "class: obsidian") 5 + 6 + if [ -n "$OBSIDIAN_INFO" ]; then 7 + # Get workspace of obsidian window 8 + WORKSPACE=$(echo "$OBSIDIAN_INFO" | grep "workspace:" | head -1 | awk '{print $2}') 9 + 10 + # Switch to workspace and focus window 11 + hyprctl dispatch workspace "$WORKSPACE" 12 + hyprctl dispatch focuswindow "class:obsidian" 13 + else 14 + # Obsidian is not running, start it 15 + obsidian --disable-gpu 16 + fi
+29
_arch-linux/kanata/kanata.kbd
··· 1 + 2 + (defsrc 3 + esc 1 2 3 4 5 6 7 8 9 0 - = bspc 4 + tab q w e r t y u i o p [ ] \ 5 + caps a s d f g h j k l ; ' ret 6 + lsft z x c v b n m , . / rsft 7 + lctl lmet lalt spc ralt rmet menu rctl 8 + ) 9 + 10 + (defalias 11 + ;; Define Caps Lock as a tap-hold: tap for Escape, hold for layer 12 + caps-key (tap-hold 200 200 esc (layer-while-held caps-layer)) 13 + ) 14 + 15 + (deflayer base 16 + esc 1 2 3 4 5 6 7 8 9 0 - = bspc 17 + tab q w e r t z u i o p [ ] \ 18 + @caps-key a s d f g h j k l ; ' ret 19 + lsft y x c v b n m , . / rsft 20 + lctl lmet lalt spc ralt rmet menu rctl 21 + ) 22 + 23 + (deflayer caps-layer 24 + _ _ _ _ _ _ _ _ _ _ _ _ _ _ 25 + _ _ _ _ _ _ _ _ _ _ _ _ _ _ 26 + _ _ _ _ _ _ left down up rght _ _ _ 27 + _ _ _ _ _ _ _ _ _ _ _ _ 28 + _ _ _ _ _ _ _ _ 29 + )
+12
_arch-linux/kanata/kanata.service
··· 1 + [Unit] 2 + Description=Kanata Service 3 + Requires=local-fs.target 4 + After=local-fs.target 5 + 6 + [Service] 7 + ExecStartPre=/usr/bin/modprobe uinput 8 + ExecStart=/usr/bin/kanata -c /etc/kanata/kanata.kbd 9 + Restart=no 10 + 11 + [Install] 12 + WantedBy=sysinit.target
+2 -2
backup_dotfiles_arch.sh
··· 1 1 #this script is done to automatically backup alls my dotsfiles for arch that are not part of backup_dotfiles.sh 2 2 3 - cp -r ~/.config/hypr/ _arch-linux/hypr/ 4 - cp -r ~/.local/share/omarchy/ _arch-linux/hypr/omarchy/ 3 + cp -r ~/.config/hypr/ _arch-linux/ 4 + cp -r ~/.local/share/omarchy/default/hypr/* _arch-linux/hypr/omarchy/default 5 5 6 6 #keyboard shortcuts 7 7 cp /etc/kanata/kanata.kbd _arch-linux/kanata/