Compare commits

..

11 Commits

Author SHA1 Message Date
b566049d79 save 2026-06-23 20:15:26 -04:00
ab963f259c save 2026-06-20 14:02:31 -04:00
7fd38d3655 save 2026-06-20 14:02:14 -04:00
4a22f7fe20 save 2026-06-17 20:47:05 -04:00
41a878d79b save 2026-06-14 21:07:21 -04:00
28c67f22c3 save 2026-06-08 19:51:17 -04:00
2f7dd33f39 save 2026-06-06 20:51:49 -04:00
2061bc59f7 save 2026-06-06 17:35:38 -04:00
f6bf31d341 save 2026-06-06 07:10:56 -04:00
ae65809dd0 save 2026-06-04 21:34:27 -04:00
2d08190f84 save 2026-06-04 15:38:07 -04:00
40 changed files with 47709 additions and 123 deletions

View File

@@ -1,2 +0,0 @@
#!/bin/sh
flatpak run org.vinegarhq.Sober

1
gtk/.config/gtk-2.0/apps.rc Symbolic link
View File

@@ -0,0 +1 @@
/home/owen/.themes/Vague/gtk-2.0/apps.rc

View File

@@ -0,0 +1 @@
/home/owen/.themes/Vague/gtk-2.0/hacks.rc

1
gtk/.config/gtk-2.0/main.rc Symbolic link
View File

@@ -0,0 +1 @@
/home/owen/.themes/Vague/gtk-2.0/main.rc

View File

@@ -0,0 +1,6 @@
file:///home/owen/documents
file:///home/owen/dotfiles
file:///home/owen/downloads
file:///home/owen/media
file:///home/owen/programming
file:///home/owen/walls

1
gtk/.config/gtk-3.0/gtk.css Symbolic link
View File

@@ -0,0 +1 @@
/home/owen/.themes/Vague/gtk-3.0/gtk.css

View File

@@ -1,2 +0,0 @@
[Settings]
gtk-application-prefer-dark-theme=1

1
gtk/.config/gtk-4.0/gtk.css Symbolic link
View File

@@ -0,0 +1 @@
/home/owen/.themes/Vague/gtk-4.0/gtk.css

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
.Leader {
stroke-width: .5 !important;
stroke: #535353;
fill: none !important;
}
.Button {
stroke-width: .25;
stroke: #ededed;
fill: #ededed;
}
.Ring {
stroke-width: .5 !important;
stroke: #535353 !important;
fill: none !important;
}
.Label {
stroke: none !important;
stroke-width: .1 !important;
font-size: .1 !important;
fill: transparent !important;
}
.TouchStrip, .TouchRing {
stroke-width: .1 !important;
stroke: #ededed !important;
fill: #535353 !important;
}

View File

@@ -0,0 +1,92 @@
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
#
# This file, unlike hacks.rc, contains legitimate cases we need to handle, e.g.
# custom widgets, programs giving us a chance to alter their UI to fit more with
# the theme or stuff that is supposed to look different, like panels.
# TODO: This could really look nicer
style "gimp_spin_scale" {
# Spin background
bg[NORMAL] = @base_color
engine "pixmap" {
image {
function = BOX
state = NORMAL
detail = "spinbutton_up"
overlay_file = "assets/pan-up-alt.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = PRELIGHT
detail = "spinbutton_up"
overlay_file = "assets/pan-up.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = ACTIVE
detail = "spinbutton_up"
overlay_file = "assets/pan-up.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = INSENSITIVE
detail = "spinbutton_up"
overlay_file = "assets/pan-up-alt-disabled.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = NORMAL
detail = "spinbutton_down"
overlay_file = "assets/pan-down-alt.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = PRELIGHT
detail = "spinbutton_down"
overlay_file = "assets/pan-down.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = ACTIVE
detail = "spinbutton_down"
overlay_file = "assets/pan-down.png"
overlay_stretch = FALSE
}
image {
function = BOX
state = INSENSITIVE
detail = "spinbutton_down"
overlay_file = "assets/pan-down-alt-disabled.png"
overlay_stretch = FALSE
}
}
}
style "chrome_gtk_frame" {
ChromeGtkFrame::frame-color = @titlebar_bg_color
ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color
ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color
ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color
ChromeGtkFrame::frame-gradient-size = 0
}
# Disable spin button assets for GimpSpinScale
class "GimpSpinScale" style "gimp_spin_scale"
# Chromium lets us define some colours and settings for better integration
class "ChromeGtkFrame" style "chrome_gtk_frame"

View File

@@ -0,0 +1,36 @@
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
#
# This file contains horrible hacks to make this theme work with some programs
# This is mostly due to the limitations of GTK 2 but sometimes its the fault of
# the programs themselves. Not going to point fingers.
#
# Either way, it's a WONTFIX for both, hence this horrible file.
style "toplevel_hack" {
engine "adwaita" {}
}
style "chrome_entry" {
base[NORMAL] = @base_color
base[INSENSITIVE] = @base_color
}
style "vim_notebook" {
bg[NORMAL] = @base_color
bg[ACTIVE] = @bg_color
}
# Vim puts an eventbox between the tab and the label and colours it,
# we need to handle that
widget "vim-main-window*GtkNotebook.GtkEventBox" style "vim_notebook"
# (he)xchat input box
class "SexySpellEntry" style:highest "normal_entry"
# Chromium uses base as the fill colour of its own entries
# This would be fine but GTK uses it to fill the surrounding space, so its set to bg
# That results in Chromium using it for the fill, so we need to handle that
widget_class "*Chrom*<GtkEntry>" style "chrome_entry"
# Hack to be able to match widgets in LibreOffice
class "GtkWindow" style "toplevel_hack"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Type=X-GNOME-Metatheme
Name=Vague
Comment=Pastel yet vivid, like a fleeting memory...
Encoding=UTF-8
[X-GNOME-Metatheme]
GtkTheme=Vague
MetacityTheme=Vague
IconTheme=Vague-icons
CursorTheme=Vague-cursors
ButtonLayout=close,minimize,maximize:menu

View File

@@ -0,0 +1 @@
metacity-theme-3.xml

View File

@@ -0,0 +1 @@
metacity-theme-3.xml

View File

