Picom, poly, for exwm

This commit is contained in:
Chris Cochrun 2021-01-14 06:02:33 -06:00
parent 6fea3e862b
commit fdb263b974
2 changed files with 60 additions and 2 deletions

View file

@ -11,7 +11,8 @@ rounded-corners-exclude = [
"class_g = 'kitty'",
#"class_g = 'emacs'",
"class_g = 'Polybar'",
#"class_g = 'qutebrowser'",
"class_g = 'mpv'",
"class_g = 'qutebrowser'",
#"class_g = 'TelegramDesktop'",
# "class_g = 'firefox'",
"class_g = 'Thunderbird'",
@ -92,8 +93,10 @@ shadow-exclude = [
# "class_g = 'Alacritty'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"class_g = 'qutebrowser'",
"class_g = 'slop'",
"class_g = 'Polybar'",
"class_g = 'mpv'",
# "class_g = 'Polybar'",
# "class_g = 'Rofi'",
"_GTK_FRAME_EXTENTS@:c"
];

View file

@ -83,6 +83,61 @@ cursor-scroll = ns-resize
enable-ipc = true
[bar/float-desktop]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 23
;offset-x = 1%
;offset-y = 1%
radius = 10.0
fixed-center = true
bottom = true
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 5
border-color = #00000000
padding-left = 4
padding-right = 0
module-margin-left = 1
module-margin-right = 1
font-0 = VictorMono Nerd Font Mono:size=12;1
font-1 = unifont:fontformat=truetype:size=10:antialias=false;0
font-2 = siji:pixelsize=30;1
font-3 = all-the-icons:size=40;1
modules-left = exwm-buffer-name
modules-center = date
modules-right = filesystem exwm-mail xbacklight pulseaudio memory cpu wlan battery powermenu
tray-position = center
tray-padding = 2
tray-maxsize = 20
tray-offset-x = -600
;wm-restack = bspwm
;wm-restack = i3
;override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
[module/exwm-buffer-name]
type = custom/ipc
hook-0 = emacsclient -e "(buffer-name)"