From 1342a4361404f6785690501efd20e2518cb90faf Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Wed, 14 Feb 2024 19:58:23 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20feat:=20Bootstrapping?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bash_logout | 3 + .bash_profile | 5 + .bashrc | 13 + .config/awesome/rc.lua | 564 +++++++++++++++++++ .config/copyq/copyq-commands.ini | 44 ++ .config/copyq/copyq-filter.ini | 2 + .config/copyq/copyq.conf | 2 + .config/copyq/copyq.lock | 5 + .config/copyq/copyq.pub | Bin 0 -> 32 bytes .config/copyq/copyq_geometry.ini | 2 + .config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat | Bin 0 -> 1457 bytes .config/copyq/copyq_tabs.ini | 3 + .config/dconf/user | Bin 0 -> 907 bytes .config/dotfiles.conf | 1 + .config/fish/conf.d/starship.fish | 3 + .config/fish/config.fish | 1 + .config/fish/fish_variables | 31 + .config/gh/config.yml | 17 + .config/gh/hosts.yml | 7 + .config/gtk-3.0/settings.ini | 2 + .config/starship.toml | 60 ++ .config/wezterm/wezterm.lua | 16 + .gitconfig | 6 + .icons/default/index.theme | 2 + 24 files changed, 789 insertions(+) create mode 100644 .bash_logout create mode 100644 .bash_profile create mode 100644 .bashrc create mode 100644 .config/awesome/rc.lua create mode 100644 .config/copyq/copyq-commands.ini create mode 100644 .config/copyq/copyq-filter.ini create mode 100644 .config/copyq/copyq.conf create mode 100644 .config/copyq/copyq.lock create mode 100644 .config/copyq/copyq.pub create mode 100644 .config/copyq/copyq_geometry.ini create mode 100644 .config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat create mode 100644 .config/copyq/copyq_tabs.ini create mode 100644 .config/dconf/user create mode 100644 .config/dotfiles.conf create mode 100644 .config/fish/conf.d/starship.fish create mode 100644 .config/fish/config.fish create mode 100644 .config/fish/fish_variables create mode 100644 .config/gh/config.yml create mode 100644 .config/gh/hosts.yml create mode 100644 .config/gtk-3.0/settings.ini create mode 100644 .config/starship.toml create mode 100644 .config/wezterm/wezterm.lua create mode 100644 .gitconfig create mode 100644 .icons/default/index.theme diff --git a/.bash_logout b/.bash_logout new file mode 100644 index 0000000..0e4e4f1 --- /dev/null +++ b/.bash_logout @@ -0,0 +1,3 @@ +# +# ~/.bash_logout +# diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..5545f00 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,5 @@ +# +# ~/.bash_profile +# + +[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..38c1b3e --- /dev/null +++ b/.bashrc @@ -0,0 +1,13 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias grep='grep --color=auto' +PS1='[\u@\h \W]\$ ' + +export EDITOR='nvim' +export VISUAL="$EDITOR" diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua new file mode 100644 index 0000000..a55af57 --- /dev/null +++ b/.config/awesome/rc.lua @@ -0,0 +1,564 @@ +-- If LuaRocks is installed, make sure that packages installed through it are +-- found (e.g. lgi). If LuaRocks is not installed, do nothing. +pcall(require, "luarocks.loader") + +-- Standard awesome library +local gears = require("gears") +local awful = require("awful") +require("awful.autofocus") +-- Widget and layout library +local wibox = require("wibox") +-- Theme handling library +local beautiful = require("beautiful") +-- Notification library +local naughty = require("naughty") +local menubar = require("menubar") +local hotkeys_popup = require("awful.hotkeys_popup") +-- Enable hotkeys help widget for VIM and other apps +-- when client with a matching name is opened: +require("awful.hotkeys_popup.keys") + +-- {{{ Error handling +-- Check if awesome encountered an error during startup and fell back to +-- another config (This code will only ever execute for the fallback config) +if awesome.startup_errors then + naughty.notify({ preset = naughty.config.presets.critical, + title = "Oops, there were errors during startup!", + text = awesome.startup_errors }) +end + +-- Handle runtime errors after startup +do + local in_error = false + awesome.connect_signal("debug::error", function (err) + -- Make sure we don't go into an endless error loop + if in_error then return end + in_error = true + + naughty.notify({ preset = naughty.config.presets.critical, + title = "Oops, an error happened!", + text = tostring(err) }) + in_error = false + end) +end +-- }}} + +-- {{{ Variable definitions +-- Themes define colours, icons, font and wallpapers. +beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua") + +-- This is used later as the default terminal and editor to run. +terminal = "alacritty" +editor = os.getenv("EDITOR") or "nvim" +editor_cmd = terminal .. " -e " .. editor + +-- Default modkey. +-- Usually, Mod4 is the key with a logo between Control and Alt. +-- If you do not like this or do not have such a key, +-- I suggest you to remap Mod4 to another key using xmodmap or other tools. +-- However, you can use another modifier like Mod1, but it may interact with others. +modkey = "Mod4" + +-- Table of layouts to cover with awful.layout.inc, order matters. +awful.layout.layouts = { + awful.layout.suit.floating, + awful.layout.suit.tile, + awful.layout.suit.tile.left, + awful.layout.suit.tile.bottom, + awful.layout.suit.tile.top, + awful.layout.suit.fair, + awful.layout.suit.fair.horizontal, + awful.layout.suit.spiral, + awful.layout.suit.spiral.dwindle, + awful.layout.suit.max, + awful.layout.suit.max.fullscreen, + awful.layout.suit.magnifier, + awful.layout.suit.corner.nw, + -- awful.layout.suit.corner.ne, + -- awful.layout.suit.corner.sw, + -- awful.layout.suit.corner.se, +} +-- }}} + +-- {{{ Menu +-- Create a launcher widget and a main menu +myawesomemenu = { + { "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, + { "manual", terminal .. " -e man awesome" }, + { "edit config", editor_cmd .. " " .. awesome.conffile }, + { "restart", awesome.restart }, + { "quit", function() awesome.quit() end }, +} + +mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon }, + { "open terminal", terminal } + } + }) + +mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, + menu = mymainmenu }) + +-- Menubar configuration +menubar.utils.terminal = terminal -- Set the terminal for applications that require it +-- }}} + +-- Keyboard map indicator and switcher +mykeyboardlayout = awful.widget.keyboardlayout() + +-- {{{ Wibar +-- Create a textclock widget +mytextclock = wibox.widget.textclock() + +-- Create a wibox for each screen and add it +local taglist_buttons = gears.table.join( + awful.button({ }, 1, function(t) t:view_only() end), + awful.button({ modkey }, 1, function(t) + if client.focus then + client.focus:move_to_tag(t) + end + end), + awful.button({ }, 3, awful.tag.viewtoggle), + awful.button({ modkey }, 3, function(t) + if client.focus then + client.focus:toggle_tag(t) + end + end), + awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end), + awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end) + ) + +local tasklist_buttons = gears.table.join( + awful.button({ }, 1, function (c) + if c == client.focus then + c.minimized = true + else + c:emit_signal( + "request::activate", + "tasklist", + {raise = true} + ) + end + end), + awful.button({ }, 3, function() + awful.menu.client_list({ theme = { width = 250 } }) + end), + awful.button({ }, 4, function () + awful.client.focus.byidx(1) + end), + awful.button({ }, 5, function () + awful.client.focus.byidx(-1) + end)) + +local function set_wallpaper(s) + -- Wallpaper + if beautiful.wallpaper then + local wallpaper = beautiful.wallpaper + -- If wallpaper is a function, call it with the screen + if type(wallpaper) == "function" then + wallpaper = wallpaper(s) + end + gears.wallpaper.maximized(wallpaper, s, true) + end +end + +-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution) +screen.connect_signal("property::geometry", set_wallpaper) + +awful.screen.connect_for_each_screen(function(s) + -- Wallpaper + set_wallpaper(s) + + -- Each screen has its own tag table. + awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1]) + + -- Create a promptbox for each screen + s.mypromptbox = awful.widget.prompt() + -- Create an imagebox widget which will contain an icon indicating which layout we're using. + -- We need one layoutbox per screen. + s.mylayoutbox = awful.widget.layoutbox(s) + s.mylayoutbox:buttons(gears.table.join( + awful.button({ }, 1, function () awful.layout.inc( 1) end), + awful.button({ }, 3, function () awful.layout.inc(-1) end), + awful.button({ }, 4, function () awful.layout.inc( 1) end), + awful.button({ }, 5, function () awful.layout.inc(-1) end))) + -- Create a taglist widget + s.mytaglist = awful.widget.taglist { + screen = s, + filter = awful.widget.taglist.filter.all, + buttons = taglist_buttons + } + + -- Create a tasklist widget + s.mytasklist = awful.widget.tasklist { + screen = s, + filter = awful.widget.tasklist.filter.currenttags, + buttons = tasklist_buttons + } + + -- Create the wibox + s.mywibox = awful.wibar({ position = "top", screen = s }) + + -- Add widgets to the wibox + s.mywibox:setup { + layout = wibox.layout.align.horizontal, + { -- Left widgets + layout = wibox.layout.fixed.horizontal, + mylauncher, + s.mytaglist, + s.mypromptbox, + }, + s.mytasklist, -- Middle widget + { -- Right widgets + layout = wibox.layout.fixed.horizontal, + mykeyboardlayout, + wibox.widget.systray(), + mytextclock, + s.mylayoutbox, + }, + } +end) +-- }}} + +-- {{{ Mouse bindings +root.buttons(gears.table.join( + awful.button({ }, 3, function () mymainmenu:toggle() end), + awful.button({ }, 4, awful.tag.viewnext), + awful.button({ }, 5, awful.tag.viewprev) +)) +-- }}} + +-- {{{ Key bindings +globalkeys = gears.table.join( + awful.key({ modkey, }, "s", hotkeys_popup.show_help, + {description="show help", group="awesome"}), + awful.key({ modkey, }, "Left", awful.tag.viewprev, + {description = "view previous", group = "tag"}), + awful.key({ modkey, }, "Right", awful.tag.viewnext, + {description = "view next", group = "tag"}), + awful.key({ modkey, }, "Escape", awful.tag.history.restore, + {description = "go back", group = "tag"}), + + awful.key({ modkey, }, "j", + function () + awful.client.focus.byidx( 1) + end, + {description = "focus next by index", group = "client"} + ), + awful.key({ modkey, }, "k", + function () + awful.client.focus.byidx(-1) + end, + {description = "focus previous by index", group = "client"} + ), + awful.key({ modkey, }, "w", function () mymainmenu:show() end, + {description = "show main menu", group = "awesome"}), + + -- Layout manipulation + awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end, + {description = "swap with next client by index", group = "client"}), + awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end, + {description = "swap with previous client by index", group = "client"}), + awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end, + {description = "focus the next screen", group = "screen"}), + awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end, + {description = "focus the previous screen", group = "screen"}), + awful.key({ modkey, }, "u", awful.client.urgent.jumpto, + {description = "jump to urgent client", group = "client"}), + awful.key({ modkey, }, "Tab", + function () + awful.client.focus.history.previous() + if client.focus then + client.focus:raise() + end + end, + {description = "go back", group = "client"}), + + -- Standard program + awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end, + {description = "open a terminal", group = "launcher"}), + awful.key({ modkey, "Control" }, "r", awesome.restart, + {description = "reload awesome", group = "awesome"}), + awful.key({ modkey, "Shift" }, "q", awesome.quit, + {description = "quit awesome", group = "awesome"}), + + awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end, + {description = "increase master width factor", group = "layout"}), + awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end, + {description = "decrease master width factor", group = "layout"}), + awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end, + {description = "increase the number of master clients", group = "layout"}), + awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1, nil, true) end, + {description = "decrease the number of master clients", group = "layout"}), + awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1, nil, true) end, + {description = "increase the number of columns", group = "layout"}), + awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1, nil, true) end, + {description = "decrease the number of columns", group = "layout"}), + awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end, + {description = "select next", group = "layout"}), + awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, + {description = "select previous", group = "layout"}), + + awful.key({ modkey, "Control" }, "n", + function () + local c = awful.client.restore() + -- Focus restored client + if c then + c:emit_signal( + "request::activate", "key.unminimize", {raise = true} + ) + end + end, + {description = "restore minimized", group = "client"}), + + -- Prompt + awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end, + {description = "run prompt", group = "launcher"}), + + awful.key({ modkey }, "x", + function () + awful.prompt.run { + prompt = "Run Lua code: ", + textbox = awful.screen.focused().mypromptbox.widget, + exe_callback = awful.util.eval, + history_path = awful.util.get_cache_dir() .. "/history_eval" + } + end, + {description = "lua execute prompt", group = "awesome"}), + -- Menubar + awful.key({ modkey }, "p", function() menubar.show() end, + {description = "show the menubar", group = "launcher"}) +) + +clientkeys = gears.table.join( + awful.key({ modkey, }, "f", + function (c) + c.fullscreen = not c.fullscreen + c:raise() + end, + {description = "toggle fullscreen", group = "client"}), + awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end, + {description = "close", group = "client"}), + awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle , + {description = "toggle floating", group = "client"}), + awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end, + {description = "move to master", group = "client"}), + awful.key({ modkey, }, "o", function (c) c:move_to_screen() end, + {description = "move to screen", group = "client"}), + awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end, + {description = "toggle keep on top", group = "client"}), + awful.key({ modkey, }, "n", + function (c) + -- The client currently has the input focus, so it cannot be + -- minimized, since minimized clients can't have the focus. + c.minimized = true + end , + {description = "minimize", group = "client"}), + awful.key({ modkey, }, "m", + function (c) + c.maximized = not c.maximized + c:raise() + end , + {description = "(un)maximize", group = "client"}), + awful.key({ modkey, "Control" }, "m", + function (c) + c.maximized_vertical = not c.maximized_vertical + c:raise() + end , + {description = "(un)maximize vertically", group = "client"}), + awful.key({ modkey, "Shift" }, "m", + function (c) + c.maximized_horizontal = not c.maximized_horizontal + c:raise() + end , + {description = "(un)maximize horizontally", group = "client"}) +) + +-- Bind all key numbers to tags. +-- Be careful: we use keycodes to make it work on any keyboard layout. +-- This should map on the top row of your keyboard, usually 1 to 9. +for i = 1, 9 do + globalkeys = gears.table.join(globalkeys, + -- View tag only. + awful.key({ modkey }, "#" .. i + 9, + function () + local screen = awful.screen.focused() + local tag = screen.tags[i] + if tag then + tag:view_only() + end + end, + {description = "view tag #"..i, group = "tag"}), + -- Toggle tag display. + awful.key({ modkey, "Control" }, "#" .. i + 9, + function () + local screen = awful.screen.focused() + local tag = screen.tags[i] + if tag then + awful.tag.viewtoggle(tag) + end + end, + {description = "toggle tag #" .. i, group = "tag"}), + -- Move client to tag. + awful.key({ modkey, "Shift" }, "#" .. i + 9, + function () + if client.focus then + local tag = client.focus.screen.tags[i] + if tag then + client.focus:move_to_tag(tag) + end + end + end, + {description = "move focused client to tag #"..i, group = "tag"}), + -- Toggle tag on focused client. + awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, + function () + if client.focus then + local tag = client.focus.screen.tags[i] + if tag then + client.focus:toggle_tag(tag) + end + end + end, + {description = "toggle focused client on tag #" .. i, group = "tag"}) + ) +end + +clientbuttons = gears.table.join( + awful.button({ }, 1, function (c) + c:emit_signal("request::activate", "mouse_click", {raise = true}) + end), + awful.button({ modkey }, 1, function (c) + c:emit_signal("request::activate", "mouse_click", {raise = true}) + awful.mouse.client.move(c) + end), + awful.button({ modkey }, 3, function (c) + c:emit_signal("request::activate", "mouse_click", {raise = true}) + awful.mouse.client.resize(c) + end) +) + +-- Set keys +root.keys(globalkeys) +-- }}} + +-- {{{ Rules +-- Rules to apply to new clients (through the "manage" signal). +awful.rules.rules = { + -- All clients will match this rule. + { rule = { }, + properties = { border_width = beautiful.border_width, + border_color = beautiful.border_normal, + focus = awful.client.focus.filter, + raise = true, + keys = clientkeys, + buttons = clientbuttons, + screen = awful.screen.preferred, + placement = awful.placement.no_overlap+awful.placement.no_offscreen + } + }, + + -- Floating clients. + { rule_any = { + instance = { + "DTA", -- Firefox addon DownThemAll. + "copyq", -- Includes session name in class. + "pinentry", + }, + class = { + "Arandr", + "Blueman-manager", + "Gpick", + "Kruler", + "MessageWin", -- kalarm. + "Sxiv", + "Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size. + "Wpa_gui", + "veromix", + "xtightvncviewer"}, + + -- Note that the name property shown in xprop might be set slightly after creation of the client + -- and the name shown there might not match defined rules here. + name = { + "Event Tester", -- xev. + }, + role = { + "AlarmWindow", -- Thunderbird's calendar. + "ConfigManager", -- Thunderbird's about:config. + "pop-up", -- e.g. Google Chrome's (detached) Developer Tools. + } + }, properties = { floating = true }}, + + -- Add titlebars to normal clients and dialogs + { rule_any = {type = { "normal", "dialog" } + }, properties = { titlebars_enabled = true } + }, + + -- Set Firefox to always map on the tag named "2" on screen 1. + -- { rule = { class = "Firefox" }, + -- properties = { screen = 1, tag = "2" } }, +} +-- }}} + +-- {{{ Signals +-- Signal function to execute when a new client appears. +client.connect_signal("manage", function (c) + -- Set the windows at the slave, + -- i.e. put it at the end of others instead of setting it master. + -- if not awesome.startup then awful.client.setslave(c) end + + if awesome.startup + and not c.size_hints.user_position + and not c.size_hints.program_position then + -- Prevent clients from being unreachable after screen count changes. + awful.placement.no_offscreen(c) + end +end) + +-- Add a titlebar if titlebars_enabled is set to true in the rules. +client.connect_signal("request::titlebars", function(c) + -- buttons for the titlebar + local buttons = gears.table.join( + awful.button({ }, 1, function() + c:emit_signal("request::activate", "titlebar", {raise = true}) + awful.mouse.client.move(c) + end), + awful.button({ }, 3, function() + c:emit_signal("request::activate", "titlebar", {raise = true}) + awful.mouse.client.resize(c) + end) + ) + + awful.titlebar(c) : setup { + { -- Left + awful.titlebar.widget.iconwidget(c), + buttons = buttons, + layout = wibox.layout.fixed.horizontal + }, + { -- Middle + { -- Title + align = "center", + widget = awful.titlebar.widget.titlewidget(c) + }, + buttons = buttons, + layout = wibox.layout.flex.horizontal + }, + { -- Right + awful.titlebar.widget.floatingbutton (c), + awful.titlebar.widget.maximizedbutton(c), + awful.titlebar.widget.stickybutton (c), + awful.titlebar.widget.ontopbutton (c), + awful.titlebar.widget.closebutton (c), + layout = wibox.layout.fixed.horizontal() + }, + layout = wibox.layout.align.horizontal + } +end) + +-- Enable sloppy focus, so that focus follows mouse. +client.connect_signal("mouse::enter", function(c) + c:emit_signal("request::activate", "mouse_enter", {raise = false}) +end) + +client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end) +client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) +-- }}} diff --git a/.config/copyq/copyq-commands.ini b/.config/copyq/copyq-commands.ini new file mode 100644 index 0000000..21bc362 --- /dev/null +++ b/.config/copyq/copyq-commands.ini @@ -0,0 +1,44 @@ +[Commands] +1\Command=copyq: plugins.itempinned.pin() +1\Icon=\xf08d +1\InMenu=true +1\Input=!OUTPUT +1\InternalId=copyq_pinned_pin +1\Name=Pin +1\Output=application/x-copyq-item-pinned +2\Command=copyq: plugins.itempinned.unpin() +2\Icon=\xf08d +2\InMenu=true +2\Input=application/x-copyq-item-pinned +2\InternalId=copyq_pinned_unpin +2\Name=Unpin +3\Command=copyq: plugins.itemtags.tag(decodeURIComponent('Important')) +3\Icon=\xf02b +3\InMenu=true +3\InternalId=copyq_tags_tag:Important +3\MatchCommand=copyq: plugins.itemtags.hasTag(decodeURIComponent('Important')) && fail() +3\Name=Tag as \"Important\" +4\Command=copyq: plugins.itemtags.untag(decodeURIComponent('Important')) +4\Icon=\xf02b +4\InMenu=true +4\InternalId=copyq_tags_untag:Important +4\MatchCommand=copyq: plugins.itemtags.hasTag(decodeURIComponent('Important')) || fail() +4\Name=Remove tag \"Important\" +5\Command=copyq: plugins.itemtags.tag() +5\Icon=\xf02b +5\InMenu=true +5\InternalId=copyq_tags_tag +5\Name=Add a Tag +6\Command=copyq: plugins.itemtags.untag() +6\Icon=\xf02b +6\InMenu=true +6\Input=application/x-copyq-tags +6\InternalId=copyq_tags_untag +6\Name=Remove a Tag +7\Command=copyq: plugins.itemtags.clearTags() +7\Icon=\xf02b +7\InMenu=true +7\Input=application/x-copyq-tags +7\InternalId=copyq_tags_clear +7\Name=Clear all tags +size=7 diff --git a/.config/copyq/copyq-filter.ini b/.config/copyq/copyq-filter.ini new file mode 100644 index 0000000..50b0ec1 --- /dev/null +++ b/.config/copyq/copyq-filter.ini @@ -0,0 +1,2 @@ +[General] +filter_history=@Invalid() diff --git a/.config/copyq/copyq.conf b/.config/copyq/copyq.conf new file mode 100644 index 0000000..113eb38 --- /dev/null +++ b/.config/copyq/copyq.conf @@ -0,0 +1,2 @@ +[Options] +tabs=&clipboard diff --git a/.config/copyq/copyq.lock b/.config/copyq/copyq.lock new file mode 100644 index 0000000..b0de9e3 --- /dev/null +++ b/.config/copyq/copyq.lock @@ -0,0 +1,5 @@ +37053 +copyq +archgirlie +62855aaa72134feba64b9aa6fbef805a +38145ad5-6af5-4614-a020-fc9daea4b501 diff --git a/.config/copyq/copyq.pub b/.config/copyq/copyq.pub new file mode 100644 index 0000000000000000000000000000000000000000..d17f09817781f104c442d76a0b9e9283c77acd26 GIT binary patch literal 32 ecmZQzU{GLWWMJ}kib!Jsg4DAu{vZrug8%?j6$N?# literal 0 HcmV?d00001 diff --git a/.config/copyq/copyq_geometry.ini b/.config/copyq/copyq_geometry.ini new file mode 100644 index 0000000..46b271e --- /dev/null +++ b/.config/copyq/copyq_geometry.ini @@ -0,0 +1,2 @@ +[Options] +MainWindow_state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\x3\0\0\0\0\0\0\0\0\xfc\x1\0\0\0\x1\xfb\0\0\0*\0\x64\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\0I\0t\0\x65\0m\0P\0r\0\x65\0v\0i\0\x65\0w\0\0\0\0\0\xff\xff\xff\xff\0\0\0\x44\0\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x3\0\0\0\0\0\0\0\x1\0\0\0\x1c\0t\0o\0o\0l\0\x42\0\x61\0r\0T\0\x61\0\x62\0T\0r\0\x65\0\x65\x2\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\xe\0t\0o\0o\0l\0\x42\0\x61\0r\x3\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x2\0\0\0\x1\0\0\0\x1a\0t\0o\0o\0l\0\x42\0\x61\0r\0T\0\x61\0\x62\0\x42\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0) diff --git a/.config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat b/.config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat new file mode 100644 index 0000000000000000000000000000000000000000..34064d72561cef30272d9af514be1690c733f7a4 GIT binary patch literal 1457 zcmd5*OK#gR5LF6vBXnPMM|c~^-+Y`n3P4$k>m>fgacryYLZTRnu|&xv@*u;kzwx@1>Xz zJoRGvT~Or6XD|jn5kcx|C?tQ0+WW2*VpyGS9}I?8e?0yOhBw_icx!xquhPRp_-RXu*~^>e$IK+3(I^uil(@Mg_<GeT?;M&c6+mz7o+U%}-4}PO(!rE2CsJW4d=F>2DrgzYr^+QB^ kspKrTX9mY(^^iKVo7kIn(|P?wz>%)28}6;XxpOYR0hcA#qW}N^ literal 0 HcmV?d00001 diff --git a/.config/copyq/copyq_tabs.ini b/.config/copyq/copyq_tabs.ini new file mode 100644 index 0000000..ef4c30a --- /dev/null +++ b/.config/copyq/copyq_tabs.ini @@ -0,0 +1,3 @@ +[TabWidget] +collapsed_tabs=@Invalid() +tab_item_counters=@Variant(\0\0\0\b\0\0\0\x1\0\0\0\x14\0&\0\x63\0l\0i\0p\0\x62\0o\0\x61\0r\0\x64\0\0\0\x2\0\0\0\0) diff --git a/.config/dconf/user b/.config/dconf/user new file mode 100644 index 0000000000000000000000000000000000000000..cf041d7493dd4732afea410292722bf277c2666a GIT binary patch literal 907 zcmZ8fJ!lj`7@f<-pX5Aq*My+h%2_Ncq%$Ca6hSV2IE#UpL3Go|)x&Z$+cn7FA`lU(4Q%}O*1NVXb zLH!}~Q-DgU{VCWZ7uwuPt80P@Hya8_53n@YSwuXyZ~G&zPv}DdIo+2 zd;=IfuV1H6Jq!=?#5qp1T9y1)Q-yklL!)8>^KITH3m!PH6h|t_oVlb|QFj zL^4f{$`l>p+tR0#bVv6WVIbxmaDwi zS>i%Ix5$fkdIJ^b=?bFR)0xDLXbSNb4YS3-n${QE2G`am3pz$(jiVd+G(dsKG~U-W kPBZ9mo!`g&aDQI5u~JzPxmaZqb+95nVE(#)uY@}O0EQT?!vFvP literal 0 HcmV?d00001 diff --git a/.config/dotfiles.conf b/.config/dotfiles.conf new file mode 100644 index 0000000..438c79a --- /dev/null +++ b/.config/dotfiles.conf @@ -0,0 +1 @@ +dotfiles_dir=/home/marley/.dot diff --git a/.config/fish/conf.d/starship.fish b/.config/fish/conf.d/starship.fish new file mode 100644 index 0000000..dc504d7 --- /dev/null +++ b/.config/fish/conf.d/starship.fish @@ -0,0 +1,3 @@ +if status is-interactive + starship init fish | source +end diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.config/fish/config.fish @@ -0,0 +1 @@ + diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables new file mode 100644 index 0000000..52cd691 --- /dev/null +++ b/.config/fish/fish_variables @@ -0,0 +1,31 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR __fish_initialized:3400 +SETUVAR fish_color_autosuggestion:brblack +SETUVAR fish_color_cancel:\x2dr +SETUVAR fish_color_command:blue +SETUVAR fish_color_comment:red +SETUVAR fish_color_cwd:green +SETUVAR fish_color_cwd_root:red +SETUVAR fish_color_end:green +SETUVAR fish_color_error:brred +SETUVAR fish_color_escape:brcyan +SETUVAR fish_color_history_current:\x2d\x2dbold +SETUVAR fish_color_host:normal +SETUVAR fish_color_host_remote:yellow +SETUVAR fish_color_normal:normal +SETUVAR fish_color_operator:brcyan +SETUVAR fish_color_param:cyan +SETUVAR fish_color_quote:yellow +SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold +SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack +SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack +SETUVAR fish_color_status:red +SETUVAR fish_color_user:brgreen +SETUVAR fish_color_valid_path:\x2d\x2dunderline +SETUVAR fish_key_bindings:fish_default_key_bindings +SETUVAR fish_pager_color_completion:normal +SETUVAR fish_pager_color_description:yellow\x1e\x2di +SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline +SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan +SETUVAR fish_pager_color_selected_background:\x2dr diff --git a/.config/gh/config.yml b/.config/gh/config.yml new file mode 100644 index 0000000..241fb97 --- /dev/null +++ b/.config/gh/config.yml @@ -0,0 +1,17 @@ +# The current version of the config schema +version: 1 +# What protocol to use when performing git operations. Supported values: ssh, https +git_protocol: https +# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment. +editor: +# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled +prompt: enabled +# A pager program to send command output to, e.g. "less". Set the value to "cat" to disable the pager. +pager: +# Aliases allow you to create nicknames for gh commands +aliases: + co: pr checkout +# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport. +http_unix_socket: +# What web browser gh should use when opening URLs. If blank, will refer to environment. +browser: diff --git a/.config/gh/hosts.yml b/.config/gh/hosts.yml new file mode 100644 index 0000000..0c6b59d --- /dev/null +++ b/.config/gh/hosts.yml @@ -0,0 +1,7 @@ +github.com: + users: + punkfairie: + oauth_token: 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 + git_protocol: ssh + oauth_token: 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 + user: punkfairie diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..0e16642 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-cursor-theme-name=Catppuccin-Macchiato-Pink-Cursors diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..f93eab9 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,60 @@ +palette = "catppuccin_mocha" + +[character] +success_symbol = "[[ ](pink) ❯](green)" +error_symbol = "[❯](red)" +vimcmd_symbol = "[❮](green)" +vimcmd_replace_one_symbol = "[❮](green)" +vimcmd_replace_symbol = "[❮](green)" +vimcmd_visual_symbol = "[❮](peach)" + +[php] +symbol = ' ' + +[python] +symbol = '󰌠 ' + +[ruby] +symbol = ' ' + +[status] +disabled = false +style = 'red' +symbol = '✗' +not_executable_symbol = '' +not_found_symbol = '' +sigint_symbol = '󱠰' +signal_symbol = '󱐋' + +[sudo] +disabled = false +style = 'blue' +symbol = '󰌋 ' + +[palettes.catppuccin_mocha] +rosewater = "#f5e0dc" +flamingo = "#f2cdcd" +pink = "#f5c2e7" +mauve = "#cba6f7" +red = "#f38ba8" +maroon = "#eba0ac" +peach = "#fab387" +yellow = "#f9e2af" +green = "#a6e3a1" +teal = "#94e2d5" +sky = "#89dceb" +sapphire = "#74c7ec" +blue = "#89b4fa" +lavender = "#b4befe" +text = "#cdd6f4" +subtext1 = "#bac2de" +subtext0 = "#a6adc8" +overlay2 = "#9399b2" +overlay1 = "#7f849c" +overlay0 = "#6c7086" +surface2 = "#585b70" +surface1 = "#45475a" +surface0 = "#313244" +base = "#1e1e2e" +mantle = "#181825" +crust = "#11111b" diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua new file mode 100644 index 0000000..354b5f0 --- /dev/null +++ b/.config/wezterm/wezterm.lua @@ -0,0 +1,16 @@ +-- wezterm API +local wezterm = require 'wezterm' + +local config = wezterm.config_builder() + +config.color_scheme = 'Catppuccin Macchiato' +config.enable_tab_bar = false + +config.default_prog = { '/usr/bin/fish' } + +config.font = wezterm.font { + family = 'FiraCode Nerd Font', + harfbuzz_features = { 'cv02', 'cv06', 'ss01', 'cv14', 'onum', 'ss04', 'cv18', 'cv31', 'cv30', 'cv25', 'cv26', 'cv32', 'ss06', 'ss07' }, +} + +return config diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..b4f468b --- /dev/null +++ b/.gitconfig @@ -0,0 +1,6 @@ +[credential "https://github.com"] + helper = + helper = !/usr/bin/gh auth git-credential +[credential "https://gist.github.com"] + helper = + helper = !/usr/bin/gh auth git-credential diff --git a/.icons/default/index.theme b/.icons/default/index.theme new file mode 100644 index 0000000..d878bb7 --- /dev/null +++ b/.icons/default/index.theme @@ -0,0 +1,2 @@ +[icon theme] +Inherits=Catppuccin-Macchiato-Pink-Cursors