@@ -0,0 +1,755 @@
<?xml version="1.0"?>
<metacity_theme>
<info>
<name>Vague</name>
<author>Vittv</author>
<copyright>MIT</copyright>
<date>2026</date>
<description>Vague Metacity theme</description>
</info>
<!-- meaningful constants -->
<constant name="C_titlebar_focused" value="gtk:custom(wm_bg,gtk:bg[NORMAL])"/>
<constant name="C_titlebar_unfocused" value="gtk:custom(wm_unfocused_bg,gtk:bg[NORMAL])"/>
<constant name="C_highlight_focused" value="gtk:custom(wm_highlight,gtk:base[NORMAL])"/>
<constant name="C_highlight_unfocused" value="gtk:custom(wm_highlight,gtk:base[NORMAL])"/>
<constant name="C_border_focused" value="gtk:custom(wm_border,blend/#000000/gtk:bg[NORMAL]/0.5)"/>
<constant name="C_border_unfocused" value="gtk:custom(wm_border,blend/#000000/gtk:bg[NORMAL]/0.65)"/>
<constant name="C_title_focused" value="gtk:custom(wm_title,gtk:fg[NORMAL])"/>
<constant name="C_title_unfocused" value="gtk:custom(wm_unfocused_title,gtk:fg[INSENSITIVE])"/>
<constant name="C_button_icon" value="gtk:custom(wm_button_icon,gtk:base[NORMAL])" />
<constant name="C_button_close_hover_bg" value="gtk:custom(wm_button_close_hover_bg,gtk:fg[INSENSITIVE])"/>
<constant name="C_button_close_active_bg" value="gtk:custom(wm_button_close_active_bg,gtk:fg[INSENSITIVE])"/>
<constant name="C_button_max_hover_bg" value="gtk:custom(wm_button_max_hover_bg,gtk:fg[INSENSITIVE])"/>
<constant name="C_button_max_active_bg" value="gtk:custom(wm_button_max_active_bg,gtk:fg[INSENSITIVE])"/>
<constant name="C_button_min_hover_bg" value="gtk:custom(wm_button_min_hover_bg,gtk:fg[INSENSITIVE])"/>
<constant name="C_button_min_active_bg" value="gtk:custom(wm_button_min_active_bg,gtk:fg[INSENSITIVE])"/>
<!-- geometries -->
<frame_geometry name="normal" title_scale="medium" rounded_top_left="10" rounded_top_right="10">
<distance name="left_width" value="1"/>
<distance name="right_width" value="1"/>
<distance name="bottom_height" value="1"/>
<distance name="left_titlebar_edge" value="6"/>
<distance name="right_titlebar_edge" value="6"/>
<distance name="title_vertical_pad" value="10"/>
<border name="title_border" left="10" right="10" top="6" bottom="6"/>
<border name="button_border" left="0" right="0" top="5" bottom="5"/>
<aspect_ratio name="button" value="1"/>
</frame_geometry>
<frame_geometry name="max" rounded_top_left="false" rounded_top_right="false" parent="normal">
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="0"/>
</frame_geometry>
<frame_geometry name="tiled_left" parent="max">
<distance name="right_width" value="1"/>
</frame_geometry>
<frame_geometry name="tiled_right" parent="max">
<distance name="left_width" value="1"/>
</frame_geometry>
<frame_geometry name="nobuttons" hide_buttons="true" parent="normal">
</frame_geometry>
<frame_geometry name="modal" parent="normal">
</frame_geometry>
<frame_geometry name="small" title_scale="small" parent="normal">
<distance name="title_vertical_pad" value="8"/>
</frame_geometry>
<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal">
<distance name="left_width" value="1"/>
<distance name="right_width" value="1"/>
<distance name="bottom_height" value="1"/>
<distance name="title_vertical_pad" value="0"/>
<border name="title_border" left="10" right="10" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>
<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal">
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="0"/>
<distance name="title_vertical_pad" value="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>
<frame_geometry name="attached" hide_buttons="true" rounded_bottom_left="6" rounded_bottom_right="6" parent="normal">
<distance name="title_vertical_pad" value="6"/>
</frame_geometry>
<!-- drawing operations -->
<!-- title -->
<draw_ops name="title_focused">
<title version="< 3.1"
x="(0 `max` ((width - title_width) / 2))"
y="(0 `max` ((height - title_height) / 2))"
color="C_title_focused"/>
<title version=">= 3.1"
x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
y="(0 `max` ((height - title_height) / 2))"
ellipsize_width="width"
color="C_title_focused"/>
</draw_ops>
<draw_ops name="title_unfocused">
<title version="< 3.1"
x="(0 `max` ((width - title_width) / 2))"
y="(0 `max` ((height - title_height) / 2))"
color="C_title_unfocused"/>
<title version=">= 3.1"
x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
y="(0 `max` ((height - title_height) / 2))"
ellipsize_width="width"
color="C_title_unfocused"/>
</draw_ops>
<!-- window decorations -->
<draw_ops name="entire_background_focused">
<rectangle color="C_titlebar_focused" x="0" y="0" width="width" height="height" filled="true"/>
</draw_ops>
<draw_ops name="entire_background_unfocused">
<rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true"/>
</draw_ops>
<draw_ops name="titlebar_focused">
<include name="entire_background_focused"/>
</draw_ops>
<draw_ops name="titlebar_unfocused">
<include name="entire_background_unfocused"/>
</draw_ops>
<draw_ops name="rounded_border_focused">
<line color="C_border_focused" x1="12" y1="0" x2="width-13" y2="0" />
<line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
<line color="C_border_focused" x1="0" y1="12" x2="0" y2="height-2" />
<line color="C_border_focused" x1="width-1" y1="12" x2="width-1" y2="height-2" />
<arc color="C_border_focused" x="0" y="0" width="25" height="25" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-26" y="0" width="25" height="25" start_angle="0" extent_angle="90" />
<!-- double arcs for darker borders -->
<arc color="C_border_focused" x="0" y="0" width="25" height="25" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-26" y="0" width="25" height="25" start_angle="0" extent_angle="90" />
<line color="C_highlight_focused" x1="13" y1="1" x2="width - 14" y2="1"/>
<arc color="C_highlight_focused" x="0" y="1" width="25" height="25" start_angle="270" extent_angle="90"/>
<arc color="C_highlight_focused" x="width - 26" y="1" width="25" height="25" start_angle="0" extent_angle="90"/>
</draw_ops>
<draw_ops name="rounded_border_unfocused">
<line color="C_border_unfocused" x1="12" y1="0" x2="width-13" y2="0" />
<line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
<line color="C_border_unfocused" x1="0" y1="12" x2="0" y2="height-2" />
<line color="C_border_unfocused" x1="width-1" y1="12" x2="width-1" y2="height-2" />
<arc color="C_border_unfocused" x="0" y="0" width="25" height="25" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-26" y="0" width="25" height="25" start_angle="0" extent_angle="90" />
<!-- double arcs for darker borders -->
<arc color="C_border_unfocused" x="0" y="0" width="25" height="25" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-26" y="0" width="25" height="25" start_angle="0" extent_angle="90" />
<line color="C_highlight_unfocused" x1="13" y1="1" x2="width - 14" y2="1"/>
<arc color="C_highlight_unfocused" x="0" y="1" width="25" height="25" start_angle="270" extent_angle="90"/>
<arc color="C_highlight_unfocused" x="width - 26" y="1" width="25" height="25" start_angle="0" extent_angle="90"/>
</draw_ops>
<!-- button icons -->
<!-- close -->
<draw_ops name="close_focused">
<image filename="assets/button.svg" colorize="C_button_close_hover_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="close_focused_prelight">
<image filename="assets/button.svg" colorize="C_button_close_hover_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
<image filename="assets/close.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="C_button_icon"/>
</draw_ops>
<draw_ops name="close_focused_pressed">
<image filename="assets/button.svg" colorize="C_button_close_active_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
<image filename="assets/close.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="C_button_icon"/>
</draw_ops>
<draw_ops name="close_unfocused">
<image filename="assets/button.svg" colorize="C_title_unfocused" x="(width - object_width) / 2" y="(height - object_height) / 2" alpha="0.25" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="close_unfocused_prelight">
<include name="close_focused_prelight"/>
</draw_ops>
<draw_ops name="close_unfocused_pressed">
<include name="close_focused_pressed"/>
</draw_ops>
<!-- maximize -->
<draw_ops name="maximize_focused">
<image filename="assets/button.svg" colorize="C_button_max_hover_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="maximize_focused_prelight">
<image filename="assets/button.svg" colorize="C_button_max_hover_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
<image filename="assets/maximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="C_button_icon"/>
</draw_ops>
<draw_ops name="maximize_focused_pressed">
<image filename="assets/button.svg" colorize="C_button_max_active_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
<image filename="assets/maximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="C_button_icon"/>
</draw_ops>
<draw_ops name="maximize_unfocused">
<include name="close_unfocused"/>
</draw_ops>
<draw_ops name="maximize_unfocused_prelight">
<include name="maximize_focused_prelight"/>
</draw_ops>
<draw_ops name="maximize_unfocused_pressed">
<include name="maximize_focused_pressed"/>
</draw_ops>
<!-- unmaximize -->
<draw_ops name="unmaximize_focused">
<image filename="assets/button.svg" colorize="C_button_max_hover_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="unmaximize_focused_prelight">
<image filename="assets/button.svg" colorize="C_button_max_hover_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
<image filename="assets/unmaximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="C_button_icon"/>
</draw_ops>
<draw_ops name="unmaximize_focused_pressed">
<image filename="assets/button.svg" colorize="C_button_max_active_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
<image filename="assets/unmaximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="C_button_icon"/>
</draw_ops>
<draw_ops name="unmaximize_unfocused">
<include name="close_unfocused"/>
</draw_ops>
<draw_ops name="unmaximize_unfocused_prelight">
<include name="unmaximize_focused_prelight"/>
</draw_ops>
<draw_ops name="unmaximize_unfocused_pressed">
<include name="unmaximize_focused_pressed"/>
</draw_ops>
<!-- minimize -->
<draw_ops name="minimize_focused">
<image filename="assets/button.svg" colorize="C_button_min_hover_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="minimize_focused_prelight">
<image filename="assets/button.svg" colorize="C_button_min_hover_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
<image filename="assets/minimize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="C_button_icon"/>
</draw_ops>
<draw_ops name="minimize_focused_pressed">
<image filename="assets/button.svg" colorize="C_button_min_active_bg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height"/>
<image filename="assets/minimize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" colorize="C_button_icon"/>
</draw_ops>
<draw_ops name="minimize_unfocused">
<include name="close_unfocused"/>
</draw_ops>
<draw_ops name="minimize_unfocused_prelight">
<include name="minimize_focused_prelight"/>
</draw_ops>
<draw_ops name="minimize_unfocused_pressed">
<include name="minimize_focused_pressed"/>
</draw_ops>
<!-- menu -->
<draw_ops name="menu_focused">
<image filename="assets/menu.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
</draw_ops>
<draw_ops name="menu_focused_prelight">
<include name="menu_focused"/>
</draw_ops>
<draw_ops name="menu_focused_pressed">
<include name="menu_focused"/>
</draw_ops>
<draw_ops name="menu_unfocused">
<image filename="assets/menu.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
</draw_ops>
<draw_ops name="menu_unfocused_prelight">
<include name="menu_unfocused"/>
</draw_ops>
<draw_ops name="menu_unfocused_pressed">
<include name="menu_unfocused"/>
</draw_ops>
<!-- shade -->
<draw_ops name="shade_focused">
<image filename="assets/shade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
</draw_ops>
<draw_ops name="shade_focused_prelight">
<include name="shade_focused"/>
</draw_ops>
<draw_ops name="shade_focused_pressed">
<include name="shade_focused"/>
</draw_ops>
<draw_ops name="shade_unfocused">
<image filename="assets/shade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
</draw_ops>
<draw_ops name="shade_unfocused_prelight">
<include name="shade_unfocused"/>
</draw_ops>
<draw_ops name="shade_unfocused_pressed">
<include name="shade_unfocused"/>
</draw_ops>
<!-- unshade -->
<draw_ops name="unshade_focused">
<image filename="assets/unshade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
</draw_ops>
<draw_ops name="unshade_focused_prelight">
<include name="unshade_focused"/>
</draw_ops>
<draw_ops name="unshade_focused_pressed">
<include name="unshade_focused"/>
</draw_ops>
<draw_ops name="unshade_unfocused">
<image filename="assets/unshade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
</draw_ops>
<draw_ops name="unshade_unfocused_prelight">
<include name="unshade_unfocused"/>
</draw_ops>
<draw_ops name="unshade_unfocused_pressed">
<include name="unshade_unfocused"/>
</draw_ops>
<!-- appmenu -->
<constant name="D_appmenu_icon_size" value="16"/>
<draw_ops name="appmenu_focused">
<icon
x="(width - D_appmenu_icon_size) / 2" y="(height - D_appmenu_icon_size) / 2"
width="D_appmenu_icon_size" height="D_appmenu_icon_size"/>
</draw_ops>
<draw_ops name="appmenu_focused_prelight">
<include name="appmenu_focused"/>
</draw_ops>
<draw_ops name="appmenu_focused_pressed">
<include name="appmenu_focused"/>
</draw_ops>
<draw_ops name="appmenu_unfocused">
<icon
x="(width - D_appmenu_icon_size) / 2" y="(height - D_appmenu_icon_size) / 2"
width="D_appmenu_icon_size" height="D_appmenu_icon_size"
alpha="0.7"/>
</draw_ops>
<draw_ops name="appmenu_unfocused_prelight">
<include name="appmenu_unfocused"/>
</draw_ops>
<draw_ops name="appmenu_unfocused_pressed">
<include name="appmenu_unfocused"/>
</draw_ops>
<!-- button backgrounds -->
<draw_ops name="button_focused">
</draw_ops>
<draw_ops name="button_focused_prelight">
<image filename="assets/button.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.08" colorize="C_title_focused"/>
</draw_ops>
<draw_ops name="button_focused_pressed">
<image filename="assets/button.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.2" colorize="C_title_focused"/>
</draw_ops>
<draw_ops name="button_unfocused">
</draw_ops>
<draw_ops name="button_unfocused_prelight">
<image filename="assets/button.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.08" colorize="C_title_unfocused"/>
</draw_ops>
<draw_ops name="button_unfocused_pressed">
<image filename="assets/button.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.2" colorize="C_title_unfocused"/>
</draw_ops>
<!-- frame styles -->
<frame_style name="normal_focused" geometry="normal">
<piece position="entire_background" draw_ops="entire_background_focused"/>
<piece position="titlebar" draw_ops="titlebar_focused"/>
<piece position="title" draw_ops="title_focused"/>
<piece position="overlay" draw_ops="rounded_border_focused"/>
<button function="close" state="normal" draw_ops="close_focused"/>
<button function="close" state="prelight" draw_ops="close_focused_prelight"/>
<button function="close" state="pressed" draw_ops="close_focused_pressed"/>
<button function="maximize" state="normal" draw_ops="maximize_focused"/>
<button function="maximize" state="prelight" draw_ops="maximize_focused_prelight"/>
<button function="maximize" state="pressed" draw_ops="maximize_focused_pressed"/>
<button function="minimize" state="normal" draw_ops="minimize_focused"/>
<button function="minimize" state="prelight" draw_ops="minimize_focused_prelight"/>
<button function="minimize" state="pressed" draw_ops="minimize_focused_pressed"/>
<button function="menu" state="normal" draw_ops="menu_focused"/>
<button function="menu" state="prelight" draw_ops="menu_focused_prelight"/>
<button function="menu" state="pressed" draw_ops="menu_focused_pressed"/>
<button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused"/>
<button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_focused_prelight"/>
<button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed"/>
<button function="shade" state="normal" draw_ops="shade_focused"/>
<button function="shade" state="prelight" draw_ops="shade_focused_prelight"/>
<button function="shade" state="pressed" draw_ops="shade_focused_pressed"/>
<button function="unshade" state="normal" draw_ops="unshade_focused"/>
<button function="unshade" state="prelight" draw_ops="unshade_focused_prelight"/>
<button function="unshade" state="pressed" draw_ops="unshade_focused_pressed"/>
<button function="left_middle_background" state="normal" draw_ops="button_focused"/>
<button function="left_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
<button function="left_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
<button function="right_middle_background" state="normal" draw_ops="button_focused"/>
<button function="right_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
<button function="right_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
<button function="above" state="normal"><draw_ops></draw_ops></button>
<button function="above" state="pressed"><draw_ops></draw_ops></button>
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
<button function="stick" state="normal"><draw_ops></draw_ops></button>
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<frame_style name="normal_unfocused" geometry="normal">
<piece position="entire_background" draw_ops="entire_background_unfocused"/>
<piece position="titlebar" draw_ops="titlebar_unfocused"/>
<piece position="title" draw_ops="title_unfocused"/>
<piece position="overlay" draw_ops="rounded_border_unfocused"/>
<button function="close" state="normal" draw_ops="close_unfocused"/>
<button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
<button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
<button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
<button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
<button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
<button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
<button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
<button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
<button function="menu" state="normal" draw_ops="menu_unfocused"/>
<button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/>
<button function="menu" state="pressed" draw_ops="menu_unfocused_pressed"/>
<button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused"/>
<button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight"/>
<button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed"/>
<button function="shade" state="normal" draw_ops="shade_unfocused"/>
<button function="shade" state="prelight" draw_ops="shade_unfocused_prelight"/>
<button function="shade" state="pressed" draw_ops="shade_unfocused_pressed"/>
<button function="unshade" state="normal" draw_ops="unshade_unfocused"/>
<button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight"/>
<button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed"/>
<button function="left_middle_background" state="normal" draw_ops="button_unfocused"/>
<button function="left_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
<button function="left_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
<button function="right_middle_background" state="normal" draw_ops="button_unfocused"/>
<button function="right_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
<button function="right_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
<button function="above" state="normal"><draw_ops></draw_ops></button>
<button function="above" state="pressed"><draw_ops></draw_ops></button>
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
<button function="stick" state="normal"><draw_ops></draw_ops></button>
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<frame_style name="normal_max_focused" geometry="max">
<piece position="entire_background" draw_ops="entire_background_focused"/>
<piece position="titlebar" draw_ops="titlebar_focused"/>
<piece position="title" draw_ops="title_focused"/>
<button function="close" state="normal" draw_ops="close_focused"/>
<button function="close" state="prelight" draw_ops="close_focused_prelight"/>
<button function="close" state="pressed" draw_ops="close_focused_pressed"/>
<button function="maximize" state="normal" draw_ops="unmaximize_focused"/>
<button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/>
<button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/>
<button function="minimize" state="normal" draw_ops="minimize_focused"/>
<button function="minimize" state="prelight" draw_ops="minimize_focused_prelight"/>
<button function="minimize" state="pressed" draw_ops="minimize_focused_pressed"/>
<button function="menu" state="normal" draw_ops="menu_focused"/>
<button function="menu" state="prelight" draw_ops="menu_focused_prelight"/>
<button function="menu" state="pressed" draw_ops="menu_focused_pressed"/>
<button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused"/>
<button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_focused_prelight"/>
<button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed"/>
<button function="shade" state="normal" draw_ops="shade_focused"/>
<button function="shade" state="prelight" draw_ops="shade_focused_prelight"/>
<button function="shade" state="pressed" draw_ops="shade_focused_pressed"/>
<button function="unshade" state="normal" draw_ops="unshade_focused"/>
<button function="unshade" state="prelight" draw_ops="unshade_focused_prelight"/>
<button function="unshade" state="pressed" draw_ops="unshade_focused_pressed"/>
<button function="left_middle_background" state="normal" draw_ops="button_focused"/>
<button function="left_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
<button function="left_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
<button function="right_middle_background" state="normal" draw_ops="button_focused"/>
<button function="right_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
<button function="right_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
<button function="above" state="normal"><draw_ops></draw_ops></button>
<button function="above" state="pressed"><draw_ops></draw_ops></button>
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
<button function="stick" state="normal"><draw_ops></draw_ops></button>
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<frame_style name="normal_max_unfocused" geometry="max">
<piece position="entire_background" draw_ops="entire_background_unfocused"/>
<piece position="titlebar" draw_ops="titlebar_unfocused"/>
<piece position="title" draw_ops="title_unfocused"/>
<button function="close" state="normal" draw_ops="close_unfocused"/>
<button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
<button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
<button function="maximize" state="normal" draw_ops="unmaximize_unfocused"/>
<button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/>
<button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/>
<button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
<button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
<button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
<button function="menu" state="normal" draw_ops="menu_unfocused"/>
<button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/>
<button function="menu" state="pressed" draw_ops="menu_unfocused_pressed"/>
<button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused"/>
<button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight"/>
<button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed"/>
<button function="shade" state="normal" draw_ops="shade_unfocused"/>
<button function="shade" state="prelight" draw_ops="shade_unfocused_prelight"/>
<button function="shade" state="pressed" draw_ops="shade_unfocused_pressed"/>
<button function="unshade" state="normal" draw_ops="unshade_unfocused"/>
<button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight"/>
<button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed"/>
<button function="left_middle_background" state="normal" draw_ops="button_unfocused"/>
<button function="left_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
<button function="left_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
<button function="right_middle_background" state="normal" draw_ops="button_unfocused"/>
<button function="right_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
<button function="right_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
<button function="above" state="normal"><draw_ops></draw_ops></button>
<button function="above" state="pressed"><draw_ops></draw_ops></button>
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
<button function="stick" state="normal"><draw_ops></draw_ops></button>
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<frame_style name="tiled_left_focused" geometry="tiled_left" parent="normal_max_focused">
<piece position="titlebar" draw_ops="entire_background_focused"/>
</frame_style>
<frame_style name="tiled_left_unfocused" geometry="tiled_left" parent="normal_max_unfocused">
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
</frame_style>
<frame_style name="tiled_right_focused" geometry="tiled_right" parent="normal_max_focused">
<piece position="titlebar" draw_ops="entire_background_focused"/>
</frame_style>
<frame_style name="tiled_right_unfocused" geometry="tiled_right" parent="normal_max_unfocused">
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
</frame_style>
<frame_style name="dialog_focused" geometry="modal" parent="normal_focused">
</frame_style>
<frame_style name="dialog_unfocused" geometry="modal" parent="normal_unfocused">
</frame_style>
<frame_style name="modal_dialog_focused" geometry="modal" parent="normal_focused">
</frame_style>
<frame_style name="modal_dialog_unfocused" geometry="modal" parent="normal_unfocused">
</frame_style>
<frame_style name="utility_focused" geometry="small" parent="normal_focused">
</frame_style>
<frame_style name="utility_unfocused" geometry="small" parent="normal_unfocused">
</frame_style>
<frame_style name="border_focused" geometry="border" parent="normal_focused">
</frame_style>
<frame_style name="border_unfocused" geometry="border" parent="normal_unfocused">
</frame_style>
<frame_style name="borderless_focused" geometry="borderless" parent="normal_focused">
</frame_style>
<frame_style name="borderless_unfocused" geometry="borderless" parent="normal_unfocused">
</frame_style>
<frame_style name="attached_focused" geometry="attached" parent="modal_dialog_focused">
</frame_style>
<frame_style name="attached_unfocused" geometry="attached" parent="modal_dialog_unfocused">
</frame_style>
<!-- placeholder for unimplementated styles-->
<frame_style name="blank" geometry="normal">
<button function="close" state="normal"><draw_ops></draw_ops></button>
<button function="close" state="pressed"><draw_ops></draw_ops></button>
<button function="maximize" state="normal"><draw_ops></draw_ops></button>
<button function="maximize" state="pressed"><draw_ops></draw_ops></button>
<button function="minimize" state="normal"><draw_ops></draw_ops></button>
<button function="minimize" state="pressed"><draw_ops></draw_ops></button>
<button function="menu" state="normal"><draw_ops></draw_ops></button>
<button function="menu" state="pressed"><draw_ops></draw_ops></button>
<button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
<button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
<button function="shade" state="normal"><draw_ops></draw_ops></button>
<button function="shade" state="pressed"><draw_ops></draw_ops></button>
<button function="unshade" state="normal"><draw_ops></draw_ops></button>
<button function="unshade" state="pressed"><draw_ops></draw_ops></button>
<button function="above" state="normal"><draw_ops></draw_ops></button>
<button function="above" state="pressed"><draw_ops></draw_ops></button>
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
<button function="stick" state="normal"><draw_ops></draw_ops></button>
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<!-- frame style sets -->
<frame_style_set name="normal_style_set">
<frame focus="yes" state="normal" resize="both" style="normal_focused"/>
<frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
<frame focus="yes" state="maximized" style="normal_max_focused"/>
<frame focus="no" state="maximized" style="normal_max_unfocused"/>
<frame focus="yes" state="shaded" style="normal_focused"/>
<frame focus="no" state="shaded" style="normal_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="normal_max_focused"/>
<frame focus="no" state="maximized_and_shaded" style="normal_max_unfocused"/>
<frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused"/>
<frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused"/>
<frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused"/>
<frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused"/>
<frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused"/>
<frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused"/>
<frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused"/>
<frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused"/>
</frame_style_set>
<frame_style_set name="dialog_style_set">
<frame focus="yes" state="normal" resize="both" style="dialog_focused"/>
<frame focus="no" state="normal" resize="both" style="dialog_unfocused"/>
<frame focus="yes" state="maximized" style="blank"/>
<frame focus="no" state="maximized" style="blank"/>
<frame focus="yes" state="shaded" style="dialog_focused"/>
<frame focus="no" state="shaded" style="dialog_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
<frame focus="no" state="maximized_and_shaded" style="blank"/>
</frame_style_set>
<frame_style_set name="modal_dialog_style_set">
<frame focus="yes" state="normal" resize="both" style="modal_dialog_focused"/>
<frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused"/>
<frame focus="yes" state="maximized" style="blank"/>
<frame focus="no" state="maximized" style="blank"/>
<frame focus="yes" state="shaded" style="modal_dialog_focused"/>
<frame focus="no" state="shaded" style="modal_dialog_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
<frame focus="no" state="maximized_and_shaded" style="blank"/>
</frame_style_set>
<frame_style_set name="utility_style_set">
<frame focus="yes" state="normal" resize="both" style="utility_focused"/>
<frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
<frame focus="yes" state="maximized" style="blank"/>
<frame focus="no" state="maximized" style="blank"/>
<frame focus="yes" state="shaded" style="utility_focused"/>
<frame focus="no" state="shaded" style="utility_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
<frame focus="no" state="maximized_and_shaded" style="blank"/>
</frame_style_set>
<frame_style_set name="border_style_set">
<frame focus="yes" state="normal" resize="both" style="border_focused"/>
<frame focus="no" state="normal" resize="both" style="border_unfocused"/>
<frame focus="yes" state="maximized" style="borderless_focused"/>
<frame focus="no" state="maximized" style="borderless_unfocused"/>
<frame focus="yes" state="shaded" style="blank"/>
<frame focus="no" state="shaded" style="blank"/>
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
<frame focus="no" state="maximized_and_shaded" style="blank"/>
</frame_style_set>
<frame_style_set name="attached_style_set">
<frame focus="yes" state="normal" resize="both" style="attached_focused"/>
<frame focus="no" state="normal" resize="both" style="attached_unfocused"/>
<frame focus="yes" state="maximized" style="blank"/>
<frame focus="no" state="maximized" style="blank"/>
<frame focus="yes" state="shaded" style="blank"/>
<frame focus="no" state="shaded" style="blank"/>
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
<frame focus="no" state="maximized_and_shaded" style="blank"/>
</frame_style_set>
<!-- windows -->
<window type="normal" style_set="normal_style_set"/>
<window type="dialog" style_set="dialog_style_set"/>
<window type="modal_dialog" style_set="modal_dialog_style_set"/>
<window type="menu" style_set="utility_style_set"/>
<window type="utility" style_set="utility_style_set"/>
<window type="border" style_set="border_style_set"/>
<window version=">= 3.2" type="attached" style_set="attached_style_set"/>
</metacity_theme>

