add currently running config

This commit is contained in:
Alex Kelly 2024-03-01 16:29:45 -05:00
parent 526661b4a6
commit 210d2c269f
7 changed files with 135 additions and 36 deletions

View file

@ -1,8 +1,6 @@
# Things that will get started automatically at startup
exec /home/kellya/bin/sway_screenshare.sh
# greenclip for clipboard management
exec greenclip daemon
exec_always cat /proc/acpi/button/lid/LID/state | awk '{print $2}' | grep -q 'closed' && swaymsg output eDP-1 disable
exec copyq --start-server
exec export YDOTOOL_SOCKET=/tmp/.ydotool_socket
@ -19,39 +17,29 @@ exec nm-applet
#exec xss-lock -n /usr/libexec/xsecurelock/dimmer -l -- xsecurelock
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -c 04090e --nofork
# Load workspace configs
#exec --no-startup-id "i3-msg 'workspace $ws1; append_layout ~/.config/i3/layout/w1.json'"
#exec --no-startup-id "i3-msg 'workspace $ws2; append_layout ~/.config/i3/layout/w2.json'"
#exec --no-startup-id "i3-msg 'workspace $ws3; append_layout ~/.config/i3/layout/w3.json'"
#exec --no-startup-id "i3-msg 'workspace $ws4; append_layout ~/.config/i3/layout/w4.json'"
#exec --no-startup-id "i3-msg 'workspace $ws5; append_layout ~/.config/i3/layout/w5.json'"
#exec --no-startup-id "i3-msg 'workspace $ws6; append_layout ~/.config/i3/layout/w6.json'"
# disable the urgency flags on all windows at startup
exec ~/bin/disable_startup_urgency.sh
# use gnome settings to set gnome things to dark mode by default
exec /usr/libexec/gsd-xsettings
# Startup logseq
workspace $ws6
exec /home/kellya/bin/logseq
exec /usr/bin/thunderbird
exec /home/kellya/bin/logseq
workspace $ws5
# Start spotify from the stupid flatpak
workspace $ws5
exec "/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client"
workspace $ws3
exec "kitty"
exec "/usr/bin/1password"
exec kitty
exec 1password
workspace $ws2
exec /opt/teams-for-linux/teams-for-linux
# Always need firefox, so let's just start it
workspace $ws1
exec firefox
exec firefox
# start the auto run .desktop files
exec dex-autostart --autostart --environment i3
exec dex-autostart --autostart --environment sway
# Start redshift, becuase I like not being blinded at night
#exec --no-startup-id redshift
@ -59,3 +47,5 @@ exec dex-autostart --autostart --environment i3
# Switch to the terminal/email workspace by default
workspace $ws3
exec /home/kellya/bin/bg_rotate_sway.sh
exec ~/.local/bin/solaar -w hide -b symbolic

11
conf.d/input.conf Normal file
View file

@ -0,0 +1,11 @@
input 1739:52744:SYNA30B3:00_06CB:CE08 {
tap enabled
natural_scroll disabled
dwt enabled
accel_profile "adaptive"
pointer_accel 0.5 # set mouse sensitivity (between -1 and 1)
}
input 1118:64:Microsoft_Microsoft_3-Button_Mouse_with_IntelliEye(TM) {
accel_profile "adaptive"
pointer_accel 0.5 # set mouse sensitivity (between -1 and 1)
}

View file

@ -23,7 +23,8 @@ bindsym XF86AudioPrev exec "~/bin/mediakeys.sh previous";
bindsym XF86AudioNext exec "~/bin/mediakeys.sh next";
# display clipboard contents via rofi
bindsym Control+$alt+h exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
#bindsym Control+$alt+h exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
bindsym Control+$alt+h exec ~/.local/bin/rofi-copyq
# kill active window
bindsym $mod+q kill
@ -32,7 +33,10 @@ bindsym $mod+Shift+c reload
# restart i3
bindsym $mod+Shift+r restart
# quit i3
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
bindsym $mod+Shift+e exec "wlogout"
bindsym Control+Alt+Backspace exec "wlogout"
bindsym Control+Alt+Delete exec "wlogout"
bindsym $mod+b bar mode hide
bindsym $mod+Shift+b bar mode dock
@ -94,6 +98,10 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
# Move workspace to monitor
bindsym $mod+Ctrl+greater move workspace to output right
bindsym $mod+Ctrl+less move workspace to output left
#
# scratchpad
bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show

View file

@ -7,4 +7,5 @@ bindsym Shift+Print exec --no-startup-id maim --select "/home/$USER/Pictures/Scr
## Clipboard Screenshots
bindsym Ctrl+Print exec --no-startup-id maim | xclip -selection clipboard -t image/png
bindsym Ctrl+$mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) | xclip -selection clipboard -t image/png
bindsym Ctrl+Shift+Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png
bindsym Ctrl+Shift+Print exec grim -g "$(slurp -d)" - | wl-copy -t image/png
#bindsym Ctrl+Shift+Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png

