Compare commits
2 commits
292710ca88
...
e7c6a8ad41
| Author | SHA1 | Date | |
|---|---|---|---|
| e7c6a8ad41 | |||
| 2d95a09b9b |
12 changed files with 118 additions and 32 deletions
2
.config/logseq-flags.conf
Normal file
2
.config/logseq-flags.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
--enable-features=UseOzonePlatform,WaylandWindowDecorations
|
||||
--ozone-platform=wayland
|
||||
|
|
@ -3,10 +3,18 @@ set $term kitty
|
|||
set $menu kickoff
|
||||
set $lock swaylock
|
||||
|
||||
include ~/.config/sway/config.d/*
|
||||
|
||||
# scale internal display
|
||||
output eDP-1 scale 1.5
|
||||
output * scale 1.25
|
||||
|
||||
# notification daemon
|
||||
exec mako
|
||||
|
||||
# polkit
|
||||
exec /usr/bin/lxqt-policykit-agent
|
||||
|
||||
focus_follows_mouse no
|
||||
|
||||
default_border pixel 2
|
||||
|
|
@ -14,6 +22,7 @@ default_floating_border pixel 2
|
|||
gaps inner 10
|
||||
gaps outer 5
|
||||
|
||||
# enable gnome keyring
|
||||
exec dbus-update-activation-environment --all
|
||||
exec eval $(gnome-keyring-daemon --start)
|
||||
exec export SSH_AUTH_SOCK
|
||||
|
|
@ -39,6 +48,7 @@ mode "$mode_exit" {
|
|||
bindsym o exec --no-startup-id i3-msg exit, mode "default"
|
||||
bindsym r exec --no-startup-id reboot, 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 Return mode "default"
|
||||
}
|
||||
|
|
|
|||
2
.config/sway/config.d/autostart.conf
Normal file
2
.config/sway/config.d/autostart.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
exec 'sleep 2; nextcloud'
|
||||
exec slack --ozone-platform-hint=auto
|
||||
1
.config/sway/config.d/windows.conf
Normal file
1
.config/sway/config.d/windows.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
for_window [app_id="lxqt-policykit-agent"] floating enable
|
||||
4
.config/swaylock/config
Normal file
4
.config/swaylock/config
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
font=Sans
|
||||
indicator-radius=240
|
||||
indicator-thicknes=10
|
||||
|
||||
|
|
@ -44,3 +44,24 @@ do
|
|||
fi
|
||||
ln -sv $file $dest
|
||||
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
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
if [ "$(tty)" = "/dev/tty1" ]
|
||||
then
|
||||
if [ "$(cat /etc/hostname)" = "archXPS15" ]
|
||||
then
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export XDG_SESSION_TYPE=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
exec sway
|
||||
fi
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export XDG_SESSION_TYPE=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
exec sway
|
||||
fi
|
||||
|
|
|
|||
3
install_pacman
Executable file
3
install_pacman
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
grep -v "^#" pkglist | sudo pacman -S --needed -
|
||||
65
pkglist
Normal file
65
pkglist
Normal 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
|
||||
22
pkglist.txt
22
pkglist.txt
|
|
@ -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
5
pkglist_aur
Normal 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
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
i3lock-fancy-git
|
||||
ranger-git
|
||||
Loading…
Reference in a new issue