Compare commits

...

10 Commits

12 changed files with 156 additions and 10 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
sunsetr/.config/sunsetr/geo.toml

View File

@@ -46,3 +46,4 @@ theme = Catppuccin Frappe
font-size = 14 font-size = 14
background-opacity = 0.85 background-opacity = 0.85
gtk-titlebar = false gtk-titlebar = false
shell-integration-features = ssh-terminfo,ssh-env,sudo

View File

@@ -2,6 +2,9 @@
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +10% bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +10%
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -10% bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -10%
bind = , XF86AudioMut, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle bind = , XF86AudioMut, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86AudioNext, exec, playerctl next
# Brightness through brightnessctl # Brightness through brightnessctl
bind = , XF86MonBrightnessUp, exec, brightnessctl set +5% bind = , XF86MonBrightnessUp, exec, brightnessctl set +5%
@@ -19,8 +22,8 @@ bind = $SUPER_SHIFT, l, exec, hyprlock
bind = $SUPER_SHIFT, R, exec, hyprctl reload bind = $SUPER_SHIFT, R, exec, hyprctl reload
bind = $SUPER_SHIFT, D, exec, hyprctl keyword monitor eDP-1, disable bind = $SUPER_SHIFT, D, exec, hyprctl keyword monitor eDP-1, disable
bind = $SUPER_SHIFT, F, exec, hyprctl keyword monitor eDP-1, enable bind = $SUPER_SHIFT, F, exec, hyprctl keyword monitor eDP-1, enable
bind = , Print, exec, hyprshot -m window bind = , Print, exec, grim -c -o "$(hyprctl activeworkspace -j | jq -r '.monitor')" $(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png')
bind = shift, Print, exec, hyprshot -m region bind = shift, Print, exec, grim -g "$(slurp)" $(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png')
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, E, togglesplit, # dwindle bind = $mainMod, E, togglesplit, # dwindle
bind = $mainMod CTRL, F, fullscreen, # dwindle bind = $mainMod CTRL, F, fullscreen, # dwindle
@@ -67,3 +70,7 @@ bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging # Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow bindm = $mainMod, mouse:273, resizewindow
# Laptop Lid for opening and close
bindl = , switch:on:Lid Switch, exec, hyprctl dpms off && hyprctl dispatch exec hyprlock
bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on

View File

@@ -2,7 +2,8 @@ exec-once = hyprctl setcursor catppuccin-mocha-dark-cursors 28
# exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = systemctl --user start hyprpolkitagent exec-once = systemctl --user start hyprpolkitagent
exec-once= waybar & mako & hyprpaper & hypridle & wluma exec-once= waybar & mako & hyprpaper & hypridle & wluma & hyprshell run &
exec-once = blueman-applet & systemctl --user stop wireplumber.service exec-once = blueman-applet & systemctl --user stop wireplumber.service &
exec-once = 1password --silent & sunsetr &

View File

@@ -23,8 +23,8 @@ general {
resize_on_border = true resize_on_border = true
gaps_in = 4 gaps_in = 2
gaps_out = 8 gaps_out = 4
layout = dwindle layout = dwindle
@@ -40,6 +40,7 @@ decoration {
enabled = true enabled = true
size = 3 size = 3
passes = 1 passes = 1
new_optimizations = true
} }
shadow { shadow {
@@ -48,6 +49,10 @@ decoration {
render_power = 3 render_power = 3
color = rgba(1a1a1aee) color = rgba(1a1a1aee)
} }
dim_inactive = true
dim_strength = 0.05
dim_special = 0.07
} }
animations { animations {
@@ -75,6 +80,7 @@ dwindle {
misc { misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
middle_click_paste = false
} }
# Device Config # Device Config

View File

@@ -10,10 +10,17 @@ input {
follow_mouse = 1 follow_mouse = 1
touchpad { touchpad {
natural_scroll = yes natural_scroll = true
clickfinger_behavior = true
disable_while_typing = true
scroll_factor = 0.5
} }
sensitivity = 0 # -1.0 to 1.0, 0 means no modification sensitivity = 0 # -1.0 to 1.0, 0 means no modification
} }
gesture = 3, horizontal, workspace gesture = 3, horizontal, workspace
gestures {
workspace_swipe_direction_lock = true
workspace_swipe_direction_lock_threshold = 10
}

View File

@@ -1,3 +1,3 @@
monitor = eDP-2, preferred, auto-center-left, 1.33 # Main laptop display monitor = desc:BOE 0x0BC9, preferred, auto-center-left, 1.33 # Main laptop display
monitor = DP-3, 3440x1440@50, auto-center-right, 1.0 # Ultra-wide Monitor monitor = desc:Viewteck Co. Ltd. GNV34DB, 3440x1440@50, auto-center-right, auto # Ultra-wide Monitor

View File

@@ -0,0 +1,89 @@
// Edit with `hyprshell config edit`
(
version: 3,
windows: (
scale: 8.5,
items_per_row: 5,
overview: (
launcher: (
default_terminal: "ghostty",
launch_modifier: "ctrl",
width: 650,
max_items: 5,
show_when_empty: true,
plugins: (
applications: (
run_cache_weeks: 8,
show_execs: true,
show_actions_submenu: true,
),
terminal: (),
shell: (),
websearch: (
engines: [
(
url: "https://www.startpage.com/sp/search?query={}",
name: "Startpage",
key: 's',
),
(
url: "https://duckduckgo.com/?q={}",
name: "DuckDuckGo",
key: 'd',
),
(
url: "https://en.wikipedia.org/wiki/Special:Search?search={}",
name: "Wikipedia",
key: 'w',
),
],
),
calc: (),
path: (),
actions: (
actions: [
lock_screen,
hibernate,
logout,
reboot,
shutdown,
suspend,
custom(
names: [
"Kill",
"Stop",
],
details: "Kill or stop a process by name",
command: "pkill \"{}\" && notify-send hyprshell \"stopped {}\"",
icon: "remove",
),
custom(
names: [
"Reload Hyprshell",
],
details: "Reload Hyprshell",
command: "sleep 1; hyprshell socat \'\"Restart\"\'",
icon: "system-restart",
),
],
),
),
),
key: "Tab",
modifier: "alt",
filter_by: [],
hide_filtered: false,
exclude_special_workspaces: "",
),
switch: (
modifier: "alt",
key: "Tab",
filter_by: [
current_monitor,
],
switch_workspaces: false,
exclude_special_workspaces: "",
),
switch_2: None,
),
)

View File

@@ -0,0 +1,16 @@
:root {
--border-color: rgba(65, 72, 104, 0.6);
--border-color-active: rgba(122, 162, 247, 1);
--bg-color: rgba(26, 27, 38, 0.92);
--bg-color-hover: rgba(41, 46, 66, 1);
--border-radius: 12px;
--border-size: 3px;
--border-style: solid;
--text-color: rgba(192, 202, 245, 1);
--window-padding: 2px;
--bg-window-color: rgba(30, 32, 48, 0.85);
}

8
ssh/.ssh/config Normal file
View File

@@ -0,0 +1,8 @@
Host *
ControlMaster auto
ControlPath ~/.ssh/control:%h:%p:%r
ControlPersist 30m
IdentityAgent ~/.1password/agent.sock
Host git.samoneal.io
ProxyCommand cloudflared access ssh --hostname %h

View File

@@ -0,0 +1,10 @@
# [Backend]
backend = "auto"
transition_mode = "geo"
# [Smoothing]
smoothing = true
startup_duration = 0.5 # 0.1 - 60 seconds | 0 for instant
shutdown_duration = 0.5 # 0.1 - 60 seconds | 0 for instant
adaptive_interval = 1 # 1 - 1000 milliseconds