Tested some bspwm configurations
This commit is contained in:
parent
62d591ae8d
commit
47b89ff975
@ -1,5 +1,8 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
|
bspc monitor DP-1 -d 1 2 3 4 5
|
||||||
|
bspc monitor DP-2 -d 6 7 8 9 0
|
||||||
|
|
||||||
bspc config border_width 1
|
bspc config border_width 1
|
||||||
bspc config focus_follows_pointer true
|
bspc config focus_follows_pointer true
|
||||||
bspc config pointer_follows_focus false
|
bspc config pointer_follows_focus false
|
||||||
@ -21,11 +24,11 @@ bspc rule -a mpv \
|
|||||||
bspc rule -a "*:Toolkit:Picture-in-Picture" \
|
bspc rule -a "*:Toolkit:Picture-in-Picture" \
|
||||||
state=floating sticky=on follow=off focus=on \
|
state=floating sticky=on follow=off focus=on \
|
||||||
rectangle=640x360+1920+1080
|
rectangle=640x360+1920+1080
|
||||||
bspc rule -a librewolf:Navigator: desktop='8'
|
bspc rule -a discord:discord: desktop='2'
|
||||||
|
bspc rule -a Signal:signal: desktop='2'
|
||||||
|
bspc rule -a obsidian:obsidian: desktop='7'
|
||||||
|
bspc rule -a betterbird:Mail: desktop='7'
|
||||||
bspc rule -a steam:steamwebhelper: desktop='9'
|
bspc rule -a steam:steamwebhelper: desktop='9'
|
||||||
bspc rule -a discord:discord: desktop='0'
|
bspc rule -a librewolf:Navigator: desktop='0'
|
||||||
bspc rule -a Signal:signal: desktop='0'
|
|
||||||
bspc rule -a obsidian:obsidian: desktop='office'
|
|
||||||
bspc rule -a betterbird:Mail: desktop='office'
|
|
||||||
bspc rule -a trayer:panel: border=off manage=off
|
bspc rule -a trayer:panel: border=off manage=off
|
||||||
bspc rule -a xdragon:Xdragon state=floating sticky=on
|
bspc rule -a xdragon:Xdragon state=floating sticky=on
|
||||||
|
@ -75,15 +75,12 @@ super + {p,b,comma,period}
|
|||||||
bspc node -f @{parent,brother,first,second}
|
bspc node -f @{parent,brother,first,second}
|
||||||
#
|
#
|
||||||
# focus the next/previous window in the current desktop
|
# focus the next/previous window in the current desktop
|
||||||
#super + {_,shift + }c
|
|
||||||
# bspc node -f {next,prev}.local.!hidden.window
|
|
||||||
alt + {_,shift +} Tab
|
alt + {_,shift +} Tab
|
||||||
bspc node -f {next,prev}.local.!hidden.window
|
bspc node -f {next,prev}.local.!hidden.window
|
||||||
|
|
||||||
|
|
||||||
# focus the next/previous desktop in the current monitor
|
# focus the next/previous desktop in the current monitor
|
||||||
super + bracket{left,right}
|
super + bracket{left,right}
|
||||||
bspc desktop -f {prev,next}.local; notify-desktop "Workspace" "$(bspc query -D -d focused --names)"
|
bspc desktop -f {prev,next}.local; notify-desktop "Workspace" "$(bspc query -D -d focused --names)"
|
||||||
|
|
||||||
# focus the last node/desktop
|
# focus the last node/desktop
|
||||||
super + {grave,Tab}
|
super + {grave,Tab}
|
||||||
|
@ -13,4 +13,5 @@ nm-applet &
|
|||||||
volumeicon &
|
volumeicon &
|
||||||
mullvad-gui &
|
mullvad-gui &
|
||||||
sxhkd &
|
sxhkd &
|
||||||
|
xrandr --output DP-1 --primary --mode 2560x1440 --rotate normal --rate "164.99" --output DP-2 --mode 2560x1440 --rotate normal --rate "164.99" --right-of DP-1 &
|
||||||
exec bspwm
|
exec bspwm
|
||||||
|
@ -13,20 +13,4 @@
|
|||||||
tray = "auto";
|
tray = "auto";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xsession.windowManager.bspwm.monitors = {
|
|
||||||
DP-1 = [
|
|
||||||
"6"
|
|
||||||
"7"
|
|
||||||
"8"
|
|
||||||
"9"
|
|
||||||
"0"
|
|
||||||
];
|
|
||||||
DP-2 = [
|
|
||||||
"1"
|
|
||||||
"2"
|
|
||||||
"3"
|
|
||||||
"4"
|
|
||||||
"5"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
@ -77,6 +77,7 @@
|
|||||||
dig
|
dig
|
||||||
dogdns
|
dogdns
|
||||||
dua
|
dua
|
||||||
|
exiftool
|
||||||
ffmpeg
|
ffmpeg
|
||||||
fq
|
fq
|
||||||
fx
|
fx
|
||||||
|
@ -17,10 +17,16 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xdg.portal = {
|
xdg = {
|
||||||
enable = true;
|
autostart.enable = true;
|
||||||
xdgOpenUsePortal = true;
|
portal = {
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
xserver = {
|
xserver = {
|
||||||
@ -76,6 +82,7 @@
|
|||||||
tor-browser-bundle-bin
|
tor-browser-bundle-bin
|
||||||
];
|
];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
butt
|
||||||
clipmenu
|
clipmenu
|
||||||
dunst
|
dunst
|
||||||
hsetroot
|
hsetroot
|
||||||
@ -85,6 +92,7 @@
|
|||||||
trayer
|
trayer
|
||||||
volumeicon
|
volumeicon
|
||||||
xbanish
|
xbanish
|
||||||
|
xdg-utils
|
||||||
xdo
|
xdo
|
||||||
xdragon
|
xdragon
|
||||||
xsel
|
xsel
|
||||||
|
Loading…
Reference in New Issue
Block a user