From 03be1e8565254fe957898720a2f2ed22b127c873 Mon Sep 17 00:00:00 2001 From: kirreen Date: Wed, 9 Oct 2024 11:26:34 +0200 Subject: [PATCH] picom, sxhkdrc and bspwmrc from lappy as they are cooler. Started working on script --- home/.config/bspwm/bspwmrc | 12 ++++-------- home/.config/picom/picom.conf | 6 ++---- populate.sh | 25 +++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 12 deletions(-) create mode 100755 populate.sh diff --git a/home/.config/bspwm/bspwmrc b/home/.config/bspwm/bspwmrc index 5cea6c4..755fa1e 100755 --- a/home/.config/bspwm/bspwmrc +++ b/home/.config/bspwm/bspwmrc @@ -16,18 +16,13 @@ bspc config gapless_monocle true # bspc monitor eDPI1 -d I II III IV V # bspc monitor DP4 -d VI VII VIII IX X -# bspc monitor eDP1 -d " 1" 2 3 4 5 6 7 8 9 0 +bspc monitor eDP1 -d " 1" 2 3 4 5 6 7 8 9 0 -xrandr --output DP-2 --mode 1920x1080 --rotate normal --output DP-0 --primary --mode 2560x1440 --rotate normal --rate 165.08 --right-of DP-2 -bspc wm -O DP-2 DP-0 -bspc monitor DP-0 -d 1 2 3 4 5 -bspc monitor DP-2 -d 6 7 8 9 0 -bspc monitor DP-2 -s DP-0 +# bspc monitor eDP1 -d 1 2 3 4 5 +# bspc monitor DP4 -d 6 7 8 9 0 bspc config top_padding 36 -xinput set-prop 'BenQ ZOWIE BenQ ZOWIE Gaming Mouse' 'libinput Accel Speed' -0.6 - if type "xrandr"; then for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do MONITOR=$m polybar --reload example & @@ -45,6 +40,7 @@ bspc rule -a Pavucontrol state=floating rectangle=700x500+1210+41 bspc rule -a Nm-connection-editor state=floating bspc rule -a feh state=floating bspc rule -a Godot_Engine state=floating +bspc rule -a noob state=floating nm-applet & xsetroot -cursor_name left_ptr diff --git a/home/.config/picom/picom.conf b/home/.config/picom/picom.conf index 1dc1e15..c8afed6 100644 --- a/home/.config/picom/picom.conf +++ b/home/.config/picom/picom.conf @@ -141,11 +141,9 @@ opacity-rule = [ "90:class_g = 'URxvt' && !focused", "93:class_g = 'nheko' && !focused", "75:window_type = 'dialog' && !focused", "85:window_type = 'dialog' && focused", - "98:class_g = 'firefox' && !focused", + "88:class_g = 'firefox' && !focused", "88:class_g = 'Google-chrome' && !focused", - "98:class_g = 'Polybar'", - "100:class_g = 'discord'", - "98:class_g = 'mpv'" ]; + "98:class_g = 'Polybar'" ]; ################################# diff --git a/populate.sh b/populate.sh new file mode 100755 index 0000000..8527fa1 --- /dev/null +++ b/populate.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +# mv existing file on PC to .pop.bak, then ln -s new file to it +mv ~/.config/bspwm/bspwmrc ~/.config/bspwm/bspwmrc.pop.bak +mv ~/.config/sxhkd/sxhkdrc ~/.config/sxhkd/sxhkdrc.pop.bak + +mv ~/.config/hypr/hyprland.conf ~/.config/hypr/hyprland.conf.pop.bak +mv ~/.config/hypr/hyprpaper.conf ~/.config/hypr/hyprpaper.conf.pop.bak + +mv ~/.config/kitty/kitty.conf ~/.config/kitty/kitty.conf.pop.bak + +mv ~/.config/nvim/init.vim ~/.config/nvim/init.vim.pop.bak + +mv ~/.config/picom/picom.conf ~/.config/picom/picom.conf.pop.bak + +mv ~/.config/waybar/config.jsonc ~/.config/waybar/config.jsonc.pop.bak + +mv ~/.config/waybar/style.css ~/.config/waybar/style.css.pop.bak + +mv ~/.config/wofi/style.css ~/.config/wofi/style.css.pop.bak + +mv ~/.Xresources ~/.Xresources.pop.bak +mv ~/.xinitrc ~/.xinitrc.pop.bak +mv ~/.zshrc ~/.zshrc.pop.bak +