Compare commits

..

4 Commits

Author SHA1 Message Date
a084750335 Redirect find errors to /dev/null 2023-06-05 01:46:30 +01:00
b19ab6990b Add vimtex 2023-06-05 01:44:48 +01:00
570189f87c Add window title for alacritty. 2023-06-05 01:39:37 +01:00
9e5180ceec Update sway config 2023-06-05 01:29:47 +01:00
4 changed files with 15 additions and 9 deletions

View File

@ -7,8 +7,8 @@
import:
- ~/.config/alacritty/themes/gruvbox_dark.yaml
#window:
# opacity: 0.9
#window:
# opacity: 0.9
font:
normal:
@ -28,3 +28,6 @@ font:
style: Bold Italic
size: 11.0
window:
title: Terminal

View File

@ -43,4 +43,6 @@ return require('packer').startup(function(use)
{'L3MON4D3/LuaSnip'}, -- Required
}
}
use 'lervag/vimtex'
end)

View File

@ -7,7 +7,7 @@
# directory.
goto()
{
path=$(find $1 | fzf)
path=$(find $1 2> /dev/null | fzf)
[ -f "$path" ] && path=$(dirname "$path")
cd "$path"
}
@ -15,7 +15,7 @@ goto()
# Quickly find and edit a file within ~/.config or ~/Documents
cfg()
{
file=$(find $HOME/.config $HOME/Documents -type f | fzf)
file=$(find $HOME/.config $HOME/Documents -type f 2> /dev/null | fzf)
[ -z "$file" ] && return
$EDITOR "$file"
}
@ -24,7 +24,7 @@ cfg()
# session there with the name of the directory.
ts()
{
dir=$(find -L $HOME/.config $HOME/Documents -type d | fzf)
dir=$(find -L $HOME/.config $HOME/Documents -type d 2> /dev/null | fzf)
[ -z "$dir" ] && return
tmux new -s $(basename "$dir") -c "$dir"
}

View File

@ -294,10 +294,10 @@ bindsym $mod+g mode "gaming"
font pango:$font
titlebar_padding 3
bar {
position top
position bottom
#gaps 20 900
#mode hide
mode hide
output $mon1
# When the status_command prints a new line to stdout, swaybar updates.
@ -338,12 +338,13 @@ smart_gaps inverse_outer
gaps inner 2
default_border pixel 3
smart_borders on
#
# Startup programs:
#
exec wayland-run-on-new-display set-correct-monitor 1920+0
exec gentoo-pipewire-launcher &> $HOME/.config/pipewire/pipewire.log
exec gentoo-pipewire-launcher restart &> $HOME/.config/pipewire/pipewire.log
exec dunst
exec wlsunset -l 55.0 -L -1.6
@ -372,7 +373,7 @@ for_window [class="^.*"] inhibit_idle fullscreen
for_window [class="WebCord"] inhibit_idle focus
for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle focus
# Floating windows
for_window [title="^Firefox — Sharing Indicator$"] floating enable, move position 50ppt 0px;
for_window [title="^Firefox — Sharing Indicator$"] floating enable, move position 50ppt 0px, move container to workspace trash;
for_window [class="^Steam$"] floating enable
for_window [class="^steamwebhelper$"] floating enable
for_window [class="^Steam$" title="^Steam$"] floating disable