View File

@@ -0,0 +1,23 @@
button_offset=3
button_spacing=0
show_app_icon=false
full_width_title=true
frame_border_top=3
maximized_offset=0
active_text_color=active_text_color_2
active_text_shadow_color=active_hilight_2
inactive_text_color=inactive_text_color_2
inactive_text_shadow_color=inactive_hilight_2
shadow_delta_height=2
shadow_delta_width=0
shadow_delta_x=0
shadow_delta_y=-5
shadow_opacity=40
title_horizontal_offset=1
title_shadow_active=false
title_shadow_inactive=false
title_vertical_offset_active=1
title_vertical_offset_inactive=1

9
install.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
for dir in */; do
dir="${dir%/}"
echo "Stowing: $dir"
stow "$dir"
done
gsettings set org.gnome.desktop.interface gtk-theme "Vague"

View File

@@ -0,0 +1,3 @@
vim.opt_local.shiftwidth = 8
vim.opt_local.expandtab = false
vim.opt_local.formatoptions:remove "o"

View File

@@ -1,11 +0,0 @@
---@type vim.lsp.Config
return {
cmd = { 'bash-language-server', 'start' },
settings = {
bashIde = {
globPattern = vim.env.GLOB_PATTERN or '*@(.sh|.inc|.bash|.command)',
},
},
filetypes = { 'bash', 'sh', 'zsh' },
root_markers = { '.git' },
}

