screen layout

This commit is contained in:
zoe 2022-09-01 12:19:17 +02:00
parent 66f3cb5bc3
commit 2936bf27cb
5 changed files with 22 additions and 10 deletions

View File

@ -1,10 +1,12 @@
import subprocess
import os, signal
import os
autostart = [
os.path.expanduser("~") + "/.screenlayout/default.sh",
"xfce4-power-manager",
"nm-applet",
["nitrogen", "--restore"],
["notify-send", "welcome!"],
]

View File

@ -1,5 +1,4 @@
from libqtile import bar, widget
from libqtile.config import Click, Drag, Group, Key, Match, Screen
from libqtile.config import Click, Drag, Group, Key, Match
from libqtile.layout.floating import Floating
from libqtile.lazy import lazy

13
my_globals.py Normal file
View File

@ -0,0 +1,13 @@
colors = {
"bg": "#282a36",
"on-bg": "#f8f8f2",
"bg-light": "#44475a",
"on-bg-light": "#f8f8f2",
"accent-dark": "#bd93f9",
"on-accent-dark": "#f8f8f2",
"accent-light": "#50fa7b",
"on-accent-light": "#282a36",
}
border_width = 2
gap_width = 2

View File

@ -1,8 +1,6 @@
from libqtile.config import Screen
from libqtile import bar, widget
colors = {"bg": "#282a36", "onbg": "#f8f8f2"}
import my_globals
_bar = bar.Bar(
@ -16,8 +14,8 @@ _bar = bar.Bar(
widget.CurrentLayoutIcon(),
],
24,
border_width=[2, 0, 2, 0],
background=colors["bg"],
border_width=[my_globals.border_width, 0, 0, 0],
background=my_globals.colors["bg"],
)

View File

@ -3,9 +3,9 @@
sudo apt install xserver-xorg xinit
sudo apt install libpangocairo-1.0-0
sudo apt install python3-pip python3-xcffib python3-cairocffi
sudo apt install rofi kitty xosd-bin
sudo apt install rofi kitty xosd-bin flameshot xfce4-power-manager nm-applet
sudo pip install qtile
sudo pip install qtile dbus-next
cp ./xsession $HOME/.xsession
sudo cp ./default.desktop /usr/share/xsessions/default.desktop