Skip to content

Commit

Permalink
Changed a lot of things
Browse files Browse the repository at this point in the history
  • Loading branch information
luyu-wu committed Dec 23, 2023
1 parent dcd25c1 commit 6299115
Show file tree
Hide file tree
Showing 11 changed files with 723 additions and 506 deletions.
17 changes: 6 additions & 11 deletions dunst/dunstrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
height = 300

# Position the notification in the top right corner
origin = top-center
origin = top-right

# Offset from the origin
offset = 0x10
offset = 10x10

# Scale factor. It is auto-detected if value is 0.
scale = 0
Expand Down Expand Up @@ -70,11 +70,6 @@
# notification_limit).
indicate_hidden = no

# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
# transparency = 100

# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
Expand All @@ -92,16 +87,16 @@

# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 2
frame_width = 1

# Defines color of the frame around the notification window.
frame_color = "#444444"
frame_color = "#60606050"

# Size of gap to display between notifications - requires a compositor.
# If value is greater than 0, separator_height will be ignored and a border
# of size frame_width will be drawn around each notification instead.
# Click events on gaps do not currently propagate to applications below.
gap_size = 15
gap_size = 4

# Define a color for the separator.
# possible values are:
Expand Down Expand Up @@ -205,7 +200,7 @@
#icon_theme = "Adwaita, breeze"

# Align icons left/right/top/off
icon_position = left
icon_position = off

# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
Expand Down
6 changes: 3 additions & 3 deletions hypr/binds.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ bind = , XF86AudioNext, exec, playerctl next

# Screenshotting
bind = ,Print, exec, hyprshot -m region -o ~/Pictures/Screenshots
bind = SUPER SHIFT, S, exec, grimshot copy area

# Global Keybinds
bind = ,F2,pass,^(com\.obsproject\.Studio)$
Expand All @@ -26,12 +25,13 @@ bind = SUPER, E, exec, nautilus -w
bind = SUPER, B, exec, bilibili --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
bind = SUPER, S, exec, spotify --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
bind = SUPER, X, exec, alacritty -e cmus
b

bind = SUPER, T, exec, alacritty
bind = SUPER, C, exec, vscodium --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto --enable-wayland-ime
bind = CTRL SHIFT, escape, exec, alacritty -e btop
bind = SUPER SHIFT, C, exec, hyprpicker -a

bind = SUPER SHIFT, S, exec, grimshot copy area
bind = SUPER SHIFT, T, exec, grim -g "$(slurp)" - | tesseract - - -l chi_tra | wl-copy
# Special Workspace
bind = SUPER , A, togglespecialworkspace
bind = SUPER , K, movetoworkspace, special
Expand Down
10 changes: 6 additions & 4 deletions hypr/hyprpaper.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#preload = ~/Assets/Pictures/Wallpapers/Suzume.jpg
preload = ~/Assets/Pictures/Wallpapers/green_garden.png
preload = ~/Assets/Pictures/Wallpapers/girl-outdoors.jpeg
#preload = ~/Assets/Pictures/Wallpapers/green_garden.png
#preload = ~/Assets/Pictures/Wallpapers/girl-outdoors.jpeg
preload = ~/Assets/Pictures/Wallpapers/MateX3LightWings.jpg
preload = ~/Assets/Pictures/Wallpapers/scissor_girl.jpg
preload = ~/Assets/Pictures/Wallpapers/girlroofguitar.png

wallpaper = , ~/Assets/Pictures/Wallpapers/MateX3LightWings.jpg
wallpaper = DP-3, ~/Assets/Pictures/Wallpapers/girlroofguitar.png

#wallpaper = DP-4, ~/Assets/Pictures/Wallpapers/girl-outdoors.jpeg
wallpaper = eDP-1, ~/Assets/Pictures/Wallpapers/MateX3LightWings.jpg
wallpaper = eDP-1, ~/Assets/Pictures/Wallpapers/scissor_girl.jpg

