Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
A committed Dec 13, 2024
1 parent b630c43 commit 2cb1bac
Show file tree
Hide file tree
Showing 24 changed files with 573 additions and 184 deletions.
18 changes: 18 additions & 0 deletions bin/update-hyprland-git
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

paru -S \
hyprland-git \
hyprgraphics-git \
hyprwayland-scanner-git \
hyprutils-git \
hyprprop-git \
hyprlock-git \
hyprlang-git \
hyprevents-git \
hyprcursor-git \
aquamarine-git \
hyprprop-git \
hyprpicker-git \
hyprpaper-git \
hyprland-protocols-git \
xdg-desktop-portal-hyprland-git
4 changes: 1 addition & 3 deletions configs/hypr/config.d/10-autostart.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
exec-once = zsh -c "waybar --config ~/.config/waybar/top.config --style ~/.config/waybar/top.style.css"
exec-once = zsh -c "waybar --config ~/.config/waybar/bottom.config --style ~/.config/waybar/bottom.style.css"
exec-once = ~/.config/waybar/restart

exec-once = swaync &
exec-once = blueman-applet &
exec-once = nm-applet --indicator &
exec-once = udiskie -an --tray -f thunar &
exec-once = pasystray &
exec-once = ~/.config/hypr/bin/wallpapers.py > ~/.tmp/logs/wallpapers.py.log
exec-once = ~/.config/hypr/bin/uair.sh
exec-once = avizo-service
exec-once = ~/.config/hypr/bin/xdg-portal.sh
Expand Down
3 changes: 2 additions & 1 deletion configs/hypr/config.d/10-display.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ monitor=eDP-1, 2560x1600@60Hz, 0x0, 1.666667
monitor=desc:Samsung Electric Company LU28R55 HNMN700388, 3840x2160@30Hz, 0x-1080, 2

# Office
monitor=desc:Samsung Electric Company LU28R55 H4ZT400899, 3840x2160@30Hz, -360x-1440, 1.5
monitor=desc:Samsung Electric Company LU28R55 H4ZT400899, 3840x2160@30Hz, 1536x-800, 1.33

# Portable
monitor=desc:Invalid Vendor Codename - RTK 0x2775 0x20230814, [email protected], -840x0, 2, transform, 3
Expand All @@ -15,3 +15,4 @@ monitor=desc:Invalid Vendor Codename - RTK 0x2775 0x20230814, [email protected]
monitor=desc:Samsung Electric Company C34H89x H4ZT300037, 3440x1440@60Hz, -600x-1152, 1.25

