Skip to content

Commit 5d1813e

Browse files
committed
swapping nautilus with nemo
1 parent 0c7d8bf commit 5d1813e

29 files changed

+848
-74
lines changed

files/scripts/nvidia.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
# Target file (replace with the correct path)
5+
file="/etc/skel/.config/hypr/env.conf"
6+
7+
# Uncomment specific NVIDIA-related environment variable lines
8+
sed -i '/#.*env = LIBVA_DRIVER_NAME,nvidia/s/^#\s*//;
9+
/#.*env = GBM_BACKEND,nvidia-drm/s/^#\s*//;
10+
/#.*env = __GLX_VENDOR_LIBRARY_NAME,nvidia/s/^#\s*//;
11+
/#.*env = NVD_BACKEND,direct/s/^#\s*//' "$file"
12+
13+
echo "Lines successfully uncommented in $file"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
--password-store=gnome-libsecret
2+
--ozone-platform-hint=wayland
3+
--gtk-version=4
4+
--ignore-gpu-blocklist
5+
--enable-features=TouchpadOverscrollHistoryNavigation
6+
--enable-wayland-ime
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
--ozone-platform-hint=wayland
2+
--gtk-version=4
3+
--ignore-gpu-blocklist
4+
--enable-features=TouchpadOverscrollHistoryNavigation
5+
--enable-wayland-ime
6+
--password-store=gnome-libsecret

files/system/etc/skel/.config/hypr/colors.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Generated with Matugen
22

3-
43
$background = "rgba(18, 19, 26, 255)"
54

65
$error = "rgba(255, 180, 171, 255)"

files/system/etc/skel/.config/hypr/exec.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK
1212

1313
exec-once = fcitx5
1414
exec-once = waybar & dunst & nm-applet
15-
exec-once = hypridle & hyprpaper
15+
exec-once = hypridle
16+
# exec-once = hyprpaper
17+
exec-once = swww-daemon
1618

1719
# Clipboard: history
1820
exec-once = wl-paste --type text --watch cliphist store

files/system/etc/skel/.config/hypr/hyprland.conf

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Importing system-wide config
2+
source = /usr/share/hypr/hyprland.conf
3+
4+
# Fix for kitty conflicting with killwindow
5+
unbind = SUPER, Q
6+
17
source = colors.conf
28
source = env.conf
39
source = exec.conf
@@ -10,11 +16,16 @@ general {
1016
gaps_out = 8
1117
border_size = 2
1218
resize_on_border = true
19+
layout = dwindle
1320

21+
col.active_border = $primary $primary 90deg
22+
col.inactive_border = rgba(A58A8D30)
23+
}
1424

15-
# col.active_border = $primary
16-
# col.inactive_border = rgba(000000A0)
17-
layout = dwindle
25+
render {
26+
explicit_sync = 2
27+
explicit_sync_kms = 2
28+
# direct_scanout = false
1829
}
1930

2031

