Skip to content

Commit

Permalink
mainmenu issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomashighbaugh committed Jan 21, 2024
1 parent 9487732 commit ac2eb40
Show file tree
Hide file tree
Showing 25 changed files with 365 additions and 391 deletions.
30 changes: 16 additions & 14 deletions .quicknote/3a52ce780950d4d969792a2559cd519d7ee8c727/todo.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
# TO-DO Items


- [x] DONE add in screen record
- [x] DONE add in screen record
- [ ] TODO make screen recorder work'
- [ ] TODO choose terminal application to use
- [ ] TODO set it up in the screen recorder
- [ ] TODO change screenshot menu to approximate the AWFUL dotfiles variant
- [ ] TODO fix whatever is wrong with the launcher causing it to error out now that I have proper error handling
- [ ] TODO lint icons, remove unused, replace for feather icons where practical, etc
- [ ] TODO controls to Notifications Popup
- [ ] TODO Chart placement?
- [ ] TODO - `plugins/rubato`, `modules/effects` and `modules/animations/instance` do the same thing
- [ ] TODO normalize the various animations to use just one of these
- [ ] TODO create documented examples for the usage of the result

- [ ] TODO lint icons, remove unused, replace for specially chosen bold icons where practical or improves function recognition, etc

- [ ] TODO incorporate all the necessary functionality then remove the plugins entirely, mitigating headaches and much bloat
- [ ] TODO
- [ ] TODO: Eliminate bling configuration hold-overs from tabbar and mstab
- [ ] TODO fix mstab annoyance layout error
- [ ] TODO: Eliminate bling configuration hold-overs from tabbar and mstab
- [ ] TODO: Windows appearing bigger than workspace area issue

## Archived Items

- [x] DONE: TabBar to single file in modules
- NOTE: Used `pure` style that conforms to titlebar layout
- [x] DONE: TabBar to single file in modules
- NOTE: Used `pure` style that conforms to titlebar layout
- [x] DONE replace taglist to enable buttons/actions on items shown
- [x] DONE application menu animation
- frustrated thus far, will load but now won't dismiss
Expand All @@ -32,3 +26,11 @@
- NOTE needed to use nerd font not font awesome // material fonts
- NOTE ultimately moved to using SVG files, SVG scale better even with awesome having had issues with rendering them, they seem to be fine and I prefer having the additional fine-grained control over the icon
- [x] DONE add in proper error handling
- [x] DONE fix whatever is wrong with the launcher causing it to error out now that I have proper error handling
- [x] DONE controls to Notifications Popup
- [x] DONE fix mstab annoyance layout error
- [x] DONE - `plugins/rubato`, `modules/effects` and `modules/animations/instance` do the same thingx] TODO Main Menu stopped working?
- long story short, call awful.menu.new() instead of file
- [x] DONE normalize the various animations to use just one of these
- [x] TODO Main Menu stopped working?
- long story short, call awful.menu.new() instead of file
2 changes: 1 addition & 1 deletion configuration/mousebindings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local menu = require("ui.menu")
local function set_mousebindings()
awful.mouse.append_global_mousebindings({
awful.button({}, 3, function()
menu.mainmenu:toggle()
awful.menu.new()
end),
})

Expand Down
36 changes: 18 additions & 18 deletions modules/sfx.lua
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
local awful = require("awful")
local beautiful = require("beautiful")
local gfs = require("gears.filesystem")
local M = {}
-- This Lua module contains simple functions for playing sounds at startup and notifications

local function spawn(cmd)
awful.spawn.easy_async(cmd, function() end)
end
local awful = require("awful") -- Import the 'awful' module
local gfs = require("gears.filesystem") -- Import the 'gears.filesystem' module

local M = {} -- Create a table to store the functions

--- Play a sound notification using pacat
function M.play()
awful.spawn(
"pacat --property=media.role=event "
.. gfs.get_configuration_dir()
.. "themes/assets/sounds/notify2.wav"
)
awful.spawn(
"pacat --property=media.role=event "
.. gfs.get_configuration_dir()
.. "themes/assets/sounds/confirm1.wav"
)
end

--- Play a startup sound notification using pacat
function M.startup()
awful.spawn(
"pacat --property=media.role=event "
.. gfs.get_configuration_dir()
.. "themes/assets/sounds/startup.wav"
)
awful.spawn(
"pacat --property=media.role=event "
.. gfs.get_configuration_dir()
.. "themes/assets/sounds/notify0.wav"
)
end

return M
return M -- Return the table containing the functions
8 changes: 7 additions & 1 deletion signal/rules/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ruled.client.connect_signal("request::rules", function()
ontop = false,
honor_padding = true,
honor_workarea = true,
round_corners = true,
sticky = false,
screen = awful.screen.preferred,
placement = awful.placement.under_mouse
Expand Down Expand Up @@ -70,7 +71,12 @@ ruled.client.connect_signal("request::rules", function()
},
properties = {
floating = true,
placement = awful.placement.center + awful.placement.centered,
screen = awful.screen.preferred,
placement = awful.placement.under_mouse + awful.placement.center + awful.placement.centered,
size_hints_honor = true,
honor_padding = true,
honor_workarea = true,
round_corners = true,
},
})

Expand Down
1 change: 0 additions & 1 deletion themes/assets/taglist/ghost.svg

This file was deleted.

6 changes: 0 additions & 6 deletions themes/assets/taglist/pacman.svg

This file was deleted.

1 change: 0 additions & 1 deletion themes/assets/tray/down.svg

This file was deleted.

1 change: 0 additions & 1 deletion themes/assets/tray/up.svg

This file was deleted.

Loading

0 comments on commit ac2eb40

Please sign in to comment.