adaptive sync
This commit is contained in:
@@ -20,6 +20,11 @@ font pango:NotoSans 12
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
|
||||
# Clear leftover Wayland env (e.g. from a previous Hyprland/sway session) out of
|
||||
# systemd/dbus so dbus-activated apps like Thunar don't try to use a dead compositor.
|
||||
# Must run before anything dbus-activated starts.
|
||||
exec --no-startup-id sh -c "systemctl --user unset-environment WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE SWAYSOCK; dbus-update-activation-environment --systemd DISPLAY XAUTHORITY XDG_CURRENT_DESKTOP=i3 XDG_SESSION_TYPE=x11; pkill -x Thunar"
|
||||
|
||||
# Start XDG autostart .desktop files using dex. See also
|
||||
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||
exec --no-startup-id dex --autostart --environment i3
|
||||
@@ -58,6 +63,7 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec --no-startup-id ~/.config/i3/scripts/wallpaper-rotate $wallpaper_dir
|
||||
exec --no-startup-id pasystray
|
||||
exec --no-startup-id polybar
|
||||
exec --no-startup-id ~/.config/i3/scripts/guide-freeze
|
||||
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
|
||||
@@ -99,7 +105,7 @@ floating_modifier $mod
|
||||
#xrandr --output HDMI-2 --auto --right-of eDP1
|
||||
# High refresh rates can flicker on AMD (VRAM clock switching), so run the
|
||||
# desktop at 120Hz. See README "High refresh rate flicker".
|
||||
exec --no-startup-id xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120
|
||||
exec --no-startup-id xrandr --output DisplayPort-0 --mode 1920x1080 --rate 240
|
||||
|
||||
# start a terminal
|
||||
#bindsym $mod+Return exec i3-sensible-terminal
|
||||
@@ -108,6 +114,9 @@ bindsym $mod+Return exec $terminal
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# freeze / resume focused window (SIGSTOP / SIGCONT)
|
||||
bindsym $mod+m exec --no-startup-id ~/.config/i3/scripts/freeze-toggle
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
#bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
|
||||
#bindsym $mod+d exec --no-startup-id dmenu
|
||||
|
||||
Reference in New Issue
Block a user