Skip to content

Commit

Permalink
fix some formatting/commenting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TanvirOnGH committed Jun 22, 2024
1 parent 48cab54 commit b35cacb
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
10 changes: 6 additions & 4 deletions color/rosybrown/keys.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ local tagkeys_line = { "q", "w", "e", "r", "t", "y", "u", "i", "o" }
-- Key support functions

-- change window focus by history
--loc function focus_to_previous()
-- awful.client.focus.history.previous()
-- if client.focus then client.focus:raise() end
--end
--[[
local function focus_to_previous()
awful.client.focus.history.previous()
if client.focus then client.focus:raise() end
end
--]]

-- change window focus by direction
local focus_switch_byd = function(dir)
Expand Down
1 change: 0 additions & 1 deletion common/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ function menu:init(args)
})

-- Menu panel widget

self.widget = flex.gauge.svgbox(icon, nil, color)
self.buttons = awful.util.table.join(awful.button({}, 1, function()
self.mainmenu:toggle()
Expand Down
7 changes: 7 additions & 0 deletions common/rules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ function rules:init(args)
{
rule = { instance = "Xephyr" },
properties = { tag = self.env.theme == "rosybrown" and "Test" or "Free", fullscreen = true },
},

--[[
{
rule = { class = "firefox" },
properties = { tag = "1:1", switchtotag = true }
},
--]]

-- Jetbrains splash screen fix
{
Expand Down
3 changes: 2 additions & 1 deletion themes/colorless/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ function theme:init()
grid = "Grid",
usermap = "User Map",
tile = "Right Tile",
fairv = "Fair Tile",
fairv = "Fair Tile", -- Vertical
-- fairh = "Fair Tile", -- Horitontal
tileleft = "Left Tile",
tiletop = "Top Tile",
tilebottom = "Bottom Tile",
Expand Down
1 change: 0 additions & 1 deletion themes/rosybrown/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ theme.desktop.places = {
cpumem = { 1, 1 },
disks = { 1, 2 },
ssdspeed = { 1, 5 },

netspeed = { 2, 5 },
}

Expand Down

0 comments on commit b35cacb

Please sign in to comment.