commit b68a1190d9029fa3b40e451bf42984e0c7cf4043 Author: snoweuph Date: Fri Feb 3 19:12:16 2023 +0100 Inital Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6106f31 --- /dev/null +++ b/.gitignore @@ -0,0 +1,49 @@ +# Ignore All +* + +# Include .gitignore +!.gitignore + +# Include Readme.md +!Readme.md + +# Include Rice-bowl Dir +!rice-bowl/**/* +!rice-bowl/* +!rice-bowl/ + +# Include I3 Dir +!i3/**/* +!i3/ + +# Include Awesone Dir +!awesome/**/* +!awesome + +# Include Picom Dir +!picom/**/* +!picom/ + +# Include Polybar Dir +!polybar/**/* +!polybar + +# Include Allacrity Dir +!alacritty/**/* +!alacritty/ + +# Include Flameshot Dir +!flameshot/**/* +!flameshot/ + +# Include Cava Dir +!cava/**/* +!cava/ + +# Include Rofi Dir +!rofi/**/* +!rofi/ + +# Include Dunst Dir +!dunst/**/* +!dunst/ diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..f2e485b --- /dev/null +++ b/Readme.md @@ -0,0 +1,168 @@ +## Rice Bowl + +I've created a Dir under .config called Rice Bowl which is something like the Rice Controller / Master + +## Install Dependencies + +### Fedora + +``` +sudo dnf install i3 zsh alacritty polybar rofi picom htop neofetch cava wmctrl +``` + +## Software Used + +### Base + +- Shell: ZSH +- Terminal: Alacritty +- Display Manager: +- Window Manager: I3 +- Compositor: Picom +- Program Launcher: Rofi +- Panel: Polybar +- Notification Server: Dunst +- Audio Server: Pipewire + +### Progress + +- [x] Alacritty +- [x] i3 +- [x] feh +- [x] dunst +- [x] picom +- [x] polybar +- [x] rofi +- [x] cava +- [x] flameshot + +### CLI + +- System Monitor: HTop +- Music Visualizer: Cava +- Image Viewer: Feh +- Fetch: Neofetch + +### GUI + +## Dir + +### Tree + +``` +".config/" +|__"rice-bowl/" +| |__"demon.sh" +| |__"config.sh" +| | +| |__"config/" +| | |__"paths.sh" +| | |__"fonts.sh" +| | |__"styling.sh" +| | +| |__"scripts/" +| | |__"generate_config.sh" +| | | +| | |__"generators/" +| | |__"generate__config.sh" +| | +| |__"themes/" +| |__".sh" +| +|__"rofi/" +| |__"scripts/" +| | |__"/" +| | |__".sh" +| | |__".rasi" +| | +| |__"themes/" +| |__".rasi" +| +|__"i3/" +| |__"config" +| | +| |__"conf/" +| | |__"colors.conf" +| | |__"fonts.conf" +| | |__"bindings.conf" +| | |__"apps.conf" +| | |__"apps2.conf" +| | |__"workspaces.conf" +| | |__"styling.conf" +| | |__"styling1.conf +| | |__"rules.conf" +| | +| |__"scripts" +| |__"polybar.sh" +| |__".sh" +| +|__"picom/" +| |__"picom.conf" +| +|__"dunst/" +| |__"dunstrc" +| | +| |__"dunstrc.d" +| |__"00-colors.conf" +| |__"10-fonts.conf" +| |__"50-bindings.conf" +| |__"80-styling.conf" +| +|__"polybar/" +| |__"launch.sh" +| |__"config.ini" +| | +| |__"config/" +| | |__"colors.ini" +| | |__"fonts.ini" +| | |__"styling.ini" +| | +| |__"modules/" +| | |__"/" +| | |__".ini" +| | |__"?.sh" +| | | +| | |__"?config/" +| | |__".conf" +| | +| |__"bars/" +| |__".ini" +| +|__"alacritty/" +| |__"alacritty.yml" +| | +| |__"config/" +| |__"colors.yml" +| |__"fonts.yml" +| |__"styling.yml" +``` + +### Files + +#### rice-bowl/config/paths.txt + +``` +config-dir = +images-dir = +wallpaper-dir = +screenshot-dir = +``` + +## Themeing Engines +- GTK + - gtkrc + - gtk 2 + - gtk 3 + - gtk 4 + +### Important Envoirment Variables + +- GTK_RC_FILES +- GTK2_RC_FILES + +### Tools +*All of these are their names under fedora* + +- qt5 - qt5ct +- qt4 - qtconfig-qt4 (provided by qtconfig) +- gtk - lxappearance diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml new file mode 100644 index 0000000..a7f908e --- /dev/null +++ b/alacritty/alacritty.yml @@ -0,0 +1,7 @@ +# This File is Automaticly Generated. Changes inside of this won't persist. For more Information Look into /home/snoweuph/.config/rice-bowl +#Import Config +import: + - /home/snoweuph/.config/alacritty/config/colors.nogit.yml + - /home/snoweuph/.config/alacritty/config/fonts.nogit.yml + - /home/snoweuph/.config/alacritty/config/styling.nogit.yml + diff --git a/alacritty/config/.gitignore b/alacritty/config/.gitignore new file mode 100644 index 0000000..93887b8 --- /dev/null +++ b/alacritty/config/.gitignore @@ -0,0 +1 @@ +*.nogit.yml \ No newline at end of file diff --git a/awesome/bindings.lua b/awesome/bindings.lua new file mode 100644 index 0000000..c7becd7 --- /dev/null +++ b/awesome/bindings.lua @@ -0,0 +1,46 @@ +local gears = require("gears") +local awful = require("awful") + +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" }, "q", 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"}) +) diff --git a/awesome/config/layouts.lua b/awesome/config/layouts.lua new file mode 100644 index 0000000..16c4e02 --- /dev/null +++ b/awesome/config/layouts.lua @@ -0,0 +1,31 @@ +-- Require Libs +local gears = require("gears") +local awful = require("awful") + +-- List of All 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 +]]-- + +-- Table of layouts to Use, Order Matters +awful.layout.layouts = { + awful.layout.suit.tile, + awful.layout.suit.floating, + awful.layout.suit.spiral, + awful.layout.suit.max.fullscreen, +} diff --git a/awesome/rc.lua b/awesome/rc.lua new file mode 100644 index 0000000..bfc7515 --- /dev/null +++ b/awesome/rc.lua @@ -0,0 +1,33 @@ +-- This File is Automaticly Generated. Changes inside of this won't persist. For more Information Look into /home/snoweuph/.config/rice-bowl +-- Check if Lua Roocks, aka Import lib is installed +pcall(require, "luarocks.loader") + +-- Require Libs +local naughty = require("naughty") + +-- Check For Errors, fallback if found any +if awesome.startup_errors then + naughty.notify({ preset = naughty.config.presets.critical, + title = "Oops, there were errors during startup!", + text = awesome.startup_errors }) +end +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 + +-- Import Themp Lua File +dofile ("/home/snoweuph/.config/awesome/themp.lua") + + + + diff --git a/awesome/themp.lua b/awesome/themp.lua new file mode 100644 index 0000000..b0b72e7 --- /dev/null +++ b/awesome/themp.lua @@ -0,0 +1,472 @@ +-- 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") + + +-- {{{ 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 "nano" +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" + +dofile ("/home/snoweuph/.config/awesome/config/layouts.lua") + +-- {{{ 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" }, "e", 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 }, "d", function () awful.spawn.with_shell("rofi -show drun") 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"}) +) + +dofile ("/home/snoweuph/.config/awesome/bindings.lua") + +-- 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/cava/config b/cava/config new file mode 100644 index 0000000..6fccec0 --- /dev/null +++ b/cava/config @@ -0,0 +1,16 @@ +# This File is Automaticly Generated. Changes inside of this won't persist. For more Information Look into /home/snoweuph/.config/rice-bowl + +[output] +method = ncurses +[color] +gradient = 1 +gradient_count = 8 +gradient_color_1 = '#5e81ac' +gradient_color_2 = '#7db0d1' +gradient_color_3 = '#7ebdbc' +gradient_color_4 = '#80bf83' +gradient_color_5 = '#adbf7c' +gradient_color_6 = '#ebcb8b' +gradient_color_7 = '#d08770' +gradient_color_8 = '#bf616a' + diff --git a/dunst/dunstrc b/dunst/dunstrc new file mode 100644 index 0000000..fe09a51 --- /dev/null +++ b/dunst/dunstrc @@ -0,0 +1,69 @@ +# See dunst(5) for all configuration options +[global] + ### Display ### + monitor = 0 + follow = none + + origin = top-right + scale = 0 + + notification_limit = 5 + + ### Progress bar ### + progress_bar = true + progress_bar_height = 10 + progress_bar_frame_width = 1 + progress_bar_min_width = 150 + progress_bar_max_width = 300 + + indicate_hidden = yes + transparency = 0 + separator_height = 2 + padding = 8 + horizontal_padding = 8 + text_icon_padding = 0 + separator_color = frame + sort = yes + line_height = 0 + markup = full + format = "%s\n%b" + alignment = left + vertical_alignment = center + show_age_threshold = 60 + ellipsize = middle + ignore_newline = no + stack_duplicates = true + hide_duplicate_count = false + show_indicators = yes + + ### Icons ### + enable_recursive_icon_lookup = true + icon_theme = Adwaita + icon_position = left + min_icon_size = 32 + max_icon_size = 128 + icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ + + ### History ### + sticky_history = yes + history_length = 20 + + ### Misc/Advanced ### + dmenu = /usr/bin/dmenu -p dunst: + browser = /usr/bin/xdg-open + always_run_script = true + title = Dunst + class = Dunst + ignore_dbusclose = false + + ### mouse + mouse_left_click = close_current + mouse_middle_click = do_action, close_current + mouse_right_click = close_all + +[urgency_low] + timeout = 10 +[urgency_normal] + timeout = 10 +[urgency_critical] + timeout = 0 diff --git a/dunst/dunstrc.d/.gitignore b/dunst/dunstrc.d/.gitignore new file mode 100644 index 0000000..2c70b6b --- /dev/null +++ b/dunst/dunstrc.d/.gitignore @@ -0,0 +1 @@ +*.nogit.conf \ No newline at end of file diff --git a/flameshot/flameshot.ini b/flameshot/flameshot.ini new file mode 100644 index 0000000..80d2932 --- /dev/null +++ b/flameshot/flameshot.ini @@ -0,0 +1,11 @@ +# This File is Automaticly Generated. Changes inside of this won't persist. For more Information Look into /home/snoweuph/.config/rice-bowl +[General] +uiColor=#937db5 +contrastUiColor=#5e81ac + +drawColor=#7db0d1 +userColors=picker, #7db0d1, #5e81ac, #937db5 + +disabledTrayIcon=true + + diff --git a/flameshot/flameshot.ini.save b/flameshot/flameshot.ini.save new file mode 100644 index 0000000..efa6237 --- /dev/null +++ b/flameshot/flameshot.ini.save @@ -0,0 +1,6 @@ +[General] +contrastOpacity=204 +contrastUiColor=#5e81ac +disabledTrayIcon=truedrawColor=#81a1c1 +uiColor=#88c0d0 +userColors=picker, #2e3440, #bf616a, #b48ead diff --git a/i3/conf/.gitignore b/i3/conf/.gitignore new file mode 100644 index 0000000..2c70b6b --- /dev/null +++ b/i3/conf/.gitignore @@ -0,0 +1 @@ +*.nogit.conf \ No newline at end of file diff --git a/i3/conf/apps.conf b/i3/conf/apps.conf new file mode 100644 index 0000000..9c40aaa --- /dev/null +++ b/i3/conf/apps.conf @@ -0,0 +1,28 @@ +########################## +# Configure Apps # +########################## + +# Include Generated Version +include ./apps.nogit.conf + +# Make Volume Function Keys Work +set $refresh_i3status killall -SIGUSR1 i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status # Increase Volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status # Decrease Volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status # Mute Speaker +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status # Mute Mic + +bindsym $mod+Return exec alacritty # open a Terminal + +bindsym $mod+d exec --no-startup-id rofi -show drun # open Rofi + +bindsym $mod+b exec --no-startup-id firefox # open a Browser + +# Set Lockscreen for Suspending +exec --no-startup-id xss-lock --transfer-sleep-lock --i3lock --nofork + +# KDE Connect +exec --no-startup-id kdeconnect-indicator + +# Pulsemeeter +exec --no-startup-id pulsemeeter diff --git a/i3/conf/apps.conf.save b/i3/conf/apps.conf.save new file mode 100644 index 0000000..edb4a76 --- /dev/null +++ b/i3/conf/apps.conf.save @@ -0,0 +1,23 @@ +########################## +# Configure Apps # +########################## + +# Include Generated Version +include ./apps.nogit.conf + +# Make Volume Function Keys Work +set $refresh_i3status killall -SIGUSR1 i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status # Increase Volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status # Decrease Volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status # Mute Speaker +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status # Mute Mic + + + +# Set Lockscreen for Suspending +exec --no-startup-id xss-lock --transfer-sleep-lock --i3lock --nofork + +#KDE Connect +exec --no-startup-id kdeconnect-indicator + + diff --git a/i3/conf/bindings.conf b/i3/conf/bindings.conf new file mode 100644 index 0000000..c87f770 --- /dev/null +++ b/i3/conf/bindings.conf @@ -0,0 +1,65 @@ +########################## +# Configure Key Bindings # +########################## + +# 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 + +# change focus +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacked +bindsym $mod+t layout tabbed +bindsym $mod+w layout toggle split + +# Set Split Mode +bindsym $mod+h split h +bindsym $mod+v split v + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# resize window (you can also use the mouse for that) +bindsym $mod+r mode "resize" +mode "resize" { + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym Left resize shrink width 5 px or 5ppt + bindsym Down resize shrink height 5 px or 5 ppt + bindsym Up resize grow height 5 px or 5 ppt + bindsym Right resize grow width 5 px or 5 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# kill focused window +bindsym $mod+Shift+q kill diff --git a/i3/conf/rules.conf b/i3/conf/rules.conf new file mode 100644 index 0000000..12ac503 --- /dev/null +++ b/i3/conf/rules.conf @@ -0,0 +1,23 @@ +########################## +# Configure Rules # +########################## + +# Firefox +assign [class="(?i)Firefox"] 1 + +# Coding Related Windows +assign [class="(?i)Godot"] 3 +assign [class="(?i)Code - OSS"] 3 + +assign [class="(?i)Gittyup"] 4 + +# Gaming Related Windows +assign [class="(?i)Heroic"] 5 +assign [class="(?i)Steam"] 5 + +# Discord +assign [class="(?i)Discord"] 6 + +# Pulsemeeter +assign [class="(?i)Pulsemeeter"] 10 + diff --git a/i3/conf/workspaces.conf b/i3/conf/workspaces.conf new file mode 100644 index 0000000..d5b83c1 --- /dev/null +++ b/i3/conf/workspaces.conf @@ -0,0 +1,52 @@ +########################## +# Configure Workspaces # +########################## + +# Set Monitor Variables (get list with xrandr --listmonitors) +set $monitor1 "DisplayPort-0" +set $monitor2 "DisplayPort-1" +set $monitor3 "DVI-D-0" + +# Set Base Variables +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" + +# Bind Workspaces to Screens +workspace $ws1 output $monitor1 +workspace $ws2 output $monitor1 +workspace $ws3 output $monitor2 +workspace $ws4 output $monitor2 +workspace $ws5 output $monitor3 +workspace $ws6 output $monitor3 + +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 diff --git a/i3/config b/i3/config new file mode 100644 index 0000000..6e4c77f --- /dev/null +++ b/i3/config @@ -0,0 +1,25 @@ +############################################################################# +# i3 config file (v4) # +# Please see https://i3wm.org/docs/userguide.html for a complete reference! # +############################################################################# + +# Set Mod Key +set $mod Mod4 + +########################## +# Include Files # +########################## + +# Bindings +include ./conf/bindings.conf +# Workspaces +include ./conf/workspaces.conf +# Styling +include ./conf/styling.nogit.conf +# Fonts +include ./conf/fonts.nogit.conf + +# Applications +include ./conf/apps.conf +# Application Rules +include ./conf/rules.conf diff --git a/picom/.gitignore b/picom/.gitignore new file mode 100644 index 0000000..2c70b6b --- /dev/null +++ b/picom/.gitignore @@ -0,0 +1 @@ +*.nogit.conf \ No newline at end of file diff --git a/picom/picom.conf b/picom/picom.conf new file mode 100644 index 0000000..af3c11f --- /dev/null +++ b/picom/picom.conf @@ -0,0 +1,35 @@ +################################# +# Base # +################################# +use-damage = true; +backend= "glx"; + +################################# +# Shadows # +################################# +shadow = false; +shadow-radius = 7; +shadow-offset-x = -7; +shadow-offset-y = -7; +shadow-exclude = [ + "name = 'Notification'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "_GTK_FRAME_EXTENTS@:c" +]; + + +################################# +# Fading # +################################# +fading = true; +fade-in-step = 0.1; +fade-out-step = 0.1; + + +################################# +# Transparency / Opacity # +################################# +inactive-opacity-override = false; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; diff --git a/polybar/.gitignore b/polybar/.gitignore new file mode 100644 index 0000000..cabd6ae --- /dev/null +++ b/polybar/.gitignore @@ -0,0 +1 @@ +**.nogit.ini \ No newline at end of file diff --git a/polybar/bars/main.ini b/polybar/bars/main.ini new file mode 100644 index 0000000..52c6047 --- /dev/null +++ b/polybar/bars/main.ini @@ -0,0 +1,13 @@ +[bar/main] +inherit = base/bar + +modules-left = cpm space-invert sep-b +modules-center = xworkspaces +modules-right = pulseaudio space sep-a space-invert dunst-snooze space-invert sep-b space time space sep-a date space-invert + +tray-position = left +tray-detached = true +tray-scale = 0.9 + +tray-offset-x = 130 +tray-offset-y = 3 diff --git a/polybar/config.d/.gitkeep b/polybar/config.d/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/polybar/config.ini b/polybar/config.ini new file mode 100644 index 0000000..7fc2bd1 --- /dev/null +++ b/polybar/config.ini @@ -0,0 +1,10 @@ +include-file = ~/.config/polybar/config.d/colors.nogit.ini +include-file = ~/.config/polybar/config.d/fonts.nogit.ini +include-file = ~/.config/polybar/config.d/exec.nogit.ini +include-file = ~/.config/polybar/config.d/style.nogit.ini + + +include-file = ~/.config/polybar/settings.nogit.ini + +include-directory = ~/.config/polybar/modules +include-directory = ~/.config/polybar/bars diff --git a/polybar/modules/cava.ini b/polybar/modules/cava.ini new file mode 100644 index 0000000..2386841 --- /dev/null +++ b/polybar/modules/cava.ini @@ -0,0 +1,7 @@ +[module/cava] +type = custom/script +tail = true +exec = "${exec.cava}" +format =