exec-once = hyprpaper &
exec-once = ~/.config/hypr/bin/wallpapers.py > ~/.tmp/logs/wallpapers.py.log
3 changes: 3 additions & 0 deletions configs/hypr/config.d/10-input.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ input {
kb_variant = ,mac
kb_options = grp:caps_toggle

scroll_factor = 0.5


follow_mouse = 1

touchpad {
Expand Down
4 changes: 3 additions & 1 deletion configs/hypr/config.d/20-key-bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ $brightnessDown = brightnessctl set 2%-

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainModShift, return, exec, ~/.bin/add-todo
bind = $mainMod, F, fullscreen
bind = $mainModShift, F, fullscreen, 2
bind = $mainMod, F, fullscreen, 1
bind = $mainMod, R, togglesplit

# Speaker volume
Expand Down Expand Up @@ -164,6 +165,7 @@ 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
bindr = , mouse:274, exec,

# Brightness
bind = ,XF86MonBrightnessUp, exec, brightnessctl set 2%+
Expand Down
5 changes: 1 addition & 4 deletions configs/hypr/config.d/20-trackball.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
device {
name = jomaa-mouse01-mouse
# sensitivity = 1
accel_profile = adaptive
scroll_method = on_button_down
scroll_button = 275
scroll_button = 274
}

# bind = , mouse:274, killactive,
13 changes: 8 additions & 5 deletions configs/hypr/config.d/90-theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,22 @@ group {

decoration {
rounding = 3
drop_shadow = yes
shadow_range = 8
shadow_render_power = 2
col.shadow = rgba(00000044)
shadow {
enabled = true
range = 8
render_power = 2
color = rgba(00000044)
}

dim_inactive = false

blur {
enabled = true
xray = false
size = 3
passes = 3
new_optimizations = on
noise = 0.01
noise = 0.2
contrast = 0.9
brightness = 0.8
}
Expand Down
7 changes: 6 additions & 1 deletion configs/hypr/config.d/90-window-rules.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Example windowrule v1
windowrule = float, class:(float)

windowrulev2 = bordercolor rgb(d8dee8) rgb(7F848D),fullscreen:1

# 1Password
windowrule = float, ^(1Password)$
windowrulev2 = size 60% 60%, class:(1Password)
Expand All @@ -24,6 +25,10 @@ windowrulev2 = size 60% 60%, title:^(Picture-in-Picture)$
windowrulev2 = center, class:^(chatgpt-nativefier.*)$
# ---

# Waydroid
windowrulev2 = float, class:^Waydroid$
windowrulev2 = move 100%-w-20 100%-w-100, class:^Waydroid$

# Chrome PiP
windowrulev2 = float, title:^(Picture in picture)$
windowrulev2 = size 20% 20%, title:^(Picture in picture)$
Expand Down
1 change: 1 addition & 0 deletions configs/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ misc {
vrr = 1
mouse_move_enables_dpms = false
key_press_enables_dpms = true
middle_click_paste = false
}

master {
Expand Down
2 changes: 2 additions & 0 deletions configs/kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ background_opacity 0.8
dynamic_background_opacity no
remember_window_size no

show_hyperlink_targets yes

sync_to_monitor yes

enable_audio_bell no
Expand Down
36 changes: 36 additions & 0 deletions configs/newsboat/config
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,42 @@ datetime-format "%Y-%m-%d"

bookmark-cmd "/usr/share/doc/newsboat/contrib/getpocket.com/send-to-pocket.sh"

color info color15 color9 bold
color listfocus color15 color9
color listfocus_unread color15 color9 bold


highlight article "(^Feed:|^Title:|^Date:|^Link:|^Author:)" color0 default bold
highlight article "https?://[^ ]+" color0 default
highlight article "\\[[0-9][0-9]*\\]" color0 default bold
highlight article "\\[image\\ [0-9]+\\]" color0 default bold
highlight article "\\[embedded flash: [0-9][0-9]*\\]" color0 default bold
highlight article ":.*\\(link\\)$" color0 default bold
highlight article ":.*\\(image\\)$" color0 default bold
highlight article ":.*\\(embedded flash\\)$" color0 default bold


highlight-article "title =~ \"react\"" color0 color12
highlight-article "title =~ \"frontend\"" color0 color12
highlight-article "title =~ \" js|js |javascript|typescript| ts \"" color0 color12
highlight-article "title =~ \" ai|ai \"" color0 color12
highlight-article "title =~ \"python\"" color0 color12
highlight-article "title =~ \"django|drf\"" color0 color12
highlight-article "title =~ \"vim|nvim|neovim\"" color0 color12
highlight-article "title =~ \"rust\"" color0 color12
highlight-article "title =~ \"database\"" color0 color12
highlight-article "title =~ \"archlinux| arch \"" color0 color12
highlight-article "title =~ \"openai\"" color0 color12
highlight-article "title =~ \"google\"" color0 color12
highlight-article "title =~ \"aws\"" color0 color12
highlight-article "title =~ \"github\"" color0 color12
highlight-article "title =~ \"btc|bitcoin\"" color0 color12
highlight-article "title =~ \"thinkpad|lenovo| x1 \"" color0 color12
highlight-article "title =~ \"^fed | fed \"" color0 color12

ignore-article "*" "title =~ \"died\""
ignore-article "*" "title =~ \"cancer\""
ignore-article "*" "title =~ \"autism\""
ignore-article "*" "title =~ \"Apple Watch\""
ignore-article "*" "title =~ \"IDEA\""
ignore-article "*" "title =~ \"Windows 11\""
Expand Down
8 changes: 4 additions & 4 deletions configs/newsboat/urls
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"query:* AI:(title =~ \"AI \" or title =~\"AI's\")"
"query:* BITCOIN:(title =~ \"bitcoin \" or title =~\"btc \")"

"query:* MUSIC:( tags # \"music\" and unread == \"yes\" )"
# "query:* MUSIC:( tags # \"music\" and unread == \"yes\" )"
"query:* DEV:( tags # \"dev\" and unread == \"yes\" )"
"query:* NEWS:( tags # \"news\" and unread == \"yes\" )"

https://canthisevenbecalledmusic.com/feed/ "~Can This Even Be Called Music?" music
https://theprogressivesubway.com/feed/ "~The Progressive Subway" music
# https://canthisevenbecalledmusic.com/feed/ "~Can This Even Be Called Music?" music
# https://theprogressivesubway.com/feed/ "~The Progressive Subway" music

https://archlinux.org/feeds/news/ "~Arch News" dev
sttps://archlinux.org/feeds/news/ "~Arch News" dev
https://monthly-reports.archlinux.page/index.xml "~Arch Monthly Reports" dev
https://マリウス.com/index.xml dev
https://junegunn.kr/atom.xml dev
Expand Down
Loading

0 comments on commit 2cb1bac

Please sign in to comment.