From 73ddd0da59e7e9c8a1be98f46d794a88dbaa3b6d Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 26 Sep 2022 15:47:22 +0530 Subject: [PATCH] add config for bspwm --- .Xresources | 2 ++ .xinitrc | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .Xresources create mode 100644 .xinitrc diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..2d032ea --- /dev/null +++ b/.Xresources @@ -0,0 +1,2 @@ +Xcursor.theme: Breeze +Xcursor.size: 31 diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..3b1560f --- /dev/null +++ b/.xinitrc @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +USER_X_RESOURCES=$HOME/.Xresources +if [[ -f "$USER_X_RESOURCES" ]]; then + xrdb -merge "$USER_X_RESOURCES" +fi + +xsetroot -cursor_name left_ptr & +xrandr -s 3840x2160+0+0 +nvidia-settings --assign CurrentMetaMode="3840x2160+0+0 { ForceFullCompositionPipeline = On }" + +pgrep -x dunst > /dev/null || dunst & +pgrep -x picom > /dev/null || picom --experimental-backends --no-fading-openclose & +pkill -USR1 -x sxhkd & + +notify-send -u normal "Login manager" "Welcome, $(whoami)" + +exec bspwm