Compare commits

..

No commits in common. "5f468b232b6b3cd5fccb7c8c4a58598ff00760aa" and "9f07695bd8600114ef1962d9b6ae7cc350b99ebc" have entirely different histories.

6 changed files with 8 additions and 20 deletions

View File

@ -21,8 +21,6 @@ alias sbPlay='mpv "$file" --volume=70 --audio-device=pipewire/loopback &> /dev/n
alias sbLoop='while true; do sbPlay; sleep 0.5; done'
alias sbSpam='c=5; while [[ $c -gt 0 ]]; do sbPlay & sleep 0.15; echo $c; c=$((c-1)); done'
alias lglass='looking-glass-client audio:micDefault=allow input:rawMouse=yes egl:scale=2 -m KEY_RIGHTMETA'
#
# TUI
#

View File

@ -22,6 +22,6 @@ require'nvim-treesitter.configs'.setup {
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = true,
additional_vim_regex_highlighting = false,
},
}

View File

@ -1,15 +1,11 @@
vim.opt.number = true
vim.opt.relativenumber = true
vim.cmd.syntax("enable")
vim.opt.smartindent = true
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.linebreak = true
vim.opt.incsearch = true
vim.opt.ignorecase = true
vim.opt.smartcase = true
@ -21,9 +17,3 @@ vim.opt.scrolloff = 8
-- 'auto:1 sets signcolumn to hide if there is no warning/error etc.
-- 'no' disables signcolumn
vim.opt.signcolumn = 'no'
vim.api.nvim_create_autocmd('BufWritePre', {
pattern = { '*.tsx', '*.ts', '*.jsx', '*.js' },
command = 'silent! EslintFixAll',
group = vim.api.nvim_create_augroup('Eslint', {}),
})

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Times the screen off and puts it to background
swayidle \
timeout 10 'swaymsg "output * dpms off"' \
timeout 1 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"; set-primary-monitor' &
# Locks the screen immediately
swaylock -c 000000

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Get monitor offset using xrandr
monitor_offset="+1080"
monitor_offset="1920+0"
display=$(xrandr --listactivemonitors | grep "$monitor_offset" | head -n1 | cut -d' ' -f6)
if [ -n "$display" ]; then

View File

@ -7,7 +7,6 @@
# Environment
exec --no-startup-id dbus-update-activation-environment --all
#exec --no-startup-id dbus-update-activation-environment DISPLAY SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec /usr/libexec/xdg-desktop-portal-wlr -r
exec /usr/libexec/polkit-gnome-authentication-agent-1
exec_always ~/.config/scripts/sway/import-gsettings
@ -49,6 +48,8 @@ xwayland force
include monitor
#output $mon1 adaptive_sync on
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
@ -88,8 +89,6 @@ exec swayidle -w \
#
input 1133:50503:Logitech_USB_Receiver accel_profile flat
input 1133:16500:Logitech_G304 accel_profile flat
input 13652:62736:Compx_LAMZU_4K_Receiver accel_profile flat
input 13652:62735:compx_LAMZU_Atlantis_Pro accel_profile flat
input 1133:16521:Logitech_K580 {
xkb_layout us
xkb_variant colemak
@ -358,11 +357,13 @@ default_border pixel 3
#
exec gentoo-pipewire-launcher restart
exec dunst
exec wlsunset -l 22.3 -L 114.1
exec wlsunset -l 55.0 -L -1.6
exec $term
exec swaymsg "workspace 2:r; exec thunderbird"
exec swaymsg "workspace 2:r; exec firefox"
exec element-desktop
exec webcord
exec signal-desktop
exec swaymsg "workspace 1:a"
@ -397,7 +398,6 @@ for_window [class="^QjackCtl$"] floating enable
for_window [class="^QjackCtl$" title="Graph — QjackCtl"] floating disable
for_window [app_id="^app.drey.Dialect$"] floating enable
for_window [app_id="^io.crow_translate.CrowTranslate$"] floating enable
for_window [app_id="^org.gnome.Calculator$"] floating enable
# Move windows to trash workspace
for_window [title="^Origin$"] floating enable, move container to workspace trash;
for_window [title="^Wine System Tray$"] move container to workspace trash;