From 208ecf206edaa6426128d9999563af5c3e18fadd Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 24 Nov 2020 08:11:46 -0500 Subject: Init --- .config/wpg/templates/dunstrc | 1 + .config/wpg/templates/dunstrc.base | 92 +++++ .config/wpg/templates/gtk2 | 1 + .config/wpg/templates/gtk2.base | 797 +++++++++++++++++++++++++++++++++++++ .config/wpg/templates/gtk3.0 | 1 + .config/wpg/templates/gtk3.0.base | 93 +++++ .config/wpg/templates/gtk3.20 | 1 + .config/wpg/templates/gtk3.20.base | 108 +++++ .config/wpg/templates/i3 | 1 + .config/wpg/templates/i3.base | 229 +++++++++++ .config/wpg/templates/rofi | 1 + .config/wpg/templates/rofi.base | 27 ++ 12 files changed, 1352 insertions(+) create mode 120000 .config/wpg/templates/dunstrc create mode 100644 .config/wpg/templates/dunstrc.base create mode 120000 .config/wpg/templates/gtk2 create mode 100644 .config/wpg/templates/gtk2.base create mode 120000 .config/wpg/templates/gtk3.0 create mode 100644 .config/wpg/templates/gtk3.0.base create mode 120000 .config/wpg/templates/gtk3.20 create mode 100644 .config/wpg/templates/gtk3.20.base create mode 120000 .config/wpg/templates/i3 create mode 100644 .config/wpg/templates/i3.base create mode 120000 .config/wpg/templates/rofi create mode 100644 .config/wpg/templates/rofi.base (limited to '.config/wpg/templates') diff --git a/.config/wpg/templates/dunstrc b/.config/wpg/templates/dunstrc new file mode 120000 index 0000000..d346c86 --- /dev/null +++ b/.config/wpg/templates/dunstrc @@ -0,0 +1 @@ +/home/atc/.config/dunst/dunstrc \ No newline at end of file diff --git a/.config/wpg/templates/dunstrc.base b/.config/wpg/templates/dunstrc.base new file mode 100644 index 0000000..ce7e684 --- /dev/null +++ b/.config/wpg/templates/dunstrc.base @@ -0,0 +1,92 @@ +[colors] + background = "{color8}" + foreground = "{color15}" + +[global] + ### Display ### + + monitor = 0 + follow = mouse + + geometry = "540x5-10+32" + indicate_hidden = yes + shrink = yes + transparency = 0 + notification_height = 0 + separator_height = 3 + padding = 12 + horizontal_padding = 12 + frame_width = 3 + + frame_color = "{active}" + separator_color = auto + sort = yes + idle_threshold = 120 + + ### Text ### + font = sans-serif 12 + line_height = 0 + + 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 = "%s \n%b" + alignment = left + show_age_threshold = 60 + word_wrap = yes + ellipsize = middle + ignore_newline = no + stack_duplicates = true + hide_duplicate_count = false + show_indicators = yes + + ### Icons ### + icon_position = left + max_icon_size = 64 + icon_path = .icons/flattrcolor/status/24:.icons/flattrcolor/devices/48:.icons/flattrcolor/apps/scalable:.icons/flattrcolor/actions/scalable + + ### History ### + sticky_history = yes + history_length = 20 + + ### Misc/Advanced ### + dmenu = /usr/bin/rofi -show run -p dunst: + browser = /usr/bin/google-chrome-stable + always_run_script = true + title = Dunst + class = Dunst + startup_notification = false + force_xinerama = false + +[experimental] + per_monitor_dpi = false + +[shortcuts] + close = ctrl+space + close_all = ctrl+shift+space + context = ctrl+shift+period + +[urgency_low] + background = colors.background + foreground = colors.foreground + timeout = 10 + +[urgency_normal] + background = colors.background + foreground = colors.foreground + timeout = 10 + +[urgency_critical] + background = colors.background + foreground = colors.foreground + frame_color = "{color9}" + timeout = 0 diff --git a/.config/wpg/templates/gtk2 b/.config/wpg/templates/gtk2 new file mode 120000 index 0000000..dfc5d52 --- /dev/null +++ b/.config/wpg/templates/gtk2 @@ -0,0 +1 @@ +/home/atc/.local/share/themes/FlatColor/gtk-2.0/gtkrc \ No newline at end of file diff --git a/.config/wpg/templates/gtk2.base b/.config/wpg/templates/gtk2.base new file mode 100644 index 0000000..f0a9029 --- /dev/null +++ b/.config/wpg/templates/gtk2.base @@ -0,0 +1,797 @@ +#modded Numix gtkrc + +gtk-color-scheme = "bg_color:{color0} +color0:{color0} +color1:{color1} +color2:{color2} +color3:{color3} +color4:{color4} +color5:{color5} +color6:{color6} +color7:{color7} +color8:{color8} +color9:{color9} +color10:{color10} +color11:{color11} +color12:{color12} +color13:{color13} +color14:{color14} +color15:{color15} +text_color:{color15} +selected_bg_color:{active} +selected_fg_color:{color15} +tooltip_bg_color:{color0} +tooltip_fg_color:{color15} +titlebar_bg_color:{color0} +titlebar_fg_color:{color15} +menu_bg_color:{color0} +menu_fg_color:{color15} +link_color:{active}" +gtk-auto-mnemonics = 1 + +# Default Style +# DO --NOT-- CHANGE ACTIVE +# IT's THE COLOR THAT WPGTK REPLACES +# FEEL FREE TO MODIFY EVERYTHING ELSE IN gtkrc.base + +style "murrine-default" {{ + GtkArrow::arrow-scaling= 0.6 + + GtkButton::child-displacement-x = 0 + GtkButton::child-displacement-y = 0 + + GtkButton::default-border = {{ 0, 0, 0, 0 }} + + GtkButtonBox::child-min-height = 26 + + GtkCheckButton::indicator-size = 16 + + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + GtkEntry::honors-transparent-bg-hint = 1 + GtkEntry::state-hint = 0 + + GtkExpander::expander-size = 16 + + GtkImage::x-ayatana-indicator-dynamic = 1 + + GtkMenu::horizontal-padding = 0 + GtkMenu::vertical-padding = 0 + + GtkMenuBar::internal-padding = 0 + GtkMenuBar::window-dragging = 1 + + GtkMenuItem::arrow-scaling= 0.5 + + GtkPaned::handle-size = 1 + + GtkProgressBar::min-horizontal-bar-height = 12 + GtkProgressBar::min-vertical-bar-width = 12 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 8 + GtkRange::stepper-size = 12 + GtkRange::stepper_spacing = 0 + GtkRange::trough-under-steppers = 1 + + GtkScale::slider-length = 16 + GtkScale::slider-width = 16 + GtkScale::trough-side-details = 1 + + GtkScrollbar::activate-slider = 1 + GtkScrollbar::has-backward-stepper = 0 + GtkScrollbar::has-forward-stepper = 0 + GtkScrollbar::has-secondary-backward-stepper = 0 + GtkScrollbar::has-secondary-forward-stepper = 0 + GtkScrollbar::min-slider-length = 80 + GtkScrollbar::slider-width = 8 + GtkScrollbar::trough-border = 0 + + GtkScrolledWindow::scrollbar-spacing = 0 + GtkScrolledWindow::scrollbars-within-bevel = 1 + + GtkSeparatorMenuItem::horizontal-padding = 0 + + GtkToolbar::internal-padding = 0 + + GtkTreeView::expander-size = 11 + GtkTreeView::vertical-separator = 0 + + GtkWidget::focus-line-width = 1 + # The following line prevents the Firefox tabs + # from jumping a few pixels when you create a new tab + GtkWidget::focus-padding = 0 + + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 1 + GtkWidget::separator-height = 1 + + GtkWindow::resize-grip-height = 0 + GtkWindow::resize-grip-width = 0 + + WnckTasklist::fade-overlay-rect = 0 + + GnomeHRef::link_color = @link_color + GtkHTML::link-color = @link_color + GtkIMHtmlr::hyperlink-color = @link_color + GtkIMHtml::hyperlink-color = @link_color + GtkWidget::link-color = @link_color + GtkWidget::visited-link-color = @text_color + + GtkToolbar::shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified + GtkMenuBar::shadow-type = GTK_SHADOW_NONE # Makes menubars flat and unified + + xthickness = 1 + ythickness = 1 + + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @text_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color) + + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @bg_color + bg[INSENSITIVE] = @bg_color + + base[NORMAL] = shade(0.85, @color0) + base[PRELIGHT] = shade (0.85, @color0) + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + base[INSENSITIVE] = shade (0.85, @bg_color) + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @bg_color, @text_color) + + engine "murrine" {{ + animation = FALSE + arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows + border_shades = {{ 1.0, 1.0 }} # gradient to draw on border + colorize_scrollbar = TRUE + comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow + contrast = 0.0 # overal contrast with borders + focusstyle = 1 # 0 = none, 1 = grey dotted, 2 = colored with fill, 3 = colored glow + glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave, 3 = top curved highlight, 4 = beryl highlight + glowstyle = 0 # 0 = glow on top, 1 = glow on bottom, 2 = glow on top and bottom, 3 = glow on middle vertically, 4 = glow on middle horizontally, 5 = glow on all sides + glow_shade = 1.0 # amount of glow + gradient_shades = {{ 1.0, 1.0, 1.0, 1.0 }} # gradient to draw on widgets + highlight_shade = 1.0 # amount of highlight + lightborder_shade = 1.0 # amount of inset light border + lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides + listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised + listviewstyle = 0 # 0 = none, 1 = dotted, 2 = line + menubaritemstyle = 0 # 0 = menuitem look, 1 = button look + menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped + menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped + menustyle = 0 # 0 = none, 1 = vertical striped + progressbarstyle = 0 # 0 = none, 1 = diagonal striped, 2 = vertical striped + reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient + roundness = 0 # roundness of widgets + scrollbarstyle = 0 # 0 = none, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles + sliderstyle = 0 # 0 = none, 1 = handles + stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles + toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient + }} +}} + +style "murrine-wide" {{ + xthickness = 2 + ythickness = 2 +}} + +style "murrine-wider" {{ + xthickness = 3 + ythickness = 3 +}} + +style "murrine-thin" {{ + xthickness = 0 + ythickness = 0 +}} + +# Notebook + +style "murrine-notebook-bg" {{ + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade (0.70, @bg_color) +}} + +style "murrine-notebook" = "murrine-notebook-bg" {{ + xthickness = 2 + ythickness = 2 + + engine "murrine" {{ + roundness = 0 + }} +}} + +# Various Standard Widgets + +style "murrine-button" = "murrine-wider" {{ + bg[NORMAL] = shade (1.3, @bg_color) + bg[PRELIGHT] = shade (0.80, @selected_bg_color) + bg[ACTIVE] = shade (1.00, @selected_bg_color) + bg[INSENSITIVE] = shade (0.85, @bg_color) + + engine "murrine" {{ + }} +}} + +style "murrine-scrollbar" {{ + bg[NORMAL] = @bg_color + bg[PRELIGHT] = mix (0.31, @text_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" {{ + roundness = 0 + contrast = 0.0 + border_shades = {{ 0.9, 0.9 }} + trough_shades = {{ 0.97, 0.97 }} + trough_border_shades = {{ 1.0, 1.0 }} + }} +}} + +style "murrine-overlay-scrollbar" {{ + bg[ACTIVE] = shade (0.8, @bg_color) + bg[INSENSITIVE] = shade (0.97, @bg_color) + + base[SELECTED] = shade (0.6, @bg_color) + base[INSENSITIVE] = shade (0.85, @bg_color) +}} + +style "murrine-scale" = "murrine-thin" {{ + bg[NORMAL] = @bg_color + bg[ACTIVE] = @bg_color + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = shade (0.95, @bg_color) + + engine "murrine" {{ + roundness = 8 + gradient_shades = {{ 1.08, 1.08, 1.08, 1.08 }} + border_shades = {{ 1.0, 1.0 }} + trough_shades = {{ 1.08, 1.08 }} + trough_border_shades = {{ 0.8, 0.8 }} + }} +}} + +style "murrine-progressbar" = "murrine-thin" {{ + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade(0.60, @bg_color) + + fg[PRELIGHT] = @selected_fg_color + + engine "murrine" {{ + roundness = 0 + border_shades = {{ 1.2, 1.2 }} + trough_border_shades = {{ 0.8, 0.8 }} + }} +}} + +style "murrine-treeview-header" = "murrine-button" {{ + engine "murrine" {{ + roundness = 0 + }} +}} + +style "murrine-treeview" {{ + engine "murrine" {{ + roundness = 0 + }} +}} + +style "murrine-frame-title" {{ + fg[NORMAL] = lighter (@text_color) +}} + +style "murrine-tooltips" {{ + xthickness = 5 + ythickness = 5 + + bg[NORMAL] = @tooltip_bg_color + bg[SELECTED] = @tooltip_bg_color + + fg[NORMAL] = @text_color + + engine "murrine" {{ + textstyle = 0 + roundness = 0 + rgba = FALSE + }} +}} + +style "murrine-spinbutton" = "murrine-button" {{ + engine "murrine" {{ + }} +}} + +style "murrine-radiocheck" = "murrine-default" {{ + bg[SELECTED] = @bg_color + + text[NORMAL] = @selected_bg_color + text[PRELIGHT] = @selected_bg_color +}} + +style "murrine-entry" = "murrine-wider" {{ + bg[SELECTED] = @selected_bg_color + + engine "murrine" {{ + border_shades = {{ 1.15, 1.15 }} + }} +}} + +style "metacity-frame" = "murrine-default" {{ + bg[SELECTED] = @selected_bg_color +}} + +style "murrine-statusbar" {{ + bg[NORMAL] = @bg_color +}} +style "murrine-comboboxentry" = "murrine-entry" {{ }} +style "murrine-hscale" = "murrine-scale" {{ }} +style "murrine-vscale" = "murrine-scale" {{ }} +style "murrine-hscrollbar" = "murrine-scrollbar" {{ }} +style "murrine-vscrollbar" = "murrine-scrollbar" {{ }} + +# Menus + +style "murrine-menu" = "murrine-thin" {{ + bg[NORMAL] = shade(0.8, @menu_bg_color) + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @menu_bg_color + bg[INSENSITIVE] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + text[NORMAL] = @menu_fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" {{ + roundness = 0 + }} +}} + +style "murrine-menu-item" = "murrine-wider" {{ + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color # Fix for XFCE menu text + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" {{ + textstyle = 0 + border_shades = {{ 1.2, 1.2 }} + }} +}} + +style "murrine-separator-menu-item" = "murrine-thin" {{ }} + +style "murrine-menubar" {{ + bg[NORMAL] = @bg_color + bg[PRELIGHT] = mix (0.21, @text_color, @bg_color) + bg[SELECTED] = mix (0.21, @text_color, @bg_color) + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + fg[NORMAL] = @text_color + fg[PRELIGHT] = shade (1.08, @text_color) + fg[SELECTED] = shade (1.08, @text_color) + fg[ACTIVE] = @text_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color) + + engine "murrine" {{ + roundness = 0 + }} +}} + +style "murrine-menubaritem" {{ + bg[NORMAL] = @bg_color + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + fg[NORMAL] = @text_color + fg[PRELIGHT] = shade (1.08, @text_color) + fg[SELECTED] = shade (1.08, @text_color) + fg[ACTIVE] = @text_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color) + + engine "murrine" {{ + roundness = 0 + }} +}} + +# Toolbars + +style "murrine-toolbar" = "murrine-thin" {{ + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @text_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color) + + engine "murrine" {{ + }} +}} + +style "murrine-toolbutton" = "murrine-button" {{ + bg[NORMAL] = shade (1.08, @bg_color) + bg[PRELIGHT] = shade (1.10, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.95, @bg_color) + bg[INSENSITIVE] = shade (0.85, @bg_color) + + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @text_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color) + + engine "murrine" {{ + }} +}} + +class "GtkToolbar" style "murrine-toolbar" +class "GtkHandleBox" style "murrine-toolbar" +widget_class "*Toolbar*.*Separator*" style "murrine-toolbar" + +# Panels + +style "murrine-panel" = "murrine-thin" {{ + xthickness = 2 + + bg[NORMAL] = @menu_bg_color + bg[PRELIGHT] = shade(0.8, @selected_bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @selected_bg_color + bg[INSENSITIVE] = @menu_bg_color + + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @text_color + fg[ACTIVE] = @text_color + fg[INSENSITIVE] = shade(0.8, @text_color) + + base[NORMAL] = @menu_bg_color + base[PRELIGHT] = mix (0.21, @text_color, @menu_bg_color) + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + base[INSENSITIVE] = @menu_bg_color + + text[NORMAL] = @text_color + text[PRELIGHT] = shade (1.08, @text_color) + text[SELECTED] = shade (1.08, @text_color) + text[ACTIVE] = @text_color + text[INSENSITIVE] = mix (0.5, @menu_bg_color, @text_color) + + engine "murrine" {{ + roundness = 0 + contrast = 0.0 + }} +}} + +widget "*PanelWidget*" style "murrine-panel" +widget "*PanelApplet*" style "murrine-panel" +widget "*fast-user-switch*" style "murrine-panel" +widget "*CPUFreq*Applet*" style "murrine-panel" +widget "*indicator-applet*" style "murrine-panel" +class "PanelApp*" style "murrine-panel" +class "PanelToplevel*" style "murrine-panel" +widget_class "*PanelToplevel*" style "murrine-panel" +widget_class "*notif*" style "murrine-panel" +widget_class "*Notif*" style "murrine-panel" +widget_class "*Tray*" style "murrine-panel" +widget_class "*tray*" style "murrine-panel" +widget_class "*computertemp*" style "murrine-panel" +widget_class "*Applet*Tomboy*" style "murrine-panel" +widget_class "*Applet*Netstatus*" style "murrine-panel" +widget "*gdm-user-switch-menubar*" style "murrine-panel" + +style "bold-panel-item" {{ + font_name = "Bold" + + engine "murrine" {{ + roundness = 0 + }} +}} + +widget "*Panel*MenuBar*" style "bold-panel-item" +widget "*gimmie*" style "bold-panel-item" + +# widget_class "*Mail*" style "murrine-panel" # Disabled to fix Evolution bug +# class "*Panel*" style "murrine-panel" # Disabled to fix bug + +# XFCE Styles + +style "workspace-switcher" = "murrine-panel" {{ + bg[SELECTED] = @selected_bg_color +}} + +style "xfce-header" {{ + bg[NORMAL] = shade (0.9, @bg_color) + base[NORMAL] = shade (1.18, @bg_color) +}} + +style "xfdesktop-windowlist" {{ + bg[NORMAL] = @bg_color + fg[INSENSITIVE] = shade (0.95, @bg_color) + text[INSENSITIVE] = shade (0.95, @bg_color) +}} + +style "xfdesktop-icon-view" {{ + XfdesktopIconView::label-alpha = 0 + XfdesktopIconView::selected-label-alpha = 60 + XfdesktopIconVIew::ellipsize-icon-labels = 1 + + base[NORMAL] = @selected_bg_color + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + + fg[NORMAL] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + + engine "murrine" {{ + textstyle = 5 + text_shade = 0.05 + }} +}} + +style "xfwm-tabwin" {{ + Xfwm4TabwinWidget::border-width = 0 + Xfwm4TabwinWidget::icon-size = 64 + + bg[NORMAL] = @menu_bg_color + fg[NORMAL] = @menu_fg_color + + engine "murrine" {{ + focusstyle = 0 + }} +}} + +style "xfsm-logout" {{ + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = @menu_bg_color + bg[PRELIGHT] = shade (1.1, @menu_bg_color) + bg[SELECTED] = shade (0.5, @menu_bg_color) + bg[INSENSITIVE] = shade (1.3, @menu_bg_color) + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color + + text[NORMAL] = @menu_fg_color + + engine "murrine" {{ + }} +}} + +style "xfsm-logout-button" {{ + bg[NORMAL] = shade (1.2, @menu_bg_color) + bg[PRELIGHT] = shade (1.4, @menu_bg_color) + + engine "murrine" {{ + }} +}} + +widget "*WnckPager*" style "workspace-switcher" + +widget "*Xfce*Panel*" style "murrine-panel" +class "*Xfce*Panel*" style "murrine-panel" + +# Thunar Styles + +style "sidepane" {{ + base[NORMAL] = @bg_color + base[INSENSITIVE] = shade(0.90, @bg_color) + bg[NORMAL] = @bg_color + text[NORMAL] = @text_color +}} + +widget_class "*ThunarShortcutsView*" style "sidepane" +widget_class "*ThunarTreeView*" style "sidepane" +widget_class "*ThunarLocationEntry*" style "murrine-entry" + +# Gtk2 Open-File Dialog + +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane" +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.." style "murrine-treeview-header" + +# Google Chrome/Chromium Styles (requires 9.0.597 or newer) + +style "chromium-toolbar-button" {{ + engine "murrine" {{ + roundness = 2 + textstyle = 0 + }} +}} + +style "chrome-gtk-frame" {{ + ChromeGtkFrame::frame-color = @titlebar_bg_color + ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::frame-gradient-size = 0 + ChromeGtkFrame::frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color + ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-gradient-size = 0 + ChromeGtkFrame::incognito-frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::scrollbar-trough-color = @bg_color + ChromeGtkFrame::scrollbar-slider-normal-color = mix (0.21, @text_color, @bg_color) + ChromeGtkFrame::scrollbar-slider-prelight-color = mix (0.31, @text_color, @bg_color) +}} + +class "ChromeGtkFrame" style "chrome-gtk-frame" + +widget_class "*Chrom*Button*" style "chromium-toolbar-button" + +# General Styles + +class "GtkWidget" style "murrine-default" + +class "GtkFrame" style "murrine-wide" +class "MetaFrames" style "metacity-frame" +class "GtkWindow" style "metacity-frame" + +class "GtkSeparator" style "murrine-wide" +class "GtkCalendar" style "murrine-wide" + +class "GtkSpinButton" style "murrine-spinbutton" + +class "GtkScale" style "murrine-scale" +class "GtkVScale" style "murrine-vscale" +class "GtkHScale" style "murrine-hscale" +class "GtkScrollbar" style "murrine-scrollbar" +class "GtkVScrollbar" style "murrine-vscrollbar" +class "GtkHScrollbar" style "murrine-hscrollbar" + +class "GtkRadio*" style "murrine-radiocheck" +class "GtkCheck*" style "murrine-radiocheck" + +class "GtkEntry" style "murrine-entry" + +widget_class "*" style "murrine-notebook" +widget_class "**" style "murrine-notebook-bg" +widget_class "**" style "murrine-notebook-bg" +widget_class "**" style "murrine-notebook-bg" +widget_class "*.GtkNotebook.*.GtkViewport" style "murrine-notebook" + +widget_class "*" style "murrine-button" +widget_class "**" style "murrine-statusbar" +widget_class "*" style "murrine-progressbar" +widget_class "*" style "murrine-progressbar" + +widget_class "**" style "murrine-comboboxentry" +widget_class "**" style "murrine-comboboxentry" + +widget_class "**" style "murrine-menu" +widget_class "**" style "murrine-menu-item" +widget_class "**" style "murrine-separator-menu-item" +widget_class "*Menu*.*Sepa*" style "murrine-separator-menu-item" +widget_class "**" style "murrine-menubar" +widget_class "***" style "murrine-menubaritem" + +widget_class "*GtkToolButton*" style "murrine-toolbutton" +widget_class "*GtkToggleToolButton*" style "murrine-toolbutton" +widget_class "*GtkMenuToolButton*" style "murrine-toolbutton" +widget_class "*GtkToolbar*Button" style "murrine-toolbutton" + +widget_class "*.." style "murrine-frame-title" + +widget_class "*.*" style "murrine-treeview" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" + +widget "gtk-tooltip*" style "murrine-tooltips" + +widget_class "**" style "murrine-overlay-scrollbar" + +# Workarounds and Non-Standard Styling + +style "text-is-fg-color-workaround" {{ + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @text_color + text[INSENSITIVE] = mix (0.5, @bg_color, @text_color) +}} + +widget_class "*.." style "text-is-fg-color-workaround" + +style "fg-is-text-color-workaround" {{ + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[ACTIVE] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@text_color) +}} + +widget_class "**" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" + +style "murrine-evo-new-button-workaround" {{ + engine "murrine" {{ + toolbarstyle = 0 + }} +}} + +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround" + +style "inkscape-toolbar-fix" {{ + engine "murrine" {{ + gradient_shades = {{ 1.0, 1.0, 1.0, 1.0 }} + highlight_shade = 1.0 + }} +}} + +#widget "*GtkHandleBox*" style "inkscape-toolbar-fix" +#widget "*HandleBox*CommandsToolbar*" style "inkscape-toolbar-fix" +#widget "*HandleBox*SnapToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SelectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*NodeToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*TweakToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ZoomToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*StarToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*RectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*3DBoxToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ArcToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SpiralToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PencilToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PenToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*CalligraphyToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*EraserToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*LPEToolToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*DropperToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ConnectorToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PaintbucketToolbar*" style "inkscape-toolbar-fix" + +# Performance Fixes + +style "performance-fix" {{ + engine "murrine" {{ + textstyle = 0 + }} +}} + +widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape +widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp +widget_class "*GimpToolbox*" style "performance-fix" +widget_class "*GimpMenuDock*" style "performance-fix" +widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice +widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.) + +widget_class "*XfceHeading*" style "xfce-header" +widget_class "*XfceDesktop*" style "xfdesktop-windowlist" +widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" +widget "xfwm4-tabwin*" style "xfwm-tabwin" +widget_class "*XfsmLogoutDialog*" style "xfsm-logout" +widget_class "*XfsmLogoutDialog*GtkButton" style "xfsm-logout-button" diff --git a/.config/wpg/templates/gtk3.0 b/.config/wpg/templates/gtk3.0 new file mode 120000 index 0000000..4fb3328 --- /dev/null +++ b/.config/wpg/templates/gtk3.0 @@ -0,0 +1 @@ +/home/atc/.local/share/themes/FlatColor/gtk-3.0/gtk.css \ No newline at end of file diff --git a/.config/wpg/templates/gtk3.0.base b/.config/wpg/templates/gtk3.0.base new file mode 100644 index 0000000..bea8499 --- /dev/null +++ b/.config/wpg/templates/gtk3.0.base @@ -0,0 +1,93 @@ + +/* Default color scheme */ +@define-color bg_color {color0}; +@define-color fg_color {color15}; +@define-color base_color {color1}; +@define-color text_color {color15}; +@define-color selected_bg_color {active}; +@define-color selected_fg_color {color15}; +@define-color tooltip_bg_color {color0}; +@define-color tooltip_fg_color {color15}; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color @bg_color; +@define-color theme_fg_color @fg_color; +@define-color theme_base_color @base_color; +@define-color theme_text_color @text_color; +@define-color theme_selected_bg_color @selected_bg_color; +@define-color theme_selected_fg_color @selected_fg_color; +@define-color theme_tooltip_bg_color @tooltip_bg_color; +@define-color theme_tooltip_fg_color @tooltip_fg_color; + +/* shadow effects */ +@define-color light_shadow #eeeeee; +@define-color dark_shadow #222222; + +/* misc colors used by gtk+ */ +@define-color info_fg_color white; +@define-color info_bg_color #BACF66; +@define-color warning_fg_color white; +@define-color warning_bg_color #E6A682; +@define-color question_fg_color white; +@define-color question_bg_color #74C47B; +@define-color error_fg_color white; +@define-color error_bg_color #E682C8; +@define-color link_color mix (@theme_selected_bg_color, black, 0.15); +@define-color success_color #53a93f; +@define-color warning_color #f57900; +@define-color error_color #cc0000; + +/* widget colors*/ +@define-color border_color #363D43; +@define-color button_normal_color #3F474A; +@define-color button_info_color #72B279; +@define-color button_default_active_color shade(@theme_selected_bg_color, 0.857); +@define-color entry_border_color shade(@theme_base_color, 0.9); +@define-color frame_border_bottom_color #E3E4E7; +@define-color sel_color #B98CD7; +@define-color switch_bg_color #C9CBCF; +@define-color panel_bg_color @bg_color; +@define-color panel_fg_color @fg_color; +@define-color borders #FAFAFA; +@define-color scrollbar_trough shade(@theme_base_color, 0.9); +@define-color scrollbar_slider_prelight mix(@scrollbar_trough, @theme_fg_color, 0.5); + + +/* osd */ +@define-color osd_separator #49525B; +@define-color osd_fg #ABB4BD; +@define-color osd_bg #434A54; + +/* window manager colors */ +@define-color wm_bg @theme_bg_color; +@define-color wm_title_focused @theme_fg_color; +@define-color wm_title_unfocused @theme_text_color; +@define-color wm_border_focused @border_color; +@define-color wm_border_unfocused @border_color; + +@import url("gtk-widgets.css"); +@import url("gtk-widgets-assets.css"); +@import url("unity.css"); +@import url("widgets/button.css"); +@import url("widgets/cell-row.css"); +@import url("widgets/check-radio.css"); +@import url("widgets/column-header.css"); +@import url("widgets/calendar.css"); +@import url("widgets/entry.css"); +@import url("widgets/infobar.css"); +@import url("widgets/menu.css"); +@import url("widgets/notebook.css"); +@import url("widgets/progress-scale.css"); +@import url("widgets/scrollbar.css"); +@import url("widgets/separator.css"); +@import url("widgets/sidebar.css"); +@import url("widgets/spinbutton.css"); +@import url("widgets/spinner.css"); +@import url("widgets/switch.css"); +@import url("widgets/color-chooser.css"); +@import url("widgets/toolbar.css"); +@import url("widgets/header-bar.css"); +@import url("widgets/osd.css"); +@import url("widgets/csd.css"); +@import url("widgets/combobox.css"); +@import url("widgets/selection-mode.css"); diff --git a/.config/wpg/templates/gtk3.20 b/.config/wpg/templates/gtk3.20 new file mode 120000 index 0000000..c1726f1 --- /dev/null +++ b/.config/wpg/templates/gtk3.20 @@ -0,0 +1 @@ +/home/atc/.local/share/themes/FlatColor/gtk-3.20/gtk.css \ No newline at end of file diff --git a/.config/wpg/templates/gtk3.20.base b/.config/wpg/templates/gtk3.20.base new file mode 100644 index 0000000..08b9fba --- /dev/null +++ b/.config/wpg/templates/gtk3.20.base @@ -0,0 +1,108 @@ +/* Default color scheme */ +@define-color color0 {color0}; +@define-color color1 {color1}; +@define-color color2 {color2}; +@define-color color3 {color3}; +@define-color color4 {color4}; +@define-color color5 {color5}; +@define-color color6 {color6}; +@define-color color7 {color7}; +@define-color color8 {color8}; +@define-color color9 {color9}; +@define-color color10 {color10}; +@define-color color11 {color11}; +@define-color color12 {color12}; +@define-color color13 {color13}; +@define-color color14 {color14}; +@define-color color15 {color15}; +@define-color selected_bg_color {active}; +@define-color bg_color mix(@color0, @color15, 0.12); +@define-color tooltip_bg_color mix(@color0, @color15, 0.04); +@define-color base_color mix(@color0, @color15, 0); +@define-color fg_color @color15; +@define-color text_color @color15; +@define-color selected_fg_color @color15; +@define-color tooltip_fg_color @color15; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color @bg_color; +@define-color theme_fg_color @fg_color; +@define-color theme_base_color @base_color; +@define-color theme_text_color @text_color; +@define-color theme_selected_bg_color @selected_bg_color; +@define-color theme_selected_fg_color @selected_fg_color; +@define-color theme_tooltip_bg_color @tooltip_bg_color; +@define-color theme_tooltip_fg_color @tooltip_fg_color; + +/* shadow effects */ +@define-color light_shadow #eeeeee; +@define-color dark_shadow #222222; + +/* misc colors used by gtk+ */ +@define-color info_fg_color @text_color; +@define-color info_bg_color @bg_color; +@define-color warning_fg_color @text_color; +@define-color warning_bg_color @bg_color; +@define-color question_fg_color @text_color; +@define-color question_bg_color @theme_selected_bg_color; +@define-color error_fg_color @text_color; +@define-color error_bg_color #f52400; +@define-color link_color mix (@theme_selected_bg_color, black, 0.15); +@define-color success_color #53a93f; +@define-color warning_color #f57900; +@define-color error_color #f52400; + +/* widget colors*/ +@define-color border_color shade(@theme_selected_bg_color, 0.2); +@define-color button_normal_color shade(@theme_bg_color, 1.20); +@define-color button_info_color @theme_selected_bg_color; +@define-color button_default_active_color @theme_selected_bg_color; +@define-color entry_border_color shade(@theme_base_color, 0.9); +@define-color frame_border_bottom_color shade(@bg_color, 0.8); +@define-color sel_color shade(@theme_selected_bg_color, 0.857); +@define-color switch_bg_color shade(@bg_color, 0.8); +@define-color panel_bg_color @bg_color; +@define-color panel_fg_color @fg_color; +@define-color borders shade(@theme_selected_bg_color, 0.857); +@define-color scrollbar_trough shade(@theme_base_color, 0.9); +@define-color scrollbar_slider_prelight mix(@scrollbar_trough, @theme_fg_color, 0.5); + + +/* osd */ +@define-color osd_separator #49525B; +@define-color osd_fg #ABB4BD; +@define-color osd_bg #434A54; + +/* window manager colors */ +@define-color wm_bg @theme_bg_color; +@define-color wm_title_focused @theme_fg_color; +@define-color wm_title_unfocused @theme_text_color; +@define-color wm_border_focused @border_color; +@define-color wm_border_unfocused @border_color; + +@import url("gtk-widgets.css"); +@import url("unity.css"); +@import url("widgets/button.css"); +@import url("widgets/cell-row.css"); +@import url("widgets/check-radio.css"); +@import url("widgets/column-header.css"); +@import url("widgets/calendar.css"); +@import url("widgets/entry.css"); +@import url("widgets/infobar.css"); +@import url("widgets/menu.css"); +@import url("widgets/notebook.css"); +@import url("widgets/progress-scale.css"); +@import url("widgets/scrollbar.css"); +@import url("widgets/separator.css"); +@import url("widgets/sidebar.css"); +@import url("widgets/chrome.css"); +@import url("widgets/spinbutton.css"); +@import url("widgets/spinner.css"); +@import url("widgets/switch.css"); +@import url("widgets/color-chooser.css"); +@import url("widgets/toolbar.css"); +@import url("widgets/header-bar.css"); +@import url("widgets/osd.css"); +@import url("widgets/csd.css"); +@import url("widgets/combobox.css"); +@import url("widgets/selection-mode.css"); diff --git a/.config/wpg/templates/i3 b/.config/wpg/templates/i3 new file mode 120000 index 0000000..66954d9 --- /dev/null +++ b/.config/wpg/templates/i3 @@ -0,0 +1 @@ +/home/atc/.config/i3/config \ No newline at end of file diff --git a/.config/wpg/templates/i3.base b/.config/wpg/templates/i3.base new file mode 100644 index 0000000..c216586 --- /dev/null +++ b/.config/wpg/templates/i3.base @@ -0,0 +1,229 @@ +## i3 config file (v4) +## +## Please see https://i3wm.org/docs/userguide.html for a complete reference! + +## GENERAL +font pango:sans-serif 13 +set $display_primary DP-3 +set $display_secondary VGA-0 +set $locker xautolock -locknow +set $mod Mod1 +set $sigaudio pkill -75 i3blocks + +## WORKSPACES +set $ws1 "1:󰖟" +set $ws2 "2:󰲢" +set $ws3 "3:󰲤" +set $ws4 "4:󰲦" +set $ws5 "5:󰲨" +set $ws6 "6:󰲪" +set $ws7 "7:󰲬" +set $ws8 "8:󰲮" +set $ws9 "9:󰣀" +set $ws10 "10:󰭹" +workspace $ws10 output $display_secondary + +# switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# move focused container to workspace +bindsym $mod+shift+1 move container to workspace $ws1 +bindsym $mod+shift+2 move container to workspace $ws2 +bindsym $mod+shift+3 move container to workspace $ws3 +bindsym $mod+shift+4 move container to workspace $ws4 +bindsym $mod+shift+5 move container to workspace $ws5 +bindsym $mod+shift+6 move container to workspace $ws6 +bindsym $mod+shift+7 move container to workspace $ws7 +bindsym $mod+shift+8 move container to workspace $ws8 +bindsym $mod+shift+9 move container to workspace $ws9 +bindsym $mod+shift+0 move container to workspace $ws10 + +## GAPS/BORDERS +default_border pixel 5 +default_floating_border normal +gaps inner 10 +smart_borders no_gaps +title_align center +workspace_auto_back_and_forth yes + +# Note: if there's only one container, give it a 4:3-ish aspect ratio +gaps horizontal 220 +smart_gaps inverse_outer + + +## COLORS +# base colors -- set by WPG +set $coloract "{active}" +set $colorin "{inactive}" +set_from_resource $color0 i3wm.color0 "{color0}" +set_from_resource $color15 i3wm.color15 "{color15}" +set_from_resource $color8 i3wm.color8 "{color8}" +set_from_resource $coloru i3wm.color2 "{color2}" +set_from_resource $split i3wm.color10 "{color10}" + +# class border backgr text indicator child_border +client.background $color0 +client.focused $coloract $coloract $color15 $split $coloract +client.focused_inactive $coloract $coloract $color15 $split $colorin +client.placeholder $color0 $color8 $color15 $color0 $color8 +client.unfocused $colorin $colorin $color15 $split $colorin +client.urgent $coloru $coloru $color15 $coloru $coloru + +## WINDOW CONTROL +# movement +floating_modifier $mod +set $down j +set $left h +set $right l +set $up k + +# change focus +bindsym $mod+$down focus down +bindsym $mod+$left focus left +bindsym $mod+$right focus right +bindsym $mod+$up focus up + +# move focused window +bindsym $mod+shift+$down move down +bindsym $mod+shift+$left move left +bindsym $mod+shift+$right move right +bindsym $mod+shift+$up move up + +# resize +bindsym $mod+i resize grow height 30 px or 10 ppt +bindsym $mod+o resize grow width 30 px or 10 ppt +bindsym $mod+u resize shrink height 30 px or 10 ppt +bindsym $mod+y resize shrink width 30 px or 10 ppt +bindsym $mod+minus gaps outer current minus 10 +bindsym $mod+plus gaps outer current plus 10 +bindsym $mod+shift+minus gaps inner current minus 10 +bindsym $mod+shift+plus gaps inner current plus 10 + +## LAYOUT +# split direction +bindsym $mod+q split toggle + +# fullscreen mode +bindsym $mod+f fullscreen toggle + +# container layout +bindsym $mod+shift+w layout tabbed +bindsym $mod+shift+e layout toggle split + +# toggle tiling / floating +bindsym $mod+shift+space floating toggle +bindsym $mod+s sticky toggle +bindsym $mod+shift+s floating toggle; sticky toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +## SHORTCUTS +bindsym $mod+shift+F1 exec --no-startup-id firefox /usr/local/share/doc/freebsd/handbook/book.html +bindsym $mod+F2 exec --no-startup-id firefox +bindsym $mod+F3 exec i3-filescmd.sh +bindsym $mod+F4 exec i3-mailcmd.sh +bindsym $mod+F5 exec i3-newsboatcmd.sh +bindsym $mod+F6 exec yt.sh +bindsym $mod+F7 exec dict.sh +bindsym $mod+F8 exec toggle-docked.sh +bindsym $mod+shift+F8 exec toggle-compositing.sh +bindsym $mod+F9 exec abraham-porter.sh +bindsym $mod+F10 exec toggle-webcam.sh +bindsym $mod+Shift+F10 exec toggle-screencast.sh +bindsym $mod+F11 exec xautolock -toggle +bindsym $mod+F12 exec i3-mixercmd.sh +bindsym $mod+Return split horizontal; exec alacritty +bindsym $mod+Shift+Return split vertical; exec alacritty +bindsym $mod+Shift+Insert exec --no-startup-id $locker +bindsym $mod+Tab exec i3-msg workspace back_and_forth +bindsym $mod+a exec rofi -show run +bindsym $mod+shift+q kill +bindsym --release Print exec i3-screeniecmd.sh +bindsym --release shift+Print exec i3-screenie_regioncmd.sh +bindsym Mod4+p exec arandr +bindsym XF86AudioLowerVolume exec mixer vol -5 && $sigaudio +bindsym XF86AudioMute exec mixer vol 0 && $sigaudio +bindsym XF86AudioRaiseVolume exec mixer vol +5 && $sigaudio + +# scratchpad terminal +bindsym $mod+shift+p move scratchpad +bindsym $mod+p scratchpad show + +# reload the configuration file +bindsym $mod+shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+shift+r restart + +## MODES AND BARS +set $mode_display 󰍺 +mode "$mode_display" {{ + bindsym $left move workspace to output left + bindsym $right move workspace to output right + bindsym Return mode "default" + bindsym q mode "default" + bindsym Escape mode "default" +}} + +set $mode_system 󰌾l 󰩈e 󰤄s 󰤁r 󰤂shift+s +mode "$mode_system" {{ + bindsym e exec --no-startup-id i3-msg exit, mode "default" + bindsym l exec --no-startup-id $locker, mode "default" + bindsym s exec --no-startup-id $locker && sleep 2 && doas acpiconf -s3, mode "default" + bindsym r exec --no-startup-id doas reboot, mode "default" + bindsym shift+s exec --no-startup-id doas poweroff, mode "default" + bindsym Return mode "default" + bindsym q mode "default" + bindsym Escape mode "default" +}} + +set $mode_help 󱊫Help/Handbook 󱊬Browser 󱊭Files 󱊮Email 󱊯News 󱊰YouTube 󱊱Dictionary 󱊲Dock/Compositor 󱊳Ports 󱊴Webcam/Screencast 󱊵AutoLock-Toggle 󱊶Mixer +mode "$mode_help" {{ + bindsym Return mode "default" + bindsym q mode "default" + bindsym Escape mode "default" +}} + +bindsym $mod+d mode "$mode_display" +bindsym $mod+Insert mode "$mode_system" +bindsym $mod+F1 mode "$mode_help" + +## BARS +bar {{ + height 30 + output $display_primary + strip_workspace_numbers yes + position bottom + status_command i3blocks 2>/var/log/xinit/i3blocks.log + + colors {{ + background $color8 + statusline $color15 + separator $colorin + # class border background foreground + focused_workspace $color15 $coloract $color15 + active_workspace $color15 $coloract $color15 + inactive_workspace $split $colorin $color15 + urgent_workspace $coloru $coloru $color15 + }} +}} + +## DEFAULT PLACEMENT +for_window [class = "Wpg"] floating enable +for_window [title = "Reading Email"] floating enable +for_window [title = "Reading News"] floating enable +for_window [title = "Streaming from YouTube"] floating enable; sticky enable +for_window [title = "pwcview"] border pixel 1; floating enable; sticky enable; move position 1598px 808px +for_window [title = "sxiv"] floating enable + +## STARTUP +exec --no-startup-id firefox diff --git a/.config/wpg/templates/rofi b/.config/wpg/templates/rofi new file mode 120000 index 0000000..596369b --- /dev/null +++ b/.config/wpg/templates/rofi @@ -0,0 +1 @@ +/home/atc/.config/rofi/config \ No newline at end of file diff --git a/.config/wpg/templates/rofi.base b/.config/wpg/templates/rofi.base new file mode 100644 index 0000000..74b3d09 --- /dev/null +++ b/.config/wpg/templates/rofi.base @@ -0,0 +1,27 @@ +rofi.modi: run,window,ssh +rofi.width: 25 +rofi.lines: 25 +rofi.columns: 1 +rofi.font: Iosevka Etoile 14 +rofi.color-normal: {color0}, {color15}, {color0}, {active}, {color15} +rofi.color-urgent: {color0}, #d6b48d, #22231D, #d6b48d, {color15} +rofi.color-active: {color0}, {color14}, {color0}, {color14}, {color0} +rofi.color-window: {color0}, {active}, {inactive} +rofi.bw: 5 +rofi.location: 0 +rofi.padding: 5 +rofi.yoffset: 0 +rofi.xoffset: 0 +rofi.fixed-num-lines: true +rofi.terminal: rofi-sensible-terminal +rofi.ssh-client: ssh +rofi.ssh-command: {{terminal}} -e {{ssh-client}} {{host}} +rofi.run-command: {{cmd}} +rofi.parse-hosts: true +rofi.matching: normal +rofi.separator-style: none +rofi.scrollbar-width: 0 +rofi.kb-mode-next: Shift+Right,Control+Tab,Alt+l +rofi.kb-mode-previous: Shift+Left,Control+Shift+Tab,Alt+h +rofi.kb-row-up: Up,Control+p,Shift+Tab,Shift+ISO_Left_Tab,Alt+k +rofi.kb-row-down: Down,Control+n,Alt+j -- cgit v1.2.3