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
# Shell is non-interactive. Be done now!
return
fi
source $HOME/.profile

View file

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

View file

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

View file

@ -46,7 +46,7 @@ require 'nvim-treesitter.configs'.setup {
local parser_config = require'nvim-treesitter.parsers'.get_parser_configs()
parser_config.dfraw = {
install_info = {
url = 'https://code.criminallycute.fi/siina/tree-sitter-dfraw',
url = 'https://code.criminallycute.fi/mirrors/tree-sitter-dfraw',
files = { 'src/parser.c' },
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 HDMI-A-1 resolution 1920x1080@72.038hz pos 1920 0 transform 90
input type:keyboard xkb_numlock enabled
font pango:JetbrainsMono Normal 9
# Colours based on Catppuccino Macchiato Lavendar
# Colours based on Catppuccino Frappe Lavender
bar {
position top
status_command while ~/.config/sway/status.sh; do sleep 1; done
colors {
statusline #cad3f5
background #1e2030
active_workspace #494d64 #1e2030 #cad3f5
focused_background #24273a
focused_workspace #5b6078 #24273a #cad3f5
inactive_workspace #1e2030 #1e2030 #5b6078
position top
status_command while ~/.config/sway/status.sh; do sleep 1; done
colors {
# bar text
statusline #c6d0f5
# bar background on all displays
background #292c3c
# focused bar on current display
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 {
# icon_theme $icon
# icon_theme $icon
# }
}
output * bg #313244 solid_color
client.focused #5b6078 #24273a #cad3f5 #5b6078
client.focused_inactive #494d64 #1e2030 #cad3f5
client.unfocused #494d64 #1e2030 #5b6078
@ -34,6 +35,7 @@ client.unfocused #494d64 #1e2030 #5b6078
include /etc/sway/config.d/*
include /home/siina/.config/sway/config.d/*
exec gentoo-pipewire-launcher &
# Screencast fix
exec --no-startup-id dbus-update-activation-environment --all
# Enable agent storage for things like nextcloud-client

View file

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

View file

@ -1,11 +1,2 @@
for_window [class="^Steam$" title="^Friends$"] 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
for_window [title="Steam Settings"] 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
seat seat0 xcursor_theme $cursor
exec_always {
gsettings set $gnome-schema cursor-theme $cursor
gsettings set $gnome-schema font-name $font
gsettings set $gnome-schema gtk-theme $gtktheme
gsettings set $gnome-schema icon-theme $icon
export GTK_THEME="$font"
gsettings set $gnome-schema cursor-theme $cursor
gsettings set $gnome-schema font-name $font
gsettings set $gnome-schema gtk-theme $gtktheme
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'
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
#set $bgdir '$HOME/Pictures/Wallpaper'
#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

10
profile
View file

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