Skip to content

Commit

Permalink
Split notebook config for hyprland and improve batterylife
Browse files Browse the repository at this point in the history
  • Loading branch information
naibaf0 committed Jan 4, 2024
1 parent c6f8875 commit d3dbcda
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 29 deletions.
47 changes: 47 additions & 0 deletions config/hypr/banshee.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

# See https://wiki.hyprland.org/Configuring/Monitors/
# monitor=,preferred,auto,1
#monitor=DP-1, 2560x1440@143.973Hz, auto, auto, vrr,0
#
device:asue140a:00-04f3:3134-touchpad {
# accel_profile adaptive
#pointer_accel -0.1
tap_button_map = lmr
natural_scroll = yes
# middle_emulation enabled
# scroll_factor = 0.4
}

bindr = $mainMod, super_l, exec, pkill -USR1 waybar
exec = kanshictl reload # apply current kanshi setup when saved
exec-once = $scriptsDir/battery-notif.sh
exec-once = kanshi &

general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more

gaps_in = 3
gaps_out = 6
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)

layout = dwindle
}

decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more

rounding = 10

blur {
enabled = false
size = 3
passes = 1
}

drop_shadow = false
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}
36 changes: 7 additions & 29 deletions config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ $editor = nvim
#
# Source a file (multi-file configs)
source=~/.config/hypr/macchiato.conf
source=~/.config/hypr/host.conf

# Some default env vars.
env = XCURSOR_SIZE,24
Expand All @@ -52,7 +53,6 @@ env = GDK_BACKEND,wayland

# Startup
exec = $scriptsDir/startup
# exec = kanshictl reload # apply current kanshi setup when saved
exec-once = hyprctl setcursor Catppuccin-Macchiato-Lavender-Cursors 24
exec-once = $scriptsDir/system/picom-toggle.sh
exec-once = pypr
Expand Down Expand Up @@ -87,7 +87,7 @@ input {
follow_mouse = 1

touchpad {
natural_scroll = no
natural_scroll = yes
}

sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
Expand All @@ -97,35 +97,13 @@ device:logitech-g305-1 {
sensitivity = 0
}


general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more

gaps_in = 5
gaps_out = 10
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)

layout = dwindle
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
mouse_move_enables_dpms = true
# no_direct_scanout = true #for fullscreen games
}

decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more

rounding = 10

blur {
enabled = true
size = 3
passes = 1
}

drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}

animations {
enabled = yes
Expand Down
33 changes: 33 additions & 0 deletions config/hypr/sunnydale.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

# See https://wiki.hyprland.org/Configuring/Monitors/
# monitor=,preferred,auto,auto
monitor=DP-1, 2560x1440@143.973Hz, auto, auto, vrr,0

general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more

gaps_in = 5
gaps_out = 10
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)

layout = dwindle
}

decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more

rounding = 10

blur {
enabled = yes
size = 3
passes = 1
}

drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}

0 comments on commit d3dbcda

Please sign in to comment.