View File

@@ -1,15 +0,0 @@
---@type vim.lsp.Config
return {
cmd = { 'pyright-langserver', '--stdio' },
settings = {
python = {
analysis = {
typeCheckingMode = 'basic',
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
},
},
filetypes = { 'python' },
root_markers = { 'pyproject.toml', 'setup.py', 'requirements.txt', '.git' },
}

View File

@@ -1,6 +0,0 @@
---@type vim.lsp.Config
return {
cmd = { 'rust-analyzer' },
filetypes = { 'rs' },
root_markers = { 'Cargo.toml' },
}

View File

@@ -1,6 +0,0 @@
---@type vim.lsp.Config
return {
cmd = { 'tinymist' },
filetypes = { 'typ' },
root_markers = { 'main.typ', 'typst.toml' },
}

View File

@@ -37,3 +37,48 @@ vim.api.nvim_create_user_command("DeployRobotCode", function()
end, end,
}) })
end, {}) end, {})
---@type table<number, {token:lsp.ProgressToken, msg:string, done:boolean}[]>
local progress = vim.defaulttable()
vim.api.nvim_create_autocmd("LspProgress", {
---@param ev {data: {client_id: integer, params: lsp.ProgressParams}}
callback = function(ev)
local client = vim.lsp.get_client_by_id(ev.data.client_id)
local value = ev.data.params
.value --[[@as {percentage?: number, title?: string, message?: string, kind: "begin" | "report" | "end"}]]
if not client or type(value) ~= "table" then
return
end
local p = progress[client.id]
for i = 1, #p + 1 do
if i == #p + 1 or p[i].token == ev.data.params.token then
p[i] = {
token = ev.data.params.token,
msg = ("[%3d%%] %s%s"):format(
value.kind == "end" and 100 or value.percentage or 100,
value.title or "",
value.message and (" **%s**"):format(value.message) or ""
),
done = value.kind == "end",
}
break
end
end
local msg = {} ---@type string[]
progress[client.id] = vim.tbl_filter(function(v)
return table.insert(msg, v.msg) or not v.done
end, p)
local spinner = { "", "", "", "", "", "", "", "", "", "" }
vim.notify(table.concat(msg, "\n"), "info", {
id = "lsp_progress",
title = client.name,
opts = function(notif)
notif.icon = #progress[client.id] == 0 and ""
or spinner[math.floor(vim.uv.hrtime() / (1e6 * 80)) % #spinner + 1]
end,
})
end,
})

View File

@@ -7,11 +7,4 @@ opt.wrap = false
opt.splitright = true opt.splitright = true
opt.splitbelow = true opt.splitbelow = true
vim.api.nvim_set_option("clipboard", "unnamedplus") vim.cmd.colorscheme("gruber-darker")
vim.cmd("colorscheme vim")
-- mini.pick colors
vim.api.nvim_set_hl(0, "MiniPickNormal", { bg = "#000000" })
vim.api.nvim_set_hl(0, "MiniPickBorder", { bg = "#000000", fg = "#000000" })
vim.api.nvim_set_hl(0, "MiniPickMatchCurrent", { bg = "#1e1e2e" })

View File

@@ -2,17 +2,30 @@ local keymap = vim.keymap.set
keymap("n", "<Esc>", ":nohlsearch<CR>") keymap("n", "<Esc>", ":nohlsearch<CR>")
keymap("n", "<leader>en", ":edit $MYVIMRC<CR>")
keymap("n", "<leader>ez", ":edit ~/.zshrc<CR>")
keymap("v", "J", ":m '>+1<CR>gv=gv") keymap("v", "J", ":m '>+1<CR>gv=gv")
keymap("v", "K", ":m '<-2<CR>gv=gv") keymap("v", "K", ":m '<-2<CR>gv=gv")
keymap("c", "<C-j>", "<down>")
keymap("c", "<C-k>", "<up>")
keymap("n", "-", ":Ex<CR>")
for _, k in ipairs({ "h", "j", "k", "l" }) do for _, k in ipairs({ "h", "j", "k", "l" }) do
keymap({ "n", "i", "v" }, "<C-" .. k .. ">", "<C-w><C-" .. k .. ">") keymap({ "n", "i", "v" }, "<C-" .. k .. ">", "<C-w><C-" .. k .. ">")
end end
keymap("n", "<leader>f", ":Pick files<CR>") keymap({ "n", "t" }, "<C-_>", function()
keymap("n", "<leader>g", ":Pick grep_live<CR>") require("snacks").terminal()
end)
-- Edit
keymap("n", "<leader>en", ":edit $MYVIMRC<CR>")
keymap("n", "<leader>ez", ":edit ~/.zshrc<CR>")
keymap("n", "<leader>eo", ":edit ~/dotfiles/oxwm/.config/oxwm/config.lua<CR>")
keymap("n", "<leader><leader>", ":Pick files<CR>")
keymap("n", "<leader>f", ":Pick grep_live<CR>")
-- Language
keymap("n", "<leader>lf", vim.lsp.buf.format) keymap("n", "<leader>lf", vim.lsp.buf.format)
keymap("n", "<leader>la", vim.lsp.buf.code_action)

View File

@@ -3,22 +3,23 @@ vim.g.mapleader = " "
vim.pack.add { vim.pack.add {
{ src = "https://github.com/nvim-mini/mini.pick" }, { src = "https://github.com/nvim-mini/mini.pick" },
{ src = "https://github.com/rafamadriz/friendly-snippets" }, { src = "https://github.com/rafamadriz/friendly-snippets" },
{ { src = "https://github.com/saghen/blink.cmp" },
src = "https://github.com/saghen/blink.cmp",
version = "1.*",
},
{ src = "https://github.com/nvim-lualine/lualine.nvim" }, { src = "https://github.com/nvim-lualine/lualine.nvim" },
{ src = "https://github.com/sphamba/smear-cursor.nvim" }, { src = "https://github.com/folke/snacks.nvim" },
{ src = "https://github.com/saghen/blink.lib" },
{ src = "https://github.com/m00qek/baleia.nvim" }, { src = "https://github.com/blazkowolf/gruber-darker.nvim" },
{ src = "https://github.com/esmuellert/codediff.nvim" },
{ src = "https://github.com/NeogitOrg/neogit" },
} }
require("mini.pick").setup {} require("mini.pick").setup {}
require("lualine").setup {} require("lualine").setup {}
require("smear_cursor").setup {}
require("snacks").setup {
notifier = { enabled = true },
image = { enabled = true },
quickfile = { enabed = true },
}
require("blink.cmp").build():pwait(60000)
require('blink.cmp').setup { require('blink.cmp').setup {
fuzzy = { implementation = 'prefer_rust_with_warning' }, fuzzy = { implementation = 'prefer_rust_with_warning' },
signature = { enabled = true }, signature = { enabled = true },
@@ -29,7 +30,7 @@ require('blink.cmp').setup {
["<C-n>"] = { "select_next", "fallback" }, ["<C-n>"] = { "select_next", "fallback" },
["<C-b>"] = { "scroll_documentation_down", "fallback" }, ["<C-b>"] = { "scroll_documentation_down", "fallback" },
["<C-f>"] = { "scroll_documentation_up", "fallback" }, ["<C-f>"] = { "scroll_documentation_up", "fallback" },
-- ["<C-e>"] = { "hide" }, ["<C-e>"] = { "hide" },
}, },
appearance = { appearance = {
@@ -58,5 +59,3 @@ require('blink.cmp').setup {
} }
} }
} }
require("neogit").setup {}