@@ -31,15 +42,16 @@ master {
3142

3243
input {
3344
kb_layout = br
34-
kb_variant=
45+
# kb_variant= br-abnt2
3546
kb_model=
3647
kb_rules=
3748
# kb_options=grp:alt_shift_toggle
3849
# repeat_rate=50
3950
# repeat_delay=300
4051
numlock_by_default=1
4152
# left_handed=0
42-
# follow_mouse=1
53+
follow_mouse=1
54+
sensitivity = 0
4355
# float_switch_override_focus=0
4456

4557
touchpad {
@@ -58,24 +70,25 @@ gestures {
5870

5971
cursor {
6072
no_hardware_cursors = true
73+
# enable_hyprcursor = true
6174
}
6275

6376
group {
64-
col.border_active = $primary
77+
col.border_active = $primary-container
6578
# col.border_inactive = $secondary
6679

6780
groupbar {
6881
col.active = $primary
69-
# col.inactive = $background
82+
col.inactive = $background
7083
}
7184
}
7285

7386
decoration {
7487
rounding = 20
7588

76-
active_opacity = 1.0
77-
inactive_opacity = 0.8
78-
fullscreen_opacity = 1.0
89+
# active_opacity = 1.0
90+
# inactive_opacity = 0.8
91+
# fullscreen_opacity = 1.0
7992

8093
dim_inactive = true
8194
dim_strength = 0.35
@@ -125,10 +138,11 @@ xwayland {
125138
misc {
126139
disable_hyprland_logo = true
127140
disable_splash_rendering = true
128-
# mouse_move_enables_dpms = true
141+
mouse_move_enables_dpms = false
142+
middle_click_paste = true
129143
vrr = 2
130144
# enable_swallow = true
131-
focus_on_activate = false
145+
# focus_on_activate = false
132146
swallow_regex = ^(kitty)$
133147
#disable_autoreload = true
134148
}

files/system/etc/skel/.config/hypr/hyprlock.conf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ source = colors.conf
33
background {
44
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
55
monitor =
6-
path = $HOME/.current_wallpaper # only png supported for now
6+
# path = $HOME/.current_wallpaper # Create a symlink with a script when you use pywal or matugen
7+
path = /usr/share/backgrounds/astronaut-nord.png # Default image | only png supported for now
78
blur_size = 4
89
blur_passes = 3 # 0 disables blurring
910
noise = 0.0117
@@ -18,7 +19,7 @@ label {
1819
monitor =
1920
text = cmd[update:1000] echo "<b><big> $(date +"%H") </big></b>"
2021
color = $primary
21-
font_size = 112
22+
font_size = 90
2223
font_family = Geist Mono 10
2324
shadow_passes = 3
2425
shadow_size = 4
@@ -33,12 +34,12 @@ label {
3334
monitor =
3435
text = cmd[update:1000] echo "<b><big> $(date +"%M") </big></b>"
3536
color = $primary
36-
font_size = 112
37+
font_size = 90
3738
font_family = Geist Mono 10
3839
shadow_passes = 3
3940
shadow_size = 4
4041

41-
position = 0, 80
42+
position = 0, 120
4243
halign = center
4344
valign = center
4445
}
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
$wallpaper = /usr/share/backgrounds/astronaut-nord.png
1+
# Variables #
2+
$wallpaper = /usr/share/backgrounds/astronaut-nord.png # Default wallpaper
3+
# $wallpaper = $HOME/.current_wallpaper # Custom one
4+
#-----------------------#
25
preload = $wallpaper
36
wallpaper = , $wallpaper

files/system/etc/skel/.config/hypr/keybinds.conf

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ bind = $mainMod,G, togglegroup
2424
bind = $mainMod ALT, H, moveintogroup, r
2525
bind = $mainMod ALT, L, moveintogroup, l
2626
bind = $mainMod ALT,J, moveoutofgroup
27+
bind = $mainMod ALT,down, moveoutofgroup
2728
bind = $mainMod ALT, right, moveintogroup, r
2829
bind = $mainMod ALT, left, moveintogroup, l
2930
bind = $mainMod ALT,down, moveoutofgroup
@@ -132,9 +133,10 @@ bind = $mainMod SHIFT, $num0, movetoworkspace, 10
132133

133134
bind = $mainMod SHIFT, bracketleft, movetoworkspace, -1 # brackets [ or ]
134135
bind = $mainMod SHIFT, bracketright, movetoworkspace, +1
135-
136-
bind = $mainMod SHIFT, bracketleft, movetoworkspace, -1 # brackets [ or ]
137-
bind = $mainMod SHIFT, bracketright, movetoworkspace, +1
136+
bind = $mainMod SHIFT, left, movetoworkspace, -1
137+
bind = $mainMod SHIFT, right, movetoworkspace, +1
138+
bind = $mainMod SHIFT, H, movetoworkspace, -1
139+
bind = $mainMod SHIFT, L, movetoworkspace, +1
138140

139141
# -------------- #
140142
# Mouse Bindings #
@@ -171,12 +173,16 @@ bind = , XF86MonBrightnessDown, exec, $lower_brightness
171173
bind = , xf86KbdBrightnessUp, exec, brightnessctl -d *::kbd_backlight set +33%
172174
bind = , xf86KbdBrightnessDown, exec, brightnessctl -d *::kbd_backlight set 33%-
173175

176+
# ------------- #
177+
# Miscellaneous #
178+
# ------------- #
179+
174180
# For passthrough keyboard into a VM
175-
# bind = $mainMod ALT, P, submap, passthru
176-
#submap = passthru
181+
bind = $mainMod ALT, P, submap, passthru
182+
submap = passthru
177183
# to unbind
178-
#bind = $mainMod ALT, P, submap, reset
179-
#submap = reset
184+
bind = $mainMod ALT, P, submap, reset
185+
submap = reset
180186

181187
# Force QUIT Hyprland
182188
bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0

files/system/etc/skel/.config/hypr/rules.conf

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ windowrule = center, title:^(Open Folder)(.*)$
99
windowrule = center, title:^(Save As)(.*)$
1010
windowrule = center, title:^(Library)(.*)$
1111
windowrule = center, title:^(File Upload)(.*)$
12+
windowrule = center, title:^(Authentication required)(.*)$
1213

1314
# Dialogs
1415
windowrule = float, title:^(Open File)(.*)$
@@ -18,6 +19,12 @@ windowrule = float, title:^(Open Folder)(.*)$
1819
windowrule = float, title:^(Save As)(.*)$
1920
windowrule = float, title:^(Library)(.*)$
2021
windowrule = float, title:^(File Upload)(.*)$
22+
windowrule = float, title:^(Authentication required)(.*)$
23+
# fix for rofi xwayland
24+
windowrule = float, title:^(rofi)(.*)$
25+
windowrule = noborder, title:^(rofi)(.*)$
26+
windowrule = norounding, title:^(rofi)(.*)$
27+
# windowrule = fullscreen, title:^(rofi)(.*)$
2128

2229
windowrule = float, org.kde.polkit-kde-authentication-agent-1
2330
windowrule = float, nm-connection-editor|blueman-manager
@@ -37,7 +44,7 @@ windowrulev2 = opacity 0.9 0.7, class:^(steam)$
3744
windowrulev2 = opacity 1, 1, title:^(Picture-in-Picture)$
3845

3946
# Blur -----------------------------------------------------
40-
# Wlogout
47+
# Wlogout
4148
layerrule = blur, logout_dialog
4249

4350
layerrule = blur, class:^(swww)$

0 commit comments

Comments
 (0)