This commit is contained in:
Thies Lennart Alff 2023-10-16 09:14:26 +02:00
parent 2d95a09b9b
commit e7c6a8ad41
11 changed files with 111 additions and 37 deletions

View file

@ -0,0 +1,2 @@
--enable-features=UseOzonePlatform,WaylandWindowDecorations
--ozone-platform=wayland

View file

@ -3,10 +3,18 @@ set $term kitty
set $menu kickoff set $menu kickoff
set $lock swaylock set $lock swaylock
include ~/.config/sway/config.d/*
# scale internal display # scale internal display
output eDP-1 scale 1.5 output eDP-1 scale 1.5
output * scale 1.25 output * scale 1.25
# notification daemon
exec mako
# polkit
exec /usr/bin/lxqt-policykit-agent
focus_follows_mouse no focus_follows_mouse no
default_border pixel 2 default_border pixel 2
@ -14,6 +22,7 @@ default_floating_border pixel 2
gaps inner 10 gaps inner 10
gaps outer 5 gaps outer 5
# enable gnome keyring
exec dbus-update-activation-environment --all exec dbus-update-activation-environment --all
exec eval $(gnome-keyring-daemon --start) exec eval $(gnome-keyring-daemon --start)
exec export SSH_AUTH_SOCK exec export SSH_AUTH_SOCK
@ -39,6 +48,7 @@ mode "$mode_exit" {
bindsym o exec --no-startup-id i3-msg exit, mode "default" bindsym o exec --no-startup-id i3-msg exit, mode "default"
bindsym r exec --no-startup-id reboot, mode "default" bindsym r exec --no-startup-id reboot, mode "default"
bindsym s exec --no-startup-id systemctl poweroff -i, mode "default" bindsym s exec --no-startup-id systemctl poweroff -i, mode "default"
bindsym e exec swaymsg exit, mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
bindsym Return mode "default" bindsym Return mode "default"
} }

View file

@ -0,0 +1,2 @@
exec 'sleep 2; nextcloud'
exec slack --ozone-platform-hint=auto

View file

@ -0,0 +1 @@
for_window [app_id="lxqt-policykit-agent"] floating enable

4
.config/swaylock/config Normal file
View file

@ -0,0 +1,4 @@
font=Sans
indicator-radius=240
indicator-thicknes=10

View file

@ -44,3 +44,24 @@ do
fi fi
ln -sv $file $dest ln -sv $file $dest
done done
files=($(find "$REPO_DIR/.config" -maxdepth 1 -type f))
for file in ${files[@]}
do
base=$(basename -- "$file")
dest="$HOME/.config/$base"
if [ -L "$dest" ];then
if [ ! -e "$dest" ];then
echo "Remove broken link: $dest"
rm "$dest$"
else
echo "Already installed: $dest"
continue
fi
elif [ -e "$dest" ]; then
echo "Already exists: $dest"
echo "Backing up..."
mv "$dest" "$BACKUP_DIR/"
fi
ln -sv "$file" "$dest"
done

View file

@ -1,3 +1,3 @@
#!/usr/bin/bash #!/usr/bin/bash
grep -v "^#" pkglist.txt | sudo pacman -S --needed - grep -v "^#" pkglist | sudo pacman -S --needed -

65
pkglist Normal file
View file

@ -0,0 +1,65 @@
# vim: set ft=ini
sway
swayidle
swaylock
waybar
neovim
python-neovim
zsh
# notification daemon
mako
# required for mozilla to send notifications
libnotify
nextcloud-client
flatpak
# we want to run qt apps under wayland
qt5-wayland
qt6-wayland
# things needed for neovim
ripgrep
unzip
wget
tar
gzip
python-pip
nodejs
npm
fd
# screen sharing
xdg-desktop-portal
xdg-desktop-portal-wlr
# screenshots
slurp
grim
# clipboard. generally needed
wl-clipboard
# required for sway
polkit
# for graphical authentication
lxqt-policykit
# my favourite system font
noto-fonts
noto-fonts-emoji
ttf-fira-code
# required for waybar symbols
ttf-font-awesome
# create gnome keyring
seahorse
htop
keepassxc
# xwayland for x apps
xorg-xwayland
# daemon for disk control
udisks2

View file

@ -1,35 +0,0 @@
# vim: set ft=ini
sway
waybar
neovim
python-neovim
zsh
# things needed for neovim
ripgrep
unzip
wget
tar
gzip
python-pip
nodejs
fd
# screen sharing
xdg-desktop-portal
xdg-desktop-portal-wlr
# screenshots
slurp
grim
# clipboard. generally needed
wl-clipboard
# required for sway
polkit
# my favourite system font
noto-fonts
noto-fonts-emoji
ttf-fira-code

5
pkglist_aur Normal file
View file

@ -0,0 +1,5 @@
# vim: set ft=ini
ranger-git
# needs to be started with slack --ozone-platform-hint=auto
slack-desktop-wayland
logseq-desktop-bin

View file

@ -1 +0,0 @@
ranger-git