View File

@@ -6,21 +6,36 @@
}, },
"blink.cmp": { "blink.cmp": {
"rev": "d0c5196dae32c53cde1208161554906f5b982de8", "rev": "d0c5196dae32c53cde1208161554906f5b982de8",
"src": "https://github.com/saghen/blink.cmp", "src": "https://github.com/saghen/blink.cmp"
"version": "'1.*'" },
"blink.lib": {
"rev": "b127d48bf8e9ac9cf41f6e0fbead317503f76558",
"src": "https://github.com/saghen/blink.lib"
}, },
"codediff.nvim": { "codediff.nvim": {
"rev": "29b06f37251f2e010f53a0892573b2ec03d165e2", "rev": "29b06f37251f2e010f53a0892573b2ec03d165e2",
"src": "https://github.com/esmuellert/codediff.nvim" "src": "https://github.com/esmuellert/codediff.nvim"
}, },
"dired.nvim": {
"rev": "7cf5ceb69a6bbea547f97397fa5310b1571eb03a",
"src": "https://github.com/X3eRo0/dired.nvim"
},
"friendly-snippets": { "friendly-snippets": {
"rev": "6cd7280adead7f586db6fccbd15d2cac7e2188b9", "rev": "6cd7280adead7f586db6fccbd15d2cac7e2188b9",
"src": "https://github.com/rafamadriz/friendly-snippets" "src": "https://github.com/rafamadriz/friendly-snippets"
}, },
"gruber-darker.nvim": {
"rev": "aba065c3a79b58cc3863d5c9db319255abd1258a",
"src": "https://github.com/blazkowolf/gruber-darker.nvim"
},
"lualine.nvim": { "lualine.nvim": {
"rev": "47f91c416daef12db467145e16bed5bbfe00add8", "rev": "47f91c416daef12db467145e16bed5bbfe00add8",
"src": "https://github.com/nvim-lualine/lualine.nvim" "src": "https://github.com/nvim-lualine/lualine.nvim"
}, },
"mini.nvim": {
"rev": "cbae4fa396bbf9c802b3d2dc2e9c5362e8fb9468",
"src": "https://github.com/nvim-mini/mini.nvim"
},
"mini.pick": { "mini.pick": {
"rev": "8521fe21df86e08d9e4b3c3f3a7d50e47954e1af", "rev": "8521fe21df86e08d9e4b3c3f3a7d50e47954e1af",
"src": "https://github.com/nvim-mini/mini.pick" "src": "https://github.com/nvim-mini/mini.pick"
@@ -29,6 +44,10 @@
"rev": "99326a1310fb2d616b455d2fd16d01bf00682f06", "rev": "99326a1310fb2d616b455d2fd16d01bf00682f06",
"src": "https://github.com/NeogitOrg/neogit" "src": "https://github.com/NeogitOrg/neogit"
}, },
"nui.nvim": {
"rev": "de740991c12411b663994b2860f1a4fd0937c130",
"src": "https://github.com/MunifTanjim/nui.nvim"
},
"nvim-jdtls": { "nvim-jdtls": {
"rev": "77ccaeb422f8c81b647605da5ddb4a7f725cda90", "rev": "77ccaeb422f8c81b647605da5ddb4a7f725cda90",
"src": "https://codeberg.org/mfussenegger/nvim-jdtls" "src": "https://codeberg.org/mfussenegger/nvim-jdtls"
@@ -37,13 +56,25 @@
"rev": "8701bece920b38ea289b457f902e2ad184131a5d", "rev": "8701bece920b38ea289b457f902e2ad184131a5d",
"src": "https://github.com/rcarriga/nvim-notify" "src": "https://github.com/rcarriga/nvim-notify"
}, },
"render-markdown.nvim": {
"rev": "5adf0895310c1904e5abfaad40a2baad7fe44a07",
"src": "https://github.com/MeanderingProgrammer/render-markdown.nvim"
},
"smear-cursor.nvim": { "smear-cursor.nvim": {
"rev": "9e9378d6ee34bb3782e0e8c63d9ec8ca618b479b", "rev": "9e9378d6ee34bb3782e0e8c63d9ec8ca618b479b",
"src": "https://github.com/sphamba/smear-cursor.nvim" "src": "https://github.com/sphamba/smear-cursor.nvim"
}, },
"snacks.nvim": {
"rev": "882c996cf28183f4d63640de0b4c02ec886d01f2",
"src": "https://github.com/folke/snacks.nvim"
},
"todo-comments.nvim": { "todo-comments.nvim": {
"rev": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668", "rev": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668",
"src": "https://github.com/folke/todo-comments.nvim" "src": "https://github.com/folke/todo-comments.nvim"
},
"vague.nvim": {
"rev": "8ee15ea4505d64ede559ff1cb112582a6f2ea138",
"src": "https://github.com/vague-theme/vague.nvim"
} }
} }
} }

