latest
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
font_family 'JetBrainsMono NF'
|
font_family 'JetBrainsMono NF'
|
||||||
font_size 11
|
font_size 11
|
||||||
|
|
||||||
#text_composition_strategy legacy
|
text_composition_strategy legacy
|
||||||
modify_font cell_width 95%
|
modify_font cell_width 95%
|
||||||
|
|
||||||
cursor_trail 10
|
cursor_trail 10
|
||||||
@@ -10,3 +10,5 @@ shell_integration no-cursor
|
|||||||
cursor_trail_decay 0.01 0.15
|
cursor_trail_decay 0.01 0.15
|
||||||
cursor_shape block
|
cursor_shape block
|
||||||
cursor_blink true
|
cursor_blink true
|
||||||
|
|
||||||
|
include ~/.cache/wal/colors-kitty.conf
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
font 'JetBrainsMono NF' 10
|
font 'JetBrainsMono NF' 9
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
#set $mod Mod4
|
#set $mod Mod4
|
||||||
@@ -19,7 +19,8 @@ include /etc/sway/config-vars.d/*
|
|||||||
### Output configuration
|
### Output configuration
|
||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
#output * background ~/Downloads/jordan-duca-aOqEXM_zI_4-unsplash.jpg fill
|
#output * background ~/Downloads/jordan-duca-aOqEXM_zI_4-unsplash.jpg fill
|
||||||
output * scale 1.8
|
|
||||||
|
output * scale 1.8 bg #000000 solid_color
|
||||||
output $laptop scale 1.9 mode 2880x1800@60Hz
|
output $laptop scale 1.9 mode 2880x1800@60Hz
|
||||||
bindswitch --reload --locked lid:on output $laptop disable
|
bindswitch --reload --locked lid:on output $laptop disable
|
||||||
bindswitch --reload --locked lid:off output $laptop enable
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
@@ -160,6 +161,11 @@ mode "resize" {
|
|||||||
bindsym $up resize shrink height 10px
|
bindsym $up resize shrink height 10px
|
||||||
bindsym $left resize grow width 10px
|
bindsym $left resize grow width 10px
|
||||||
|
|
||||||
|
bindsym Shift+$right resize shrink width 40px
|
||||||
|
bindsym Shift+$down resize grow height 40px
|
||||||
|
bindsym Shift+$up resize shrink height 40px
|
||||||
|
bindsym Shift+$left resize grow width 40px
|
||||||
|
|
||||||
# Ditto, with arrow keys
|
# Ditto, with arrow keys
|
||||||
bindsym Left resize shrink width 10px
|
bindsym Left resize shrink width 10px
|
||||||
bindsym Down resize grow height 10px
|
bindsym Down resize grow height 10px
|
||||||
@@ -176,7 +182,7 @@ bindsym $mod+Shift+s sticky toggle
|
|||||||
bindsym $mod+Shift+o exec 'playerctl pause && swaylock -c 0x0000'
|
bindsym $mod+Shift+o exec 'playerctl pause && swaylock -c 0x0000'
|
||||||
|
|
||||||
# Status Bar:
|
# Status Bar:
|
||||||
#
|
|
||||||
# Read `man 5 sway-bar` for more information about this section.
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
@@ -226,30 +232,27 @@ bindgesture swipe:left workspace next
|
|||||||
exec dex -a
|
exec dex -a
|
||||||
exec powertop --auto-tune
|
exec powertop --auto-tune
|
||||||
exec swaync
|
exec swaync
|
||||||
|
exec sway-audio-idle-inhibit
|
||||||
|
exec wl-paste -t text --watch clipman store --no-persist
|
||||||
|
|
||||||
seat seat0 xcursor_theme Adwaita 25
|
seat seat0 xcursor_theme Adwaita 25
|
||||||
|
|
||||||
exec dbus-update-activation-environment WAYLAND_DISPLAY \
|
#exec dbus-update-activation-environment WAYLAND_DISPLAY \
|
||||||
DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK I3SOCK XCURSOR_SIZE XCURSOR_THEME
|
# DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK I3SOCK XCURSOR_SIZE XCURSOR_THEME
|
||||||
|
|
||||||
#ENV
|
|
||||||
exec export MOZ_ENABLE_WAYLAND=1
|
|
||||||
exec export WLR_DRM_NO_MODIFIERS=1
|
|
||||||
exec export QT_QPA_PLATFORM="wayland-egl;xcb"
|
|
||||||
exec export SDL_VIDEODRIVER=wayland
|
|
||||||
exec export XDG_SESSION_TYPE=wayland
|
|
||||||
exec wl-paste -t text --watch clipman store --no-persist
|
|
||||||
|
|
||||||
|
|
||||||
# Looks
|
# Looks
|
||||||
default_border pixel 2
|
#default_border pixel 2
|
||||||
default_floating_border pixel 2
|
#default_floating_border pixel 2
|
||||||
gaps inner 2
|
gaps inner 2
|
||||||
gaps outer 2
|
gaps outer 2
|
||||||
blur enable
|
blur enable
|
||||||
corner_radius 5
|
corner_radius 5
|
||||||
|
titlebar_border_thickness 0
|
||||||
|
titlebar_padding 0
|
||||||
|
|
||||||
client.focused #e28743 #e28743 #ffffff
|
#client.focused #e28743 #e28743 #ffffff
|
||||||
|
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|||||||
8
.config/sway/scripts/env.sh
Executable file
8
.config/sway/scripts/env.sh
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
export WLR_DRM_NO_MODIFIERS=1
|
||||||
|
export QT_QPA_PLATFORM="wayland-egl;xcb"
|
||||||
|
export SDL_VIDEODRIVER=wayland
|
||||||
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
@@ -37,7 +37,6 @@ bind-key -T copy-mode-vi 'C-l' select-pane -R
|
|||||||
bind-key -T copy-mode-vi 'C-\' select-pane -l
|
bind-key -T copy-mode-vi 'C-\' select-pane -l
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set -g renumber-windows on
|
set -g renumber-windows on
|
||||||
set-option -g allow-rename off
|
set-option -g allow-rename off
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user