Compare commits

..

2 commits

Author SHA1 Message Date
e7c6a8ad41 update 2023-10-16 09:14:26 +02:00
2d95a09b9b migrated pkglist to wayland 2023-10-14 17:04:33 +02:00
12 changed files with 118 additions and 32 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,6 +1,4 @@
if [ "$(tty)" = "/dev/tty1" ] if [ "$(tty)" = "/dev/tty1" ]
then
if [ "$(cat /etc/hostname)" = "archXPS15" ]
then then
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
export XDG_SESSION_TYPE=wayland export XDG_SESSION_TYPE=wayland
@ -8,4 +6,3 @@ then
export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORM=wayland
exec sway exec sway
fi fi
fi

3
install_pacman Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/bash
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,22 +0,0 @@
picom
nitrogen
i3-wm
i3lock
polybar
xautolock
i3status
dunst
sxhkd
dex
network-manager-applet
xautolock
polkit-kde-agent
acpi
arandr
autorandr
redshift
ripgrep
# provider for clipboard in nvim
xsel
# for locking the screen with loginctl
xss-lock

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,2 +0,0 @@
i3lock-fancy-git
ranger-git