From 80513942a4b2e23514b5263a61ba0f5ff9ca24b5 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 28 Jul 2022 22:59:44 +0200 Subject: Update x11 profile --- .config/x11/xprofile | 11 +++++------ .local/bin/remaps | 5 +++++ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100755 .local/bin/remaps diff --git a/.config/x11/xprofile b/.config/x11/xprofile index 15f3bf5..8fce5ef 100755 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -3,14 +3,13 @@ # This file runs when a DM logs you into a graphical session. # If you use startx/xinit like a Chad, this file will also be sourced. -setbg & # Set the background with the `setbg` script -xset r rate 300 50 & # Speed xrate up -unclutter & # Remove mouse when idle -xbanish & # Remove mouse when typing -dwmblocks & # Status bar +setbg & # Set the background with the `setbg` script +dwmblocks & # Status bar +remaps & # Speed xrate up + xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! -autostart="xcompmgr dunst unclutter pipewire" +autostart="xcompmgr dunst unclutter xbanish pipewire" for program in $autostart; do pidof -s "$program" || setsid -f "$program" diff --git a/.local/bin/remaps b/.local/bin/remaps new file mode 100755 index 0000000..a373282 --- /dev/null +++ b/.local/bin/remaps @@ -0,0 +1,5 @@ +#!/bin/sh + +# This script is called on startup to remap keys. +# Decrease key repeat delay to 300ms and increase key repeat rate to 50 per second. +xset r rate 300 60 -- cgit v1.2.3-70-g09d2