View file

@ -0,0 +1,88 @@
# because wayland is sucky, here is a matching list of nerdfont icons for title bar rewriting.
# Thanks, I hate it.
for_window [app_id=^Alacritty$|^foot$|^footclient$|^kitty$|-terminal$] title_format "­<span size='100%' font-weight='bold'> </span>%title"
for_window [app_id=^avahi-discover$|^bssh$|^bvnc$] title_format "­<span size='100%' font-weight='bold'> </span>%title"
for_window [app_id=^assistant$|^designer$|^linguist$|^qdbusviewer$] title_format "­<span size='133%' font-weight='normal'>󰜬 </span>%title"
for_window [app_id=^audacity$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [app_id=^blender$] title_format "­<span size='133%' font-weight='normal'>󰂫 </span>%title"
for_window [app_id=^com.github.hluk.copyq$] title_format "­<span size='110%' font-weight='bold'> </span>%title"
for_window [app_id=^com.usebottles.Bottles$] title_format "­<span size='110%' font-weight='bold'> </span>%title"
for_window [app_id=^com.github.tchx84.Flatseal$] title_format "­<span size='133%' font-weight='normal'>󱛟 </span>%title"
for_window [app_id=^com.obsproject.Studio$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^corectrl$|^radeon-profile$] title_format "­<span size='120%' font-weight='normal'>󰙪 </span>%title"
for_window [app_id=^de.shorsh.discord-screenaudio$] title_format "­<span size='120%' font-weight='normal'>󰙯 </span>%title"
for_window [app_id=^deluge$] title_format "­<span size='133%' font-weight='normal'> </span>%title"
for_window [app_id=^discord$|^webcord$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^dolphin$|^nemo$|^org.gnome.Nautilus$|^pcmanfm$|^pcmanfm-qt$|^thunar$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [app_id=^dconf-editor$|^qt5ct$|^qt6ct$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^eog$|^eom$|^feh$|^ristretto$|^xviewer$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^epiphany$|^org.qutebrowser.qutebrowser$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [app_id=^file-roller$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^firefox$|^librewolf$|^firedragon$] title_format "­<span size='120%' font-weight='normal' rise='-1pt'> </span>%title"
for_window [app_id=^galculator$|^gnome-calculator$|^mate-calc$|^org.kde.kalk$|^org.kde.kcalc$|^qalculate-gtk$] title_format "­<span size='120%' font-weight='normal'>󰃬 </span>%title"
for_window [app_id=^gimp-] title_format "­<span size='150%' font-weight='normal'> </span>%title"
for_window [app_id=^gnome-boxes$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^gnome-mines$] title_format "­<span size='120%' font-weight='normal'>󰈿 </span>%title"
for_window [app_id=^gnome-tetravex$] title_format "­<span size='120%' font-weight='normal'>󰐱 </span>%title"
for_window [app_id=^gtk3-|^org.gtk.] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^heroic$] title_format "­<span size='133%' font-weight='normal'>󱢾 </span>%title"
for_window [app_id=^io.github.celluloid_player.Celluloid$] title_format "­<span size='133%' font-weight='normal'>󰈰 </span>%title"
for_window [app_id=^kdiskmark$] title_format "­<span size='133%' font-weight='normal'>󰓅 </span>%title"
for_window [app_id=^kvantummanager$|^lxappearance$|^nwg-look$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^libreoffice-startcenter$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^libreoffice-base$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^libreoffice-calc$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [app_id=^libreoffice-draw$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^libreoffice-impress$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [app_id=^libreoffice-math$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^libreoffice-writer$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^lutris$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^mpv$] title_format "­<span size='110%' font-weight='normal' rise='-1pt'> </span>%title"
for_window [app_id=^org.gnome.Chess$] title_format "­<span size='120%' font-weight='normal'>󰡘 </span>%title"
for_window [app_id=^org.inkscape.Inkscape$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^org.kde.kdeconnect.] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [app_id=^org.kde.kdenlive$] title_format "­<span size='133%' font-weight='normal'> </span>%title"
for_window [app_id=^org.libretro.RetroArch$] title_format "­<span size='133%' font-weight='normal'>󰯉 </span>%title"
for_window [app_id=^org.pipewire.Helvum$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^org.qbittorrent.qBittorrent$|transmission] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^pitivi$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^pavucontrol] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^quadrapassel$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [app_id=^rhythmbox$] title_format "­<span size='120%' font-weight='normal'>󰓃 </span>%title"
for_window [app_id=^soundux$] title_format "­<span size='120%' font-weight='normal'>󰇥 </span>%title"
for_window [app_id=^virt-manager$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [app_id=^vlc$] title_format "­<span size='110%' font-weight='normal'>󰕼 </span>%title"
for_window [app_id=^zenity$] title_format "­<span size='110%' font-weight='normal' rise='-1pt'> </span>%title"
for_window [class=^Ardour$] title_format "­<span size='120%' font-weight='normal'>󰔶 </span>%title"
for_window [class=^Audacity$|^lmms] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [class=^Brave-browser$|^Vivaldi-stable$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [class=^Caja$|^Pcmanfm$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [class=^Chromium$|^Chromium-browser$|^Google-chrome$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [class=^qBittorrent$|^transmission$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^Discord$|^WebCord$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [class=^dolphin-emu$] title_format "­<span size='120%' font-weight='normal'>󱢴 </span>%title"
for_window [class=^firefox$|^librewolf$|^firedragon$] title_format "­<span size='120%' font-weight='normal' rise='-1pt'> </span>%title"
for_window [class=^Gimp-] title_format "­<span size='150%' font-weight='normal'> </span>%titlea"
for_window [class=^Godot$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^heroic$] title_format "­<span size='133%' font-weight='normal'>󱢾 </span>%title"
for_window [class=^krita$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^Lxappearance$] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [class=^LBRY$] title_format "­<span size='133%' font-weight='normal'> </span>%title"
for_window [class=^Microsoft-edge$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [class=^obs$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^pcsx2-qt$|^rpcs3$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [class=^qalculate-qt$] title_format "­<span size='120%' font-weight='normal'>󰃬 </span>%title"
for_window [class=^qpwgraph$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^REAPER$] title_format "­<span size='120%' font-weight='normal'>󰋅 </span>%title"
for_window [class=^Renoise$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^Shotcut$] title_format "­<span size='133%' font-weight='normal'>󰏡 </span>%title"
for_window [class=^Signal$] title_format "­<span size='110%' font-weight='normal'> </span>%title"
for_window [class=^steam$] title_format "­<span size='133%' font-weight='normal' rise='-1pt'> </span>%title"
for_window [class=^Timeshift-gtk$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^VirtualBox] title_format "­<span size='100%' font-weight='normal'> </span>%title"
for_window [class=^vlc$] title_format "­<span size='120%' font-weight='normal'>󰕼 </span>%title"
for_window [class=^Spotify$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^jetbrains-pycharm$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^Slack$] title_format "­<span size='120%' font-weight='normal'> </span>%title"
for_window [class=^teams-for-linux$] title_format "­<span size='120%' font-weight='normal'> </span>%title"

View file

@ -1,16 +1,17 @@
# specify window display rules
for_window [app_id=".*"] title_window_icon on
for_window [class=".*"] title_window_icon on
for_window [class=".*"] title_window_icon padding 1px
for_window [urgent="latest" app_id="firefox" workspace=$ws1] focus ; workspace number $ws1
for_window [class="Slack"] workspace number $ws2
for_window [class="teams-for-linux"] workspace number $ws2
for_window [class="kitty"] workspace number $ws3
for_window [class="jetbrains-pycharm"] workspace number $ws4
for_window [class="spotify"] workspace number $ws5
for_window [class="logseq"] workspace number $ws6
for_window [class="thunderbird"] workspace number $ws6
for_window [class="Joplin"] workspace number $ws6
for_window [urgent=latest] focus
for_window [app_id="firefox"] border pixel 0
for_window [app_id="org.gnome.Calculator"] floating enable
assign [class="Spotify"] workspace number $ws5
assign [instance="spotify"] workspace number $ws5
assign [class="teams-for-linux"] workspace number $ws2
assign [class="Microsoft-edge" title="Microsoft Teams.*"] workspace number $ws2
assign [instance="logseq"] workspace number $ws6
assign [class="jetbrains-pycharm"] workspace number $ws4
assign [class="Slack"] workspace number $ws2
assign [class="thunderbird"] workspace number $ws6
assign [class="Joplin"] workspace number $ws6

8
config
View file

@ -9,7 +9,7 @@ set $alt Mod1
font pango:Noto Sans 9
hide_edge_borders smart
set $refresh_i3status killall -SIGUSR1 i3status
#set $refresh_i3status killall -SIGUSR1 i3status
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@ -27,10 +27,10 @@ exec swayidle -w \
before-sleep '/home/kellya/.config/sway/scripts/lock.sh'
# Include the initial exec commands
include autostart.conf
include workspaces.conf
# Pull the rest of config from .conf files in conf.d
include conf.d/*.conf
include autostart.conf
focus_on_window_activation focus