Remove fonts, improvements to sway and tmux, open sway in tmux session
This commit is contained in:
@@ -85,9 +85,14 @@ input "1267:12734:ELAN06FA:00_04F3:31BE_Touchpad" {
|
|||||||
scroll_factor 0.8
|
scroll_factor 0.8
|
||||||
}
|
}
|
||||||
|
|
||||||
# Clipboard history
|
# Export important Wayland/Sway session variables to D-Bus and the systemd
|
||||||
exec wl-paste --type text --watch cliphist store
|
# user manager. This lets apps and user services launched outside the shell
|
||||||
exec wl-paste --type image --watch cliphist store
|
# know which Wayland display to use and that the current desktop is Sway.
|
||||||
|
# Helps with portals, screen sharing, notifications, and D-Bus activated apps.
|
||||||
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||||
|
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Key bindings
|
### Key bindings
|
||||||
#
|
#
|
||||||
@@ -216,7 +221,7 @@ mode "resize" {
|
|||||||
bindsym $right resize grow width 10px
|
bindsym $right resize grow width 10px
|
||||||
|
|
||||||
# Ditto, with arrow keys
|
# Ditto, with arrow keys
|
||||||
bindsym Left kesize shrink width 10px
|
bindsym Left resize shrink width 10px
|
||||||
bindsym Down resize grow height 10px
|
bindsym Down resize grow height 10px
|
||||||
bindsym Up resize shrink height 10px
|
bindsym Up resize shrink height 10px
|
||||||
bindsym Right resize grow width 10px
|
bindsym Right resize grow width 10px
|
||||||
|
|||||||
@@ -4,10 +4,13 @@
|
|||||||
set -g extended-keys on
|
set -g extended-keys on
|
||||||
set -g extended-keys-format csi-u
|
set -g extended-keys-format csi-u
|
||||||
|
|
||||||
# Index from 1
|
# Index windows/tabs and panes from 1 instead of 0.
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
setw -g pane-base-index 1
|
setw -g pane-base-index 1
|
||||||
|
|
||||||
|
# Automatically close gaps in window/tab numbers after a window is closed.
|
||||||
|
set -g renumber-windows on
|
||||||
|
|
||||||
# Use 256-colour tmux terminfo and advertise truecolour support to apps.
|
# Use 256-colour tmux terminfo and advertise truecolour support to apps.
|
||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
set -as terminal-features ",*:RGB"
|
set -as terminal-features ",*:RGB"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
.profile
2
.profile
@@ -33,6 +33,6 @@ fi
|
|||||||
|
|
||||||
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
|
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
|
||||||
export WLR_NO_HARDWARE_CURSORS=1
|
export WLR_NO_HARDWARE_CURSORS=1
|
||||||
exec sway --unsupported-gpu
|
exec tmux new-session -A -s debug sway --unsupported-gpu
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
# - [x] applications + bin folder
|
# - [x] applications + bin folder
|
||||||
# - [x] bookmarks
|
# - [x] bookmarks
|
||||||
#
|
#
|
||||||
|
# - [ ] Start sway in tmux session for debugging
|
||||||
|
#
|
||||||
# - [ ] Kakoune setup
|
# - [ ] Kakoune setup
|
||||||
# - [ ] Ideas for Chinese learning integration
|
# - [ ] Ideas for Chinese learning integration
|
||||||
#
|
#
|
||||||
@@ -46,7 +48,7 @@
|
|||||||
## Then do some nvidia configuration (set modeset=1, update ramfs, reboot)
|
## Then do some nvidia configuration (set modeset=1, update ramfs, reboot)
|
||||||
|
|
||||||
# # Standard enviroment setup
|
# # Standard enviroment setup
|
||||||
# sudo apt install -y xdg-desktop-portal-wlr xdg-desktop-portal-gtk xdg-user-dirs
|
# sudo apt install -y xdg-desktop-portal-wlr xdg-desktop-portal-gtk xdg-user-dirs fonts-jetbrains-mono
|
||||||
|
|
||||||
# # DE setup
|
# # DE setup
|
||||||
# sudo apt install -y sway swayidle swaybg swaylock foot wmenu brightnessctl xwayland wl-clipboard
|
# sudo apt install -y sway swayidle swaybg swaylock foot wmenu brightnessctl xwayland wl-clipboard
|
||||||
|
|||||||
3
setup.sh
3
setup.sh
@@ -7,9 +7,6 @@ ln -sf $SRC/.profile $HOME/.profile
|
|||||||
ln -sf $SRC/.config $HOME/.config
|
ln -sf $SRC/.config $HOME/.config
|
||||||
ln -sf $SRC/bin $HOME/bin
|
ln -sf $SRC/bin $HOME/bin
|
||||||
|
|
||||||
mkdir -p $HOME/.local/share/fonts
|
|
||||||
cp $SRC/.local/share/fonts/* $HOME/.local/share/fonts/.
|
|
||||||
|
|
||||||
# Install kakoune
|
# Install kakoune
|
||||||
wget https://github.com/mawww/kakoune/releases/download/v2026.05.21/kakoune-v2026.05.21-linux.tar.bz2
|
wget https://github.com/mawww/kakoune/releases/download/v2026.05.21/kakoune-v2026.05.21-linux.tar.bz2
|
||||||
unpack kakoune-v2026.05.21-linux.tar.bz2
|
unpack kakoune-v2026.05.21-linux.tar.bz2
|
||||||
|
|||||||
Reference in New Issue
Block a user