Skip to content

Commit ea533e5

Browse files
committed
fix: ironbar
1 parent ef83d72 commit ea533e5

File tree

2 files changed

+9
-30
lines changed

2 files changed

+9
-30
lines changed

home/nix/programs/hyprland/bar/ironbar/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ monitors:
9393
format:
9494
- " {cpu_percent}%"
9595
- " {memory_percent}%"
96-
- name: "upower"
96+
- name: "battery"
9797
position: "right"
98-
type: upower
98+
type: battery
9999
format: "󰂄 {percentage}%"
100100

101101
- name: "bottom"

home/nix/programs/hyprland/hyprland.nix

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,6 @@ in
506506
# Whether to enable animations
507507
enabled = true;
508508

509-
# Enable first launch animation
510-
first_launch_animation = true;
511-
512509
# Bezier curve for animations
513510
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
514511

@@ -760,12 +757,6 @@ in
760757
# Whether mouse moving to another monitor will focus that monitor.
761758
mouse_move_focuses_monitor = true;
762759

763-
# Starts rendering before monitor displays a frame.
764-
render_ahead_of_time = false;
765-
766-
# How many ms of safezone to add to rendering.
767-
render_ahead_safezone = 1;
768-
769760
# If true, will allow you to restart a lockscreen app (redscreen of death)
770761
allow_session_lock_restore = false;
771762

@@ -840,17 +831,11 @@ in
840831
# https://wiki.hyprland.org/Configuring/Variables/#render
841832

842833
render = {
843-
# Whether to enable explicit sync support.
844-
# 0 = no
845-
# 1 = yes
846-
# 2 = auto
847-
explicit_sync = 2;
848-
849-
# Whether to enable explicit sync support for KMS.
850-
explicit_sync_kms = 2;
851-
852-
# Enables direct scanout. Attempts to reduce lag.
853-
direct_scanout = true;
834+
# Enables direct scanout. Attempts to reduce lag.a
835+
# 0 = off
836+
# 1 = on
837+
# 2 = auto (on for games)
838+
direct_scanout = 2;
854839
};
855840

856841
####################
@@ -1064,14 +1049,8 @@ in
10641049
# https://wiki.hyprland.org/Configuring/Gestures/
10651050

10661051
gestures = {
1067-
# Whether to enable workspace swipe gestures.
1068-
workspace_swipe = false;
1069-
1070-
# How many fingers for touchpad gesture.
1071-
workspace_fingers = 3;
1072-
1073-
# If enabled, workspace_swipe_fingers is the minimum number of fingers required.
1074-
workspace_swipe_min_fingers = false;
1052+
# Gesture on swiping with 3 fingers
1053+
gesture = "3, horizontal, workspace";
10751054

10761055
# In px, the distance of the touchpad gesture.
10771056
workspace_swipe_distance = 300;

0 commit comments

Comments
 (0)