Updating sawyful things

This commit is contained in:
Siina Mashek 2024-04-01 07:27:41 +03:00
parent fed37cff65
commit e9e1ba93e9
10 changed files with 67 additions and 49 deletions

2
bashrc
View File

@ -1,6 +1,6 @@
source $HOME/.profile
if [[ $- != *i* ]] ; then if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now! # Shell is non-interactive. Be done now!
return return
fi fi
source $HOME/.profile

View File

@ -1,11 +1,15 @@
enable_audio_bell no enable_audio_bell no
font_size 10 font_size 11
font_family JetBrains Mono Thin font_family Iosevka Slab Extended
bold_font JetBrains Mono bold_font auto
italic_font JetBrains Mono italic_font auto
bold_italic_font JetBrains Mono bold_italic_font auto
cursor_shape underline cursor_shape underline
window_padding_width 4
#modify_font cell_width 110%
scrollback_lines 10000 scrollback_lines 10000
scrollback_pager_history_size 20000 scrollback_pager_history_size 20000

View File

@ -10,8 +10,7 @@
# The basic colors # The basic colors
foreground #C6D0F5 foreground #C6D0F5
#background #303446 background #303446
background #1E2030
selection_foreground #303446 selection_foreground #303446
selection_background #F2D5CF selection_background #F2D5CF

View File