#ipc = off
1 change: 1 addition & 0 deletions hypr/monitors.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
monitor = eDP-1, 2256x1504, 0x0, 1
monitor = DP-4, 1920x1080,-1920x0,1 #爸爸家
monitor = DP-3, 1920x1080,-1920x0,1 #爸爸家
monitor = DP-1, 1920x1080,-1920x0,1 #爸爸家
#monitor = DP-5, 1920x1080, -1920x0,1
6 changes: 5 additions & 1 deletion hypr/rules.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ windowrule = float, ^(Rofi|eww|pavucontrol|nm-connection-editor|blueberry.py|Col
windowrule = nomaximizerequest, ^(Armcord)$
windowrule = nomaximizerequest, ^(Firefox Beta)$

windowrule = stayfocused, title:^(Save Image)$
windowrule = stayfocused, title:^(Rotate View)$


windowrulev2 = nodim,workspace:^(name:special)$
windowrule = nodim, ^(ArmCord)$
windowrulev2 = workspace special, class:^(ArmCord)$
Expand All @@ -22,4 +26,4 @@ layerrule = ignorezero, notifications$

## Workspace Rules
#workspace=special,gapsin:0,gapsout:0,decorate:false,rounding:0

workspace=special,gapsin:30,gapsout:50,decorate:false
8 changes: 4 additions & 4 deletions hypr/settings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ xwayland {

decoration {
#inactive_opacity = 0.85
rounding = 12
rounding = 5

drop_shadow = true
shadow_range = 40
Expand All @@ -104,10 +104,10 @@ decoration {
#ignore_opacity = true
new_optimizations = true
#xray = true
size = 12
size = 8
passes = 3
contrast = 1.2
vibrancy = 0.5
contrast = 1
vibrancy = 1
noise = 0.03
}
}
77 changes: 77 additions & 0 deletions micro/backups/%home%chrysanthemum%Code%Config%hypr%binds.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Media Function Keys
bindle = , XF86MonBrightnessUp, exec, brightnessctl s +2%
bindle = , XF86MonBrightnessDown, exec, brightnessctl s 2%-

bindle = , XF86AudioRaiseVolume,exec, pactl -- set-sink-volume 0 +3%
bindle = , XF86AudioLowerVolume,exec, pactl -- set-sink-volume 0 -3%
bindle = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle

bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86AudioNext, exec, playerctl next

# Screenshotting
bind = ,Print, exec, hyprshot -m region -o ~/Pictures/Screenshots

# Global Keybinds
bind = ,F2,pass,^(com\.obsproject\.Studio)$

# Launchers
bind = SUPER, R, exec, rofi -show drun
bind = SUPER, W, exec, firefox-beta
bind = SUPER, Y, exec, epiphany
bind = SUPER, D, exec, armcord --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
bind = SUPER, E, exec, nautilus -w
bind = SUPER, B, exec, bilibili --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
bind = SUPER, S, exec, spotify --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
bind = SUPER, X, exec, alacritty -e cmus

bind = SUPER, T, exec, alacritty
bind = SUPER, C, exec, vscodium --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto --enable-wayland-ime
bind = CTRL SHIFT, escape, exec, alacritty -e btop
bind = SUPER SHIFT, C, exec, hyprpicker -a
bind = SUPER SHIFT, S, exec, grimshot copy area
bind = SUPER SHIFT, T, exec, grim -g "$(slurp)" - | tesseract - - -l chi_tra | wl-copy
# Special Workspace
bind = SUPER , A, togglespecialworkspace
bind = SUPER , K, movetoworkspace, special
# Recover
bind = CTRL SHIFT, delete, exec, hyprctl reload

# Bindings
bind = SUPER, Q, killactive
bind = SUPER, V, togglefloating
bind = SUPER, F, fullscreen
bind = SUPER, J, togglesplit

# Move focus with mainMod + arrow keys
bind = SUPER, up, movefocus, u
bind = SUPER, down, movefocus, d
bind = SUPER, right, movefocus, r
bind = SUPER, left, movefocus, l

# Switch workspaces with mainMod + [0-9]
bind = SUPER, 1, workspace, 1
bind = SUPER, 2, workspace, 2
bind = SUPER, 3, workspace, 3
bind = SUPER, 4, workspace, 4
bind = SUPER, 5, workspace, 5
bind = SUPER, 6, workspace, 6
bind = SUPER, 7, workspace, 7
bind = SUPER, 8, workspace, 8
bind = SUPER, 9, workspace, 9

# Move active window to workspace
bind = SUPER SHIFT, 1, movetoworkspace, 1
bind = SUPER SHIFT, 2, movetoworkspace, 2
bind = SUPER SHIFT, 3, movetoworkspace, 3
bind = SUPER SHIFT, 4, movetoworkspace, 4
bind = SUPER SHIFT, 5, movetoworkspace, 5
bind = SUPER SHIFT, 6, movetoworkspace, 6
bind = SUPER SHIFT, 7, movetoworkspace, 7
bind = SUPER SHIFT, 8, movetoworkspace, 8
bind = SUPER SHIFT, 9, movetoworkspace, 9

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = SUPER, mouse:272, movewindow
bindm = SUPER SHIFT, mouse:272, resizewindow
113 changes: 113 additions & 0 deletions micro/backups/%home%chrysanthemum%Code%Config%hypr%settings.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
general {
border_size = 0
gaps_in = 12
gaps_out = 20
gaps_workspaces = 300
#col.inactive_border = rgb(45475a)
#col.active_border = rgb(bbbbbb) rgb(a6e3a1) 45dg
#col.active_border = rgba(108810aa)

col.active_border = rgb(555555)
col.inactive_border = rgba(45475a80)

cursor_inactive_timeout = 0
layout = dwindle
}

input {
touchpad {
scroll_factor = 0.7
clickfinger_behavior = yes
disable_while_typing = no
tap-and-drag = yes
natural_scroll = yes
}
sensitivity = 0
accel_profile = flat
force_no_accel = yes
repeat_rate = 50
repeat_delay = 200

# Focus Stuff
follow_mouse = 1
}

dwindle {
pseudotile = yes
preserve_split = yes
}

master {
new_is_master = false
# no_gaps_when_only = yes
}

gestures {
workspace_swipe = on
workspace_swipe_distance = 200
workspace_swipe_min_speed_to_force = 5
workspace_swipe_cancel_ratio = 0.1

workspace_swipe_numbered = false
workspace_swipe_direction_lock = false

}

binds {
scroll_event_delay = 100
workspace_back_and_forth = true
workspace_center_on = 1
movefocus_cycles_fullscreen = false
}
misc {
disable_hyprland_logo = true
force_default_wallpaper = 0

disable_autoreload = yes
focus_on_activate = true
animate_manual_resizes = false
layers_hog_keyboard_focus = true
}

debug {
# overlay = true
disable_logs = true
watchdog_timeout = 0
}

xwayland {
# force_zero_scaling = true
}


decoration {
#inactive_opacity = 0.85
rounding = 5

drop_shadow = true
shadow_range = 40
shadow_render_power = 3
col.shadow = rgba(00000040)
col.shadow_inactive = rgba(00000025)

dim_inactive = true
dim_strength = 0.15
dim_special = 0.2

#screen_shader = ~/Code/Config/hypr/Shaders/CRT.frag
#screen_shader = ~/Code/Config/hypr/Shaders/vibrance.glsl
#screen_shader = ~/Code/Config/hypr/Shaders/night.glsl


blur {
enabled = true
#ignore_opacity = true
new_optimizations = true
#xray = true
size = 8
passes = 3
contrast = 1
vibrancy = 1
noise = 0.03
}
}
Binary file modified micro/buffers/history
Binary file not shown.
Loading

0 comments on commit 6299115

Please sign in to comment.