Compare commits

..

10 Commits

4 changed files with 22 additions and 10 deletions

View File

@ -35,6 +35,8 @@ set -U -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
set -x GPG_TTY (tty) set -x GPG_TTY (tty)
gpg-connect-agent updatestartuptty /bye >/dev/null gpg-connect-agent updatestartuptty /bye >/dev/null
direnv hook fish | source
if test $TERM != "screen-256color" if test $TERM != "screen-256color"
tmux attach-session -t $USER || tmux new-session -s $USER tmux attach-session -t $USER || tmux new-session -s $USER
end end

View File

@ -0,0 +1,2 @@
[colors]
background=073642ff

View File

@ -1,6 +1,6 @@
profile { profile {
output eDP-1 enable scale 2 position 0,0 output eDP-1 enable scale 2 position 1920,0
output "BNQ BenQ SW271 G1L02061SL0" mode 3840x2160@60Hz enable scale 2 position 1920,0 output "BNQ BenQ SW271 G1L02061SL0" mode 3840x2160@60Hz enable scale 2 position 0,0
} }
profile { profile {

View File

@ -19,12 +19,13 @@ set $term kitty
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
set $menu dmenu_path | bemenu | xargs swaymsg exec -- #set $menu dmenu_path | bemenu | xargs swaymsg exec --
set $menu fuzzel
### Output configuration ### Output configuration
# #
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg ~/.config/sway/wallpaper.jpg fill output "*" bg ~/.config/sway/wallpaper.jpg fill
# #
# Example configuration: # Example configuration:
@ -37,10 +38,10 @@ output * bg ~/.config/sway/wallpaper.jpg fill
# #
# Example configuration: # Example configuration:
# #
exec swayidle -w \ #exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \ # timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ # timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000' # before-sleep 'swaylock -f -c 000000'
# This will lock your screen after 300 seconds of inactivity, then turn off # This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when # your displays after another 300 seconds, and turn your screens back on when
@ -56,11 +57,14 @@ input type:keyboard {
### Key bindings ### Key bindings
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
bindsym $mod+Shift+b exec firefox bindsym $mod+Shift+b exec firefox
bindsym $mod+Shift+f exec GTK_THEME=Nordic nautilus
bindsym $mod+Shift+m exec MOZ_ENABLE_WAYLAND=1 thunderbird bindsym $mod+Shift+m exec MOZ_ENABLE_WAYLAND=1 thunderbird
bindsym $mod+Shift+s exec shutdown -P now bindsym $mod+Shift+s exec shutdown -P now
bindsym $mod+Shift+r exec systemctl suspend bindsym $mod+Shift+a exec systemctl suspend
bindsym $mod+Shift+i exec swaylock -f -c 000000 bindsym $mod+Shift+i exec swaylock -f -c 000000
bindsym $mod+Shift+o exec obsidian --ozone-platform=wayland --enable-features=UseOzonePlatform bindsym $mod+Shift+o exec obsidian --ozone-platform=wayland --enable-features=UseOzonePlatform
bindsym $mod+Shift+r exec zathura ~/documents/books/$(ls -1 ~/documents/books | fuzzel -d)
# Kill focused window # Kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
@ -206,7 +210,7 @@ smart_gaps on
smart_borders on smart_borders on
gaps inner 10 gaps inner 10
gaps outer -10 gaps outer -10
#xwayland disable xwayland disable
# #
@ -238,3 +242,7 @@ exec_always mako --default-timeout=5000 &
exec_always nm-applet --indicator & exec_always nm-applet --indicator &
exec_always kdeconnect-indicator & exec_always kdeconnect-indicator &
#exec_always syncthing serve --no-browser & #exec_always syncthing serve --no-browser &
exec --no-startup-id /nix/store/$(ls -la /nix/store/ | awk '/polkit-gnome/ && $5 == "4096" {print $9; exit}')/libexec/polkit-gnome-authentication-agent-1 &
exec_always dbus-update-activation-environment --all &
exec_always blueman-applet &