@ -46,7 +46,7 @@ require 'nvim-treesitter.configs'.setup {
local parser_config = require'nvim-treesitter.parsers'.get_parser_configs() local parser_config = require'nvim-treesitter.parsers'.get_parser_configs()
parser_config.dfraw = { parser_config.dfraw = {
install_info = { install_info = {
url = 'https://code.criminallycute.fi/siina/tree-sitter-dfraw', url = 'https://code.criminallycute.fi/mirrors/tree-sitter-dfraw',
files = { 'src/parser.c' }, files = { 'src/parser.c' },
branch = 'main' branch = 'main'
}, },

View File

@ -1,32 +1,33 @@
set $icon 'Nordzy'
set $cursor 'Numix-Cursor'
set $gtktheme 'Catppuccin-Macchiato-Standard-Lavender-Dark'
set $font 'Noto Sans 10'
output DP-3 resolution 1920x1080@143.855hz pos 0 540 output DP-3 resolution 1920x1080@143.855hz pos 0 540
output HDMI-A-1 resolution 1920x1080@72.038hz pos 1920 0 transform 90 output HDMI-A-1 resolution 1920x1080@72.038hz pos 1920 0 transform 90
input type:keyboard xkb_numlock enabled input type:keyboard xkb_numlock enabled
font pango:JetbrainsMono Normal 9 # Colours based on Catppuccino Frappe Lavender
# Colours based on Catppuccino Macchiato Lavendar
bar { bar {
position top position top
status_command while ~/.config/sway/status.sh; do sleep 1; done status_command while ~/.config/sway/status.sh; do sleep 1; done
colors { colors {
statusline #cad3f5 # bar text
background #1e2030 statusline #c6d0f5
active_workspace #494d64 #1e2030 #cad3f5 # bar background on all displays
focused_background #24273a background #292c3c
focused_workspace #5b6078 #24273a #cad3f5 # focused bar on current display
inactive_workspace #1e2030 #1e2030 #5b6078 focused_background #292c3c
# active workspace on each display
active_workspace #c6d0f5 #303446 #c6d0f5
# focused workspace on current display
focused_workspace #c6d0f5 #303446 #c6d0f5
# inactive workspace on each display
inactive_workspace #414559 #292c3c #838ba7
} }
# tray { # tray {
# icon_theme $icon # icon_theme $icon
# } # }
} }
output * bg #313244 solid_color
client.focused #5b6078 #24273a #cad3f5 #5b6078 client.focused #5b6078 #24273a #cad3f5 #5b6078
client.focused_inactive #494d64 #1e2030 #cad3f5 client.focused_inactive #494d64 #1e2030 #cad3f5
client.unfocused #494d64 #1e2030 #5b6078 client.unfocused #494d64 #1e2030 #5b6078
@ -34,6 +35,7 @@ client.unfocused #494d64 #1e2030 #5b6078
include /etc/sway/config.d/* include /etc/sway/config.d/*
include /home/siina/.config/sway/config.d/* include /home/siina/.config/sway/config.d/*
exec gentoo-pipewire-launcher &
# Screencast fix # Screencast fix
exec --no-startup-id dbus-update-activation-environment --all exec --no-startup-id dbus-update-activation-environment --all
# Enable agent storage for things like nextcloud-client # Enable agent storage for things like nextcloud-client

View File

@ -1,4 +1,5 @@
assign [title="Steam"] 2 assign [title="Steam"] 2
assign [title="Vivaldi"] Browser
assign [title="Discord"] 4 assign [title="Discord"] 4
assign [app_id="org.telegram.desktop"] 5 assign [app_id="org.telegram.desktop"] 5
assign [app_id="org.gajim.Gajim"] 5 assign [app_id="org.gajim.Gajim"] 5

View File

@ -1,11 +1,2 @@
for_window [class="^Steam$" title="^Friends$"] floating enable for_window [title="Steam Settings"] floating enable
for_window [class="^Steam$" title="Steam - News"] floating enable
for_window [class="^Steam$" title=".* - Chat"] floating enable
for_window [class="^Steam$" title="^Settings$"] floating enable
for_window [class="^Steam$" title=".* - event started"] floating enable
for_window [class="^Steam$" title=".* CD key"] floating enable
for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
for_window [title="^Steam Keyboard$"] floating enable

View File

@ -1,8 +1,29 @@
# removes window titles
default_border pixel 0
# adds gaps around windows
gaps inner 10
# swayfx things
blur enable
shadows enable
set $icon 'Zafiro-Icons-Dark'
set $cursor 'Catppuccin-Frappe-Lavender'
set $gtktheme 'Catppuccin-Frappe-Standard-Lavender-Dark'
set $bar_font 'Iosevka Etoile 10'
set $font 'Iosevka Aile 10'
#font pango:$font
font $bar_font
# Qt-based things are modified using `qt6ct` for now
set $gnome-schema org.gnome.desktop.interface set $gnome-schema org.gnome.desktop.interface
seat seat0 xcursor_theme $cursor seat seat0 xcursor_theme $cursor
exec_always { exec_always {
export GTK_THEME="$font"
gsettings set $gnome-schema cursor-theme $cursor gsettings set $gnome-schema cursor-theme $cursor
gsettings set $gnome-schema font-name $font gsettings set $gnome-schema font-name $font
gsettings set $gnome-schema gtk-theme $gtktheme gsettings set $gnome-schema gtk-theme $gtktheme
gsettings set $gnome-schema icon-theme $icon gsettings set $gnome-schema icon-theme $icon
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
} }

View File

@ -1,3 +1,3 @@
set $bgdir '$HOME/Pictures/Wallpaper' #set $bgdir '$HOME/Pictures/Wallpaper'
output HDMI-A-1 bg $bgdir/dark-night-river-forest-minimal-art.jpg fill #output HDMI-A-1 bg $bgdir/dark-night-river-forest-minimal-art.jpg fill
output DP-3 bg $bgdir/moose-in-the-night-hd.png fill #output DP-3 bg $bgdir/moose-in-the-night-hd.png fill

10
profile
View File

@ -9,10 +9,10 @@ if test -z "${XDG_RUNTIME_DIR}"; then
fi fi
# The city's finest exports! # The city's finest exports!
export GTK_THEME="Catppuccin-Macchiato-Standard-Lavender-Dark"
export QT_QPA_PLATFORM="wayland" export QT_QPA_PLATFORM="wayland"
export QT_QPA_PLATFORMTHEME="qt6ct" export QT_QPA_PLATFORMTHEME="qt5ct"
export XDG_CURRENT_DESKTOP=sway export XDG_CURRENT_DESKTOP=sway
export GTK_THEME="Catppuccin-Frappe-Standard-Lavender-Dark"
export GIT_EDITOR="nvim" export GIT_EDITOR="nvim"
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin:$PATH"
@ -20,17 +20,17 @@ export PATH="$HOME/.local/bin:$PATH"
export SCREENSHOT_DIR="$HOME/Screenshots" export SCREENSHOT_DIR="$HOME/Screenshots"
# Let's get some private environment vars # Let's get some private environment vars
source $HOME/.profile.private source $HOME/.config/private.env
# Let's keep $HOME clean # Let's keep $HOME clean
LESSHISTFILE=- export LESSHISTFILE=-
# Launch sway! # Launch sway!
if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
dbus-run-session sway dbus-run-session sway
fi fi
alias fastfetch="LANG=fi_FI.UTF8 fastfetch"
alias ccat="highlight -O ansi $@" alias ccat="highlight -O ansi $@"
alias ls="ls -h --color=auto" alias ls="ls -h --color=auto"
alias myip6="curl https://ifconfig.co" alias myip6="curl https://ifconfig.co"