499
oxwm/.config/dunst/dunstrc Normal file
View File

@@ -0,0 +1,499 @@
# See dunst(5) for all configuration options
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = none
### Geometry ###
# The width of the window, excluding the frame.
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = (100, 300)
# The height of a single notification, excluding the frame.
# dynamic height from 0 to 300
height = (0, 300)
# constant height of 300
# height = 300
# NOTE: Dunst from version 1.11 and older don't support dynamic height
# and the given value is treated as the maximum height
# Position the notification in the top right corner
origin = top-right
# Offset from the origin
# NOTE: Dunst from version 1.11 and older use this alternative notation
# offset = 10x50
offset = (5, 15)
# Scale factor. It is auto-detected if value is 0.
# NOTE: The screenshot was made with scale = 2
scale = 0
# Maximum number of notification (0 means no limit)
notification_limit = 10
### Progress bar ###
# Turn on the progress bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 14
# Set the frame width of the progress bar
progress_bar_frame_width = 0
# Set the minimum width for the progress bar
progress_bar_min_width = 100
# Set the maximum width for the progress bar
progress_bar_max_width = 300
# Corner radius for the progress bar. 0 disables rounded corners.
progress_bar_corner_radius = 50
# Define which corners to round when drawing the progress bar. If progress_bar_corner_radius
# is set to 0 this option will be ignored.
progress_bar_corners = bottom-left, top-right
# Corner radius for the icon image.
icon_corner_radius = 0
# Define which corners to round when drawing the icon image. If icon_corner_radius
# is set to 0 this option will be ignored.
icon_corners = all
# Show how many messages are currently hidden (because of
# notification_limit).
indicate_hidden = yes
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
transparency = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
# If gap_size is greater than 0, this setting will be ignored.
separator_height = 6
# Padding between text and separator.
padding = 10
# Horizontal padding.
horizontal_padding = 8
# Padding between text and icon.
text_icon_padding = 12
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 1
# Defines color of the frame around the notification window.
frame_color = "#a0a0a0"
# Size of gap to display between notifications - requires a compositor.
# If value is greater than 0, separator_height will be ignored and a border
# of size frame_width will be drawn around each notification instead.
# Click events on gaps do not currently propagate to applications below.
gap_size = 6
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort type.
# possible values are:
# * id: sort by id
# * urgency_ascending: sort by urgency (low then normal then critical)
# * urgency_descending: sort by urgency (critical then normal then low)
# * update: sort by update (most recent always at the top)
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
# idle_threshold = 120
### Text ###
font = Fira Mono 12
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <https://docs.gtk.org/Pango/pango_markup.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = -1
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Recursive icon lookup. You can set a single theme, instead of having to
# define all lookup paths.
enable_recursive_icon_lookup = true
# Set icon theme (only used for recursive icon lookup)
icon_theme = Adwaita, Papirus, Papirus-Dark
# You can also set multiple icon themes, with the leftmost one being used first.
# icon_theme = "Adwaita, breeze"
# Align icons left/right/top/off
icon_position = right
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 32
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 128
# Paths to default icons (only necessary when not using recursive icon lookup)
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 30
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/bin/dmenu -l 10 -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/xdg-open
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst (X11 only)
title = Dunst
# Define the class of the windows spawned by dunst (X11 only)
class = Dunst
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 10
# Define which corners to round when drawing the window. If the corner radius
# is set to 0 this option will be ignored.
#
# Comma-separated list of the corners. The accepted corner values are bottom-right,
# bottom-left, top-right, top-left, top, bottom, left, right or all.
corners = bottom, top-left
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
### Wayland ###
# These settings are Wayland-specific. They have no effect when using X11
# Uncomment this if you want to let notifications appear under fullscreen
# applications (default: overlay)
# layer = top
# Set this to true to use X11 output on Wayland.
force_xwayland = false
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
### mouse
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: Invoke the action determined by the action_name rule. If there is no
# such action, open the context menu.
# * open_url: If the notification has exactly one url, open it. If there are multiple
# ones, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#222222"
foreground = "#ffffff"
highlight = "#722ae6, #e4b5cb"
timeout = 20
# Icon for notifications with low urgency
#default_icon = dialog-information
[urgency_normal]
background = "#222222"
foreground = "#ffffff"
frame_color = "#5e5086"
highlight = "#722ae6, #e4b5cb"
timeout = 20
override_pause_level = 30
# Icon for notifications with normal urgency
default_icon = dialog-information
[urgency_critical]
background = "#222222"
foreground = "#ffffff"
frame_color = "#d54e53"
highlight = "#d54e53, #f0f0f0"
timeout = 0
override_pause_level = 60
# Icon for notifications with critical urgency
default_icon = dialog-warning
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# set_category
# timeout
# urgency
# icon_position
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
# hide_text
# override_pause_level
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# You can also allow a notification to appear even when paused. Notification will appear whenever notification's override_pause_level >= dunst's paused level.
# This can be used to set partial pause modes, where more urgent notifications get through, but less urgent stay paused. To do that, you can override the following in the rules:
# override_pause_level = X
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# skip_display = true
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg

View File

@@ -83,20 +83,19 @@ local blocks = {
oxwm.set_terminal(terminal) oxwm.set_terminal(terminal)
oxwm.set_modkey(modkey) oxwm.set_modkey(modkey)
oxwm.set_tags(tags) oxwm.set_tags(tags)
oxwm.set_layout_symbol("tiling", "[T]") oxwm.set_layout_symbol("tiling", "[T]")
oxwm.set_layout_symbol("tabbed", "[FOO]")
oxwm.key.bind({ modkey }, "L", oxwm.layout.set("tabbed"))
oxwm.key.bind({ modkey }, "C", oxwm.layout.set("tiling")) oxwm.rule.add({ instance = "com-atlauncher-App", floating = true })
oxwm.key.bind({ "Mod4" }, "T", oxwm.layout.set("tabbed"))
oxwm.key.bind({ modkey }, "N", oxwm.layout.set("scrolling"))
oxwm.rule.add({ instance = "atlauncher", floating = true })
oxwm.border.set_width(2) oxwm.border.set_width(2)
oxwm.border.set_focused_color(colors.blue) oxwm.border.set_focused_color(colors.blue)
oxwm.border.set_unfocused_color(colors.grey) oxwm.border.set_unfocused_color(colors.grey)
oxwm.set_floating_position("center") oxwm.set_floating_position("center")
oxwm.gaps.set_smart(enabled) oxwm.gaps.set_smart(true)
oxwm.gaps.set_inner(5, 5) oxwm.gaps.set_inner(5, 5)
oxwm.gaps.set_outer(5, 5) oxwm.gaps.set_outer(5, 5)
@@ -113,6 +112,7 @@ oxwm.key.bind({ modkey }, "D", oxwm.spawn({ "vesktop-bin" }))
oxwm.key.bind({ modkey }, "G", oxwm.spawn({ "steam" })) oxwm.key.bind({ modkey }, "G", oxwm.spawn({ "steam" }))
oxwm.key.bind({ modkey }, "M", oxwm.spawn({ "ATLauncher" })) oxwm.key.bind({ modkey }, "M", oxwm.spawn({ "ATLauncher" }))
oxwm.key.bind({ modkey }, "S", oxwm.spawn({ "flatpak run org.vinegarhq.Sober" })) oxwm.key.bind({ modkey }, "S", oxwm.spawn({ "flatpak run org.vinegarhq.Sober" }))
oxwm.key.bind({ modkey, "Shift" }, "F", oxwm.spawn({ "thunar" }))
oxwm.key.bind({ modkey }, "Return", oxwm.spawn_terminal()) oxwm.key.bind({ modkey }, "Return", oxwm.spawn_terminal())
oxwm.key.bind({ modkey }, "Space", oxwm.spawn({ "sh", "-c", "dmenu_run -l 10" })) oxwm.key.bind({ modkey }, "Space", oxwm.spawn({ "sh", "-c", "dmenu_run -l 10" }))
@@ -165,31 +165,16 @@ oxwm.key.bind({ modkey, "Shift" }, "7", oxwm.tag.move_to(6))
oxwm.key.bind({ modkey, "Shift" }, "8", oxwm.tag.move_to(7)) oxwm.key.bind({ modkey, "Shift" }, "8", oxwm.tag.move_to(7))
oxwm.key.bind({ modkey, "Shift" }, "9", oxwm.tag.move_to(8)) oxwm.key.bind({ modkey, "Shift" }, "9", oxwm.tag.move_to(8))
oxwm.key.bind({ modkey, "Control" }, "1", oxwm.tag.toggleview(0))
oxwm.key.bind({ modkey, "Control" }, "2", oxwm.tag.toggleview(1))
oxwm.key.bind({ modkey, "Control" }, "3", oxwm.tag.toggleview(2))
oxwm.key.bind({ modkey, "Control" }, "4", oxwm.tag.toggleview(3))
oxwm.key.bind({ modkey, "Control" }, "5", oxwm.tag.toggleview(4))
oxwm.key.bind({ modkey, "Control" }, "6", oxwm.tag.toggleview(5))
oxwm.key.bind({ modkey, "Control" }, "7", oxwm.tag.toggleview(6))
oxwm.key.bind({ modkey, "Control" }, "8", oxwm.tag.toggleview(7))
oxwm.key.bind({ modkey, "Control" }, "9", oxwm.tag.toggleview(8))
oxwm.key.bind({ modkey, "Control", "Shift" }, "1", oxwm.tag.toggletag(0))
oxwm.key.bind({ modkey, "Control", "Shift" }, "2", oxwm.tag.toggletag(1))
oxwm.key.bind({ modkey, "Control", "Shift" }, "3", oxwm.tag.toggletag(2))
oxwm.key.bind({ modkey, "Control", "Shift" }, "4", oxwm.tag.toggletag(3))
oxwm.key.bind({ modkey, "Control", "Shift" }, "5", oxwm.tag.toggletag(4))
oxwm.key.bind({ modkey, "Control", "Shift" }, "6", oxwm.tag.toggletag(5))
oxwm.key.bind({ modkey, "Control", "Shift" }, "7", oxwm.tag.toggletag(6))
oxwm.key.bind({ modkey, "Control", "Shift" }, "8", oxwm.tag.toggletag(7))
oxwm.key.bind({ modkey, "Control", "Shift" }, "9", oxwm.tag.toggletag(8))
oxwm.key.chord({ oxwm.key.chord({
{ { modkey }, "R" }, { { modkey }, "R" },
{ {}, "C" } { {}, "C" }
}, oxwm.spawn({ "$HOME/wpilib/2026/frccode/frccode2026" })) }, oxwm.spawn({ "$HOME/wpilib/2026/frccode/frccode2026" }))
oxwm.key.chord({
{ { modkey }, "R" },
{ {}, "P" }
}, oxwm.spawn({ "pathplanner" }))
oxwm.autostart("~/walls/set") oxwm.autostart("~/walls/set")
oxwm.autostart("fastcompmgr") oxwm.autostart("fastcompmgr")
oxwm.autostart("gentoo-pipewire-launcher") oxwm.autostart("gentoo-pipewire-launcher")

View File

@@ -1,7 +0,0 @@
#!/bin/env bash
for dir in */; do
dir="${dir%/}"
echo "Stowing: $dir"
stow "$dir"
done

View File

@@ -1,3 +1,8 @@
#!/bin/sh #!/bin/sh
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
if [ -f "$HOME/.zprofile" ]; then
. "$HOME/.zprofile"
fi
exec dbus-launch --exit-with-session oxwm exec dbus-launch --exit-with-session oxwm

26
zsh/.zprofile Normal file
View File

@@ -0,0 +1,26 @@
export XDG_DOWNLOAD_DIR="$HOME/downloads"
export XDG_PROJECTS_DIR="$HOME/programming"
export XDG_DESKTOP_DIR="$HOME/.local/desktop"
export XDG_DOCUMENTS_DIR="$HOME/documents"
export XDG_MUSIC_DIR="$HOME/media"
export XDG_PICTURES_DIR="$HOME/media"
export XDG_PUBLICSHARE_DIR="$HOME/media"
export XDG_TEMPLATES_DIR="$HOME/media"
export XDG_VIDEOS_DIR="$HOME/media"
export EDITOR=nvim
export SUDO_EDITOR=nvim
export GOPATH="$HOME/.local/go"
export PATH="$HOME/.local/bin:$HOME/.local/go/bin:$HOME/.cargo/bin:$PATH"
export LD_LIBRARY_PATH="$HOME/opt/lib:${LD_LIBRARY_PATH:-}"
for d in "$HOME/opt"/*; do
[ -d "$d" ] || continue
case ":$PATH:" in
*:"$d":*) ;;
*) PATH="$PATH:$d" ;;
esac
done

View File

@@ -1,24 +1,5 @@
export TERM=xterm-256color export TERM=xterm-256color
export XDG_DOWNLOAD_DIR="$HOME/downloads"
export XDG_PROJECTS_DIR="$HOME/programming"
export XDG_DESKTOP_DIR="$HOME"
export XDG_DOCUMENTS_DIR="$HOME/documents"
export XDG_MUSIC_DIR="$HOME/media"
export XDG_PICTURES_DIR="$HOME/media"
export XDG_PUBLICSHARE_DIR="$HOME/media"
export XDG_TEMPLATES_DIR="$HOME/media"
export XDG_VIDEOS_DIR="$HOME/media"
export EDITOR=nvim
export SUDO_EDITOR=nvim
export GOPATH="$HOME/.local/go"
export PATH="$HOME/.local/bin:$HOME/.local/go/bin:$HOME/opt/bin:$HOME/.cargo/bin:$PATH"
export LD_LIBRARY_PATH="$HOME/opt/lib:${LD_LIBRARY_PATH:-}"
ZAP_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/zap" ZAP_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/zap"
[ -f "$ZAP_DIR/zap.zsh" ] && source "$ZAP_DIR/zap.zsh" [ -f "$ZAP_DIR/zap.zsh" ] && source "$ZAP_DIR/zap.zsh"
@@ -56,7 +37,11 @@ setopt MENU_COMPLETE
setopt NOMATCH setopt NOMATCH
unsetopt BEEP unsetopt BEEP
autoload -Uz compinit colors bashcompinit autoload -Uz compinit
autoload -Uz colors
autoload -Uz bashcompinit
zmodload zsh/complist
zmodload zsh/complist zmodload zsh/complist
zstyle ':completion:*' menu yes select zstyle ':completion:*' menu yes select