├── Xresources ├── awesome ├── rc.lua └── themes │ └── vera │ ├── cloud_orange.jpg │ ├── layouts │ ├── cornerne.png │ ├── cornernew.png │ ├── cornernw.png │ ├── cornernww.png │ ├── cornerse.png │ ├── cornersew.png │ ├── cornersw.png │ ├── cornersww.png │ ├── dwindle.png │ ├── dwindlew.png │ ├── fairh.png │ ├── fairhw.png │ ├── fairv.png │ ├── fairvw.png │ ├── floating.png │ ├── floatingw.png │ ├── fullscreen.png │ ├── fullscreenw.png │ ├── magnifier.png │ ├── magnifierw.png │ ├── max.png │ ├── maxw.png │ ├── spiral.png │ ├── spiralw.png │ ├── tile.png │ ├── tilebottom.png │ ├── tilebottomw.png │ ├── tileleft.png │ ├── tileleftw.png │ ├── tiletop.png │ ├── tiletopw.png │ └── tilew.png │ ├── taglist │ ├── squarefw.png │ └── squarew.png │ ├── theme.lua │ └── titlebar │ ├── close_focus.png │ ├── close_normal.png │ ├── floating_focus_active.png │ ├── floating_focus_inactive.png │ ├── floating_normal_active.png │ ├── floating_normal_inactive.png │ ├── maximized_focus.png │ ├── maximized_focus_inactive.png │ ├── maximized_normal.png │ ├── maximized_normal_active.png │ ├── minimize_focus.png │ ├── minimize_normal.png │ ├── ontop_focus_active.png │ ├── ontop_focus_inactive.png │ ├── ontop_normal_active.png │ ├── ontop_normal_inactive.png │ ├── sticky_focus_active.png │ ├── sticky_focus_inactive.png │ ├── sticky_normal_active.png │ └── sticky_normal_inactive.png ├── bin ├── popups │ ├── launcher.sh │ ├── music.sh │ └── switcher.sh └── widgets │ ├── launcher.sh │ └── music.sh ├── n30f ├── arrow-blue.png ├── music.png ├── musicback.png └── search.png ├── picom.conf ├── polybar └── config └── rofi └── config.rasi /Xresources: -------------------------------------------------------------------------------- 1 | ! special 2 | *.foreground: #ffffff 3 | *.background: #262729 4 | *.cursorColor: #ffffff 5 | 6 | ! black 7 | *.color0: #686868 8 | *.color8: #454545 9 | 10 | ! red 11 | *.color1: #eb7685 12 | *.color9: #eb465c 13 | 14 | ! green 15 | *.color2: #46aab8 16 | *.color10: #148e9e 17 | 18 | ! yellow 19 | *.color3: #E6BEA3 20 | *.color11: #EB9C67 21 | 22 | ! blue 23 | *.color5: #a3a3e6 24 | *.color13: #6c6cb3 25 | 26 | ! magenta 27 | *.color4: #A3BEE6 28 | *.color12: #4770AD 29 | 30 | ! cyan 31 | *.color6: #A3CAE6 32 | *.color14: #6c96b3 33 | 34 | ! white 35 | *.color7: #d4d5d9 36 | *.color15: #b3b4b8 37 | 38 | URxvt.font:xft:SF Mono:size=12:style=Semibold 39 | *letterSpace: -1 40 | *boldFont: 41 | URxvt.scrollBar: false 42 | URxvt.perl-ext-common: default,matcher 43 | URxvt.url-launcher: /usr/bin/firefox 44 | URxvt.matcher.button: 1 45 | URxvt.internalBorder: 14 46 | 47 | URxvt*depth: 32 48 | URxvt*background: rgba:2600/2700/2900/BB00 49 | -------------------------------------------------------------------------------- /awesome/rc.lua: -------------------------------------------------------------------------------- 1 | -- If LuaRocks is installed, make sure that packages installed through it are 2 | -- found (e.g. lgi). If LuaRocks is not installed, do nothing. 3 | pcall(require, "luarocks.loader") 4 | 5 | -- Standard awesome library 6 | local gears = require("gears") 7 | local awful = require("awful") 8 | require("awful.autofocus") 9 | -- Widget and layout library 10 | local wibox = require("wibox") 11 | -- Theme handling library 12 | local beautiful = require("beautiful") 13 | -- Notification library 14 | local naughty = require("naughty") 15 | local menubar = require("menubar") 16 | local hotkeys_popup = require("awful.hotkeys_popup") 17 | -- Enable hotkeys help widget for VIM and other apps 18 | -- when client with a matching name is opened: 19 | require("awful.hotkeys_popup.keys") 20 | 21 | -- Load Debian menu entries 22 | local debian = require("debian.menu") 23 | local has_fdo, freedesktop = pcall(require, "freedesktop") 24 | 25 | -- {{{ Error handling 26 | -- Check if awesome encountered an error during startup and fell back to 27 | -- another config (This code will only ever execute for the fallback config) 28 | if awesome.startup_errors then 29 | naughty.notify({ preset = naughty.config.presets.critical, 30 | title = "Oops, there were errors during startup!", 31 | text = awesome.startup_errors }) 32 | end 33 | 34 | -- Handle runtime errors after startup 35 | do 36 | local in_error = false 37 | awesome.connect_signal("debug::error", function (err) 38 | -- Make sure we don't go into an endless error loop 39 | if in_error then return end 40 | in_error = true 41 | 42 | naughty.notify({ preset = naughty.config.presets.critical, 43 | title = "Oops, an error happened!", 44 | text = tostring(err) }) 45 | in_error = false 46 | end) 47 | end 48 | -- }}} 49 | 50 | -- {{{ Variable definitions 51 | -- Themes define colours, icons, font and wallpapers. 52 | beautiful.init(gears.filesystem.get_configuration_dir() .. "themes/vera/theme.lua") 53 | 54 | -- This is used later as the default terminal and editor to run. 55 | terminal = "x-terminal-emulator" 56 | editor = os.getenv("EDITOR") or "editor" 57 | editor_cmd = terminal .. " -e " .. editor 58 | 59 | -- Default modkey. 60 | -- Usually, Mod4 is the key with a logo between Control and Alt. 61 | -- If you do not like this or do not have such a key, 62 | -- I suggest you to remap Mod4 to another key using xmodmap or other tools. 63 | -- However, you can use another modifier like Mod1, but it may interact with others. 64 | modkey = "Mod4" 65 | 66 | -- Table of layouts to cover with awful.layout.inc, order matters. 67 | awful.layout.layouts = { 68 | awful.layout.suit.floating, 69 | --awful.layout.suit.tile, 70 | --awful.layout.suit.tile.left, 71 | --awful.layout.suit.tile.bottom, 72 | --awful.layout.suit.tile.top, 73 | --awful.layout.suit.fair, 74 | --awful.layout.suit.fair.horizontal, 75 | --awful.layout.suit.spiral, 76 | --awful.layout.suit.spiral.dwindle, 77 | --awful.layout.suit.max, 78 | --awful.layout.suit.max.fullscreen, 79 | --awful.layout.suit.magnifier, 80 | --awful.layout.suit.corner.nw, 81 | -- awful.layout.suit.corner.ne, 82 | -- awful.layout.suit.corner.sw, 83 | -- awful.layout.suit.corner.se, 84 | } 85 | -- }}} 86 | 87 | -- {{{ Menu 88 | -- Create a launcher widget and a main menu 89 | myawesomemenu = { 90 | { "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, 91 | { "restart", awesome.restart }, 92 | { "quit", function() awesome.quit() end }, 93 | } 94 | 95 | local menu_awesome = { "System", myawesomemenu, beautiful.awesome_icon } 96 | local menu_terminal = { "URxvt", terminal } 97 | 98 | mymainmenu = awful.menu({ 99 | items = { 100 | menu_terminal, 101 | menu_awesome, 102 | } 103 | }) 104 | 105 | mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, 106 | menu = mymainmenu }) 107 | 108 | -- Menubar configuration 109 | menubar.utils.terminal = terminal -- Set the terminal for applications that require it 110 | -- }}} 111 | 112 | -- Keyboard map indicator and switcher 113 | mykeyboardlayout = awful.widget.keyboardlayout() 114 | 115 | -- {{{ Wibar 116 | -- Create a textclock widget 117 | mytextclock = wibox.widget.textclock() 118 | 119 | -- Create a wibox for each screen and add it 120 | local taglist_buttons = gears.table.join( 121 | awful.button({ }, 1, function(t) t:view_only() end), 122 | awful.button({ modkey }, 1, function(t) 123 | if client.focus then 124 | client.focus:move_to_tag(t) 125 | end 126 | end), 127 | awful.button({ }, 3, awful.tag.viewtoggle), 128 | awful.button({ modkey }, 3, function(t) 129 | if client.focus then 130 | client.focus:toggle_tag(t) 131 | end 132 | end), 133 | awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end), 134 | awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end) 135 | ) 136 | 137 | local tasklist_buttons = gears.table.join( 138 | awful.button({ }, 1, function (c) 139 | if c == client.focus then 140 | c.minimized = true 141 | else 142 | c:emit_signal( 143 | "request::activate", 144 | "tasklist", 145 | {raise = true} 146 | ) 147 | end 148 | end), 149 | awful.button({ }, 3, function() 150 | awful.menu.client_list({ theme = { width = 250 } }) 151 | end), 152 | awful.button({ }, 4, function () 153 | awful.client.focus.byidx(1) 154 | end), 155 | awful.button({ }, 5, function () 156 | awful.client.focus.byidx(-1) 157 | end)) 158 | 159 | local function set_wallpaper(s) 160 | -- Wallpaper 161 | if beautiful.wallpaper then 162 | local wallpaper = beautiful.wallpaper 163 | -- If wallpaper is a function, call it with the screen 164 | if type(wallpaper) == "function" then 165 | wallpaper = wallpaper(s) 166 | end 167 | gears.wallpaper.maximized(wallpaper, s, true) 168 | end 169 | end 170 | 171 | -- Re-set wallpaper when a screen's geometry changes (e.g. different resolution) 172 | screen.connect_signal("property::geometry", set_wallpaper) 173 | written = false 174 | 175 | awful.screen.connect_for_each_screen(function(s) 176 | -- Wallpaper 177 | set_wallpaper(s) 178 | 179 | -- Each screen has its own tag table. 180 | awful.tag({ "1", "2", "3", "4" }, s, awful.layout.layouts[1]) 181 | 182 | -- Create a promptbox for each screen 183 | s.mypromptbox = awful.widget.prompt() 184 | -- Create an imagebox widget which will contain an icon indicating which layout we're using. 185 | -- We need one layoutbox per screen. 186 | s.mylayoutbox = awful.widget.layoutbox(s) 187 | s.mylayoutbox:buttons(gears.table.join( 188 | awful.button({ }, 1, function () awful.layout.inc( 1) end), 189 | awful.button({ }, 3, function () awful.layout.inc(-1) end), 190 | awful.button({ }, 4, function () awful.layout.inc( 1) end), 191 | awful.button({ }, 5, function () awful.layout.inc(-1) end))) 192 | -- Create a taglist widget 193 | s.mytaglist = awful.widget.taglist { 194 | screen = s, 195 | filter = awful.widget.taglist.filter.all, 196 | buttons = taglist_buttons 197 | } 198 | 199 | s.padding = { left = 40, top = 40, right = 40, bottom = 40 } 200 | end) 201 | -- }}} 202 | 203 | -- {{{ Mouse bindings 204 | root.buttons(gears.table.join( 205 | awful.button({ }, 3, function () mymainmenu:toggle() end), 206 | awful.button({ }, 4, awful.tag.viewnext), 207 | awful.button({ }, 5, awful.tag.viewprev) 208 | )) 209 | -- }}} 210 | 211 | -- {{{ Key bindings 212 | globalkeys = gears.table.join( 213 | awful.key({ modkey, }, "s", hotkeys_popup.show_help, 214 | {description="show help", group="awesome"}), 215 | awful.key({ modkey, }, "Left", awful.tag.viewprev, 216 | {description = "view previous", group = "tag"}), 217 | awful.key({ modkey, }, "Right", awful.tag.viewnext, 218 | {description = "view next", group = "tag"}), 219 | awful.key({ modkey, }, "Escape", awful.tag.history.restore, 220 | {description = "go back", group = "tag"}), 221 | 222 | awful.key({ modkey, }, "d", function () awful.spawn("/home/sdhand/.local/bin/popups/launcher.sh") end, 223 | {description = "start the launcher", group = "awesome"}), 224 | 225 | awful.key({ modkey, }, "j", 226 | function () 227 | awful.client.focus.byidx( 1) 228 | end, 229 | {description = "focus next by index", group = "client"} 230 | ), 231 | awful.key({ modkey, }, "k", 232 | function () 233 | awful.client.focus.byidx(-1) 234 | end, 235 | {description = "focus previous by index", group = "client"} 236 | ), 237 | awful.key({ modkey, }, "w", function () mymainmenu:show() end, 238 | {description = "show main menu", group = "awesome"}), 239 | 240 | -- Layout manipulation 241 | awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end, 242 | {description = "swap with next client by index", group = "client"}), 243 | awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end, 244 | {description = "swap with previous client by index", group = "client"}), 245 | awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end, 246 | {description = "focus the next screen", group = "screen"}), 247 | awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end, 248 | {description = "focus the previous screen", group = "screen"}), 249 | awful.key({ modkey, }, "u", awful.client.urgent.jumpto, 250 | {description = "jump to urgent client", group = "client"}), 251 | awful.key({ modkey, }, "Tab", 252 | function () awful.spawn("/home/sdhand/.local/bin/popups/switcher.sh") end, 253 | {description = "go back", group = "client"}), 254 | 255 | -- Standard program 256 | awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end, 257 | {description = "open a terminal", group = "launcher"}), 258 | awful.key({ modkey, "Control" }, "r", awesome.restart, 259 | {description = "reload awesome", group = "awesome"}), 260 | awful.key({ modkey, "Shift" }, "q", awesome.quit, 261 | {description = "quit awesome", group = "awesome"}), 262 | 263 | awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end, 264 | {description = "increase master width factor", group = "layout"}), 265 | awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end, 266 | {description = "decrease master width factor", group = "layout"}), 267 | awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end, 268 | {description = "increase the number of master clients", group = "layout"}), 269 | awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1, nil, true) end, 270 | {description = "decrease the number of master clients", group = "layout"}), 271 | awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1, nil, true) end, 272 | {description = "increase the number of columns", group = "layout"}), 273 | awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1, nil, true) end, 274 | {description = "decrease the number of columns", group = "layout"}), 275 | awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end, 276 | {description = "select next", group = "layout"}), 277 | awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, 278 | {description = "select previous", group = "layout"}), 279 | 280 | awful.key({ modkey, "Control" }, "n", 281 | function () 282 | local c = awful.client.restore() 283 | -- Focus restored client 284 | if c then 285 | c:emit_signal( 286 | "request::activate", "key.unminimize", {raise = true} 287 | ) 288 | end 289 | end, 290 | {description = "restore minimized", group = "client"}), 291 | 292 | -- Prompt 293 | awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end, 294 | {description = "run prompt", group = "launcher"}), 295 | 296 | awful.key({ modkey }, "x", 297 | function () 298 | awful.prompt.run { 299 | prompt = "Run Lua code: ", 300 | textbox = awful.screen.focused().mypromptbox.widget, 301 | exe_callback = awful.util.eval, 302 | history_path = awful.util.get_cache_dir() .. "/history_eval" 303 | } 304 | end, 305 | {description = "lua execute prompt", group = "awesome"}), 306 | -- Menubar 307 | awful.key({ modkey }, "p", function() menubar.show() end, 308 | {description = "show the menubar", group = "launcher"}) 309 | ) 310 | 311 | clientkeys = gears.table.join( 312 | awful.key({ modkey, }, "f", 313 | function (c) 314 | c.fullscreen = not c.fullscreen 315 | c:raise() 316 | end, 317 | {description = "toggle fullscreen", group = "client"}), 318 | awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end, 319 | {description = "close", group = "client"}), 320 | awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle , 321 | {description = "toggle floating", group = "client"}), 322 | awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end, 323 | {description = "move to master", group = "client"}), 324 | awful.key({ modkey, }, "o", function (c) c:move_to_screen() end, 325 | {description = "move to screen", group = "client"}), 326 | awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end, 327 | {description = "toggle keep on top", group = "client"}), 328 | awful.key({ modkey, }, "n", 329 | function (c) 330 | -- The client currently has the input focus, so it cannot be 331 | -- minimized, since minimized clients can't have the focus. 332 | c.minimized = true 333 | end , 334 | {description = "minimize", group = "client"}), 335 | awful.key({ modkey, }, "m", 336 | function (c) 337 | c.maximized = not c.maximized 338 | c:raise() 339 | end , 340 | {description = "(un)maximize", group = "client"}), 341 | awful.key({ modkey, "Control" }, "m", 342 | function (c) 343 | c.maximized_vertical = not c.maximized_vertical 344 | c:raise() 345 | end , 346 | {description = "(un)maximize vertically", group = "client"}), 347 | awful.key({ modkey, "Shift" }, "m", 348 | function (c) 349 | c.maximized_horizontal = not c.maximized_horizontal 350 | c:raise() 351 | end , 352 | {description = "(un)maximize horizontally", group = "client"}) 353 | ) 354 | 355 | -- Bind all key numbers to tags. 356 | -- Be careful: we use keycodes to make it work on any keyboard layout. 357 | -- This should map on the top row of your keyboard, usually 1 to 9. 358 | for i = 1, 9 do 359 | globalkeys = gears.table.join(globalkeys, 360 | -- View tag only. 361 | awful.key({ modkey }, "#" .. i + 9, 362 | function () 363 | local screen = awful.screen.focused() 364 | local tag = screen.tags[i] 365 | if tag then 366 | tag:view_only() 367 | end 368 | end, 369 | {description = "view tag #"..i, group = "tag"}), 370 | -- Toggle tag display. 371 | awful.key({ modkey, "Control" }, "#" .. i + 9, 372 | function () 373 | local screen = awful.screen.focused() 374 | local tag = screen.tags[i] 375 | if tag then 376 | awful.tag.viewtoggle(tag) 377 | end 378 | end, 379 | {description = "toggle tag #" .. i, group = "tag"}), 380 | -- Move client to tag. 381 | awful.key({ modkey, "Shift" }, "#" .. i + 9, 382 | function () 383 | if client.focus then 384 | local tag = client.focus.screen.tags[i] 385 | if tag then 386 | client.focus:move_to_tag(tag) 387 | end 388 | end 389 | end, 390 | {description = "move focused client to tag #"..i, group = "tag"}), 391 | -- Toggle tag on focused client. 392 | awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, 393 | function () 394 | if client.focus then 395 | local tag = client.focus.screen.tags[i] 396 | if tag then 397 | client.focus:toggle_tag(tag) 398 | end 399 | end 400 | end, 401 | {description = "toggle focused client on tag #" .. i, group = "tag"}) 402 | ) 403 | end 404 | 405 | clientbuttons = gears.table.join( 406 | awful.button({ }, 1, function (c) 407 | c:emit_signal("request::activate", "mouse_click", {raise = true}) 408 | end), 409 | awful.button({ modkey }, 1, function (c) 410 | c:emit_signal("request::activate", "mouse_click", {raise = true}) 411 | awful.mouse.client.move(c) 412 | end), 413 | awful.button({ modkey }, 3, function (c) 414 | c:emit_signal("request::activate", "mouse_click", {raise = true}) 415 | awful.mouse.client.resize(c) 416 | end) 417 | ) 418 | 419 | -- Set keys 420 | root.keys(globalkeys) 421 | -- }}} 422 | 423 | -- {{{ Rules 424 | -- Rules to apply to new clients (through the "manage" signal). 425 | awful.rules.rules = { 426 | -- All clients will match this rule. 427 | { rule = { }, 428 | properties = { border_width = beautiful.border_width, 429 | border_color = beautiful.border_normal, 430 | focus = awful.client.focus.filter, 431 | raise = true, 432 | keys = clientkeys, 433 | buttons = clientbuttons, 434 | screen = awful.screen.preferred, 435 | placement = awful.placement.no_overlap+awful.placement.no_offscreen, 436 | size_hints_honor = false 437 | } 438 | }, 439 | 440 | -- Floating clients. 441 | { rule_any = { 442 | instance = { 443 | "DTA", -- Firefox addon DownThemAll. 444 | "copyq", -- Includes session name in class. 445 | "pinentry", 446 | }, 447 | class = { 448 | "Arandr", 449 | "Blueman-manager", 450 | "Gpick", 451 | "Kruler", 452 | "MessageWin", -- kalarm. 453 | "Sxiv", 454 | "Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size. 455 | "Wpa_gui", 456 | "veromix", 457 | "mpv", 458 | "feh", 459 | "xtightvncviewer"}, 460 | 461 | -- Note that the name property shown in xprop might be set slightly after creation of the client 462 | -- and the name shown there might not match defined rules here. 463 | name = { 464 | "Event Tester", -- xev. 465 | }, 466 | role = { 467 | "AlarmWindow", -- Thunderbird's calendar. 468 | "ConfigManager", -- Thunderbird's about:config. 469 | "pop-up", -- e.g. Google Chrome's (detached) Developer Tools. 470 | } 471 | }, properties = { floating = true }}, 472 | 473 | -- Add titlebars to normal clients and dialogs 474 | { rule_any = {type = { "normal", "dialog" } 475 | }, properties = { titlebars_enabled = true } 476 | }, 477 | { rule_any = { class = { "mpv", "feh" } 478 | }, properties = { titlebars_enabled = false } 479 | }, 480 | { rule_any = { name = { "tint2" } 481 | }, properties = { x = 0, y = 0 } 482 | }, 483 | 484 | { rule_any = { class = { "Polybar" }, name = { "n30f", "n30f-rounded" } 485 | }, properties = { dockable = false, focusable = false, border_width = 0 } 486 | }, 487 | 488 | 489 | -- Set Firefox to always map on the tag named "2" on screen 1. 490 | -- { rule = { class = "Firefox" }, 491 | -- properties = { screen = 1, tag = "2" } }, 492 | } 493 | -- }}} 494 | 495 | -- {{{ Signals 496 | 497 | -- client.connect_signal("property::floating", function(c) if c.floating and (c.type == "normal" or c.type == "dialog") then awful.titlebar.show(c) else awful.titlebar.hide(c) end end) 498 | 499 | -- Signal function to execute when a new client appears. 500 | client.connect_signal("manage", function (c) 501 | -- Set the windows at the slave, 502 | -- i.e. put it at the end of others instead of setting it master. 503 | -- if not awesome.startup then awful.client.setslave(c) end 504 | 505 | if awesome.startup 506 | and not c.size_hints.user_position 507 | and not c.size_hints.program_position then 508 | -- Prevent clients from being unreachable after screen count changes. 509 | awful.placement.no_offscreen(c) 510 | end 511 | end) 512 | 513 | 514 | -- Add a titlebar if titlebars_enabled is set to true in the rules. 515 | client.connect_signal("request::titlebars", function(c) 516 | -- buttons for the titlebar 517 | local buttons = gears.table.join( 518 | awful.button({ }, 1, function() 519 | c:emit_signal("request::activate", "titlebar", {raise = true}) 520 | awful.mouse.client.move(c) 521 | end) 522 | --awful.button({ }, 3, function() 523 | --c:emit_signal("request::activate", "titlebar", {raise = true}) 524 | --awful.mouse.client.resize(c) 525 | --end) 526 | ) 527 | 528 | local args = { size = 42 } 529 | local sep = 1 530 | if c.class == "URxvt" then 531 | args = { size=42,bg_normal=beautiful.bg_normal_dark,bg_focus=beautiful.bg_focus_dark,bg_urgent=beautiful.bg_urgent_dark,fg_normal=beautiful.fg_normal_dark,fg_focus=beautiful.fg_focus_dark,fg_urgent=beautiful.fg_urgent_dark } 532 | sep = 0 533 | end 534 | 535 | awful.titlebar(c, args) : setup 536 | { 537 | { 538 | layout = wibox.layout.fixed.horizontal, 539 | forced_height = 0, 540 | buttons = buttons 541 | }, 542 | { 543 | { 544 | { -- Left 545 | layout = wibox.layout.fixed.horizontal, 546 | buttons = buttons 547 | }, 548 | { -- Middle 549 | { 550 | align = "center", 551 | widget = awful.titlebar.widget.titlewidget(c) 552 | }, 553 | layout = wibox.layout.flex.horizontal, 554 | buttons = buttons 555 | }, 556 | { -- Right 557 | { 558 | awful.titlebar.widget.maximizedbutton(c), 559 | awful.titlebar.widget.ontopbutton(c) , 560 | awful.titlebar.widget.closebutton (c), 561 | layout = wibox.layout.fixed.horizontal(), 562 | spacing = 7 563 | }, 564 | widget = wibox.container.margin, 565 | top = 15, 566 | bottom = 14, 567 | right = 0, 568 | left = 0 569 | }, 570 | layout = wibox.layout.align.horizontal, 571 | expand = "inside" 572 | }, 573 | widget = wibox.container.margin, 574 | top = 0, 575 | bottom = 0, 576 | right = 15, 577 | left = 15, 578 | forced_height = 40 579 | }, 580 | { 581 | widget = wibox.widget.separator, 582 | orientation = "horizontal", 583 | thickness = sep, 584 | forced_height = sep, 585 | color = beautiful.separator, 586 | buttons = buttons 587 | }, 588 | layout = wibox.layout.align.vertical, 589 | expand = "outside" 590 | } 591 | end) 592 | 593 | -- Enable sloppy focus, so that focus follows mouse. 594 | client.connect_signal("mouse::enter", function(c) 595 | c:emit_signal("request::activate", "mouse_enter") 596 | end) 597 | 598 | client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end) 599 | client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) 600 | awesome.connect_signal( 601 | 'startup', 602 | function(args) 603 | awful.spawn("picom", false) 604 | --awful.spawn("tint2", false) 605 | awful.spawn("/home/sdhand/.local/bin/widgets/launcher.sh", false) 606 | awful.spawn("/home/sdhand/.local/bin/widgets/music.sh", false) 607 | awful.spawn("polybar primary", false) 608 | end 609 | ) 610 | 611 | awesome.connect_signal( 612 | 'exit', 613 | function(args) 614 | awful.spawn("killall picom", false) 615 | --awful.spawn("killall tint2", false) 616 | awful.spawn("killall n30f", false) 617 | awful.spawn("killall polybar", false) 618 | end 619 | ) 620 | -- }}} 621 | -------------------------------------------------------------------------------- /awesome/themes/vera/cloud_orange.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/cloud_orange.jpg -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/cornerne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/cornerne.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/cornernew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/cornernew.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/cornernw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/cornernw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/cornernww.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/cornernww.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/cornerse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/cornerse.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/cornersew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/cornersew.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/cornersw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/cornersw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/cornersww.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/cornersww.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/dwindle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/dwindle.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/dwindlew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/dwindlew.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/fairh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/fairh.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/fairhw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/fairhw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/fairv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/fairv.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/fairvw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/fairvw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/floating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/floating.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/floatingw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/floatingw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/fullscreen.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/fullscreenw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/fullscreenw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/magnifier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/magnifier.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/magnifierw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/magnifierw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/max.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/maxw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/maxw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/spiral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/spiral.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/spiralw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/spiralw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/tile.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/tilebottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/tilebottom.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/tilebottomw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/tilebottomw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/tileleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/tileleft.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/tileleftw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/tileleftw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/tiletop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/tiletop.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/tiletopw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/tiletopw.png -------------------------------------------------------------------------------- /awesome/themes/vera/layouts/tilew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/layouts/tilew.png -------------------------------------------------------------------------------- /awesome/themes/vera/taglist/squarefw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/taglist/squarefw.png -------------------------------------------------------------------------------- /awesome/themes/vera/taglist/squarew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/taglist/squarew.png -------------------------------------------------------------------------------- /awesome/themes/vera/theme.lua: -------------------------------------------------------------------------------- 1 | --------------------------- 2 | -- Default awesome theme -- 3 | --------------------------- 4 | 5 | local theme_assets = require("beautiful.theme_assets") 6 | local xresources = require("beautiful.xresources") 7 | local dpi = xresources.apply_dpi 8 | 9 | local gfs = require("gears.filesystem") 10 | local theme_path = gfs.get_configuration_dir() .. "themes/vera/" 11 | 12 | local theme = {} 13 | 14 | theme.font = "SF Pro Display Semibold 12" 15 | 16 | theme.bg_normal = "#f5f6fa" 17 | theme.bg_focus = "#f5f6fa" 18 | theme.bg_urgent = "#f5f6fa" 19 | theme.bg_minimize = "#f5f6fa" 20 | theme.bg_systray = theme.bg_normal 21 | 22 | theme.bg_normal_dark = "#262729BB" 23 | theme.bg_focus_dark = "#262729BB" 24 | theme.bg_urgent_dark = "#262729BB" 25 | 26 | 27 | theme.fg_normal_dark = "#dadbde" 28 | theme.fg_focus_dark = "#ffffff" 29 | theme.fg_urgent = "#dadbde" 30 | theme.fg_minimize = "#dadbde" 31 | 32 | theme.separator = "#dadbde" 33 | 34 | theme.fg_normal = "#252525" 35 | theme.fg_focus = "#000000" 36 | 37 | theme.useless_gap = dpi(20) 38 | theme.border_width = dpi(3) 39 | theme.border_focus = "#6c6cb3" 40 | theme.border_normal = "#a3a3e6" 41 | theme.border_marked = "#91231c" 42 | 43 | -- There are other variable sets 44 | -- overriding the default one when 45 | -- defined, the sets are: 46 | -- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile] 47 | -- tasklist_[bg|fg]_[focus|urgent] 48 | -- titlebar_[bg|fg]_[normal|focus] 49 | -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] 50 | -- mouse_finder_[color|timeout|animate_timeout|radius|factor] 51 | -- prompt_[fg|bg|fg_cursor|bg_cursor|font] 52 | -- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font] 53 | -- Example: 54 | --theme.taglist_bg_focus = "#ff0000" 55 | 56 | -- Generate taglist squares: 57 | local taglist_square_size = dpi(4) 58 | theme.taglist_squares_sel = theme_assets.taglist_squares_sel( 59 | taglist_square_size, theme.fg_normal 60 | ) 61 | theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel( 62 | taglist_square_size, theme.fg_normal 63 | ) 64 | 65 | -- Variables set for theming notifications: 66 | -- notification_font 67 | -- notification_[bg|fg] 68 | -- notification_[width|height|margin] 69 | -- notification_[border_color|border_width|shape|opacity] 70 | 71 | -- Variables set for theming the menu: 72 | -- menu_[bg|fg]_[normal|focus] 73 | -- menu_[border_color|border_width] 74 | theme.menu_submenu = ">" 75 | theme.menu_height = dpi(20) 76 | theme.menu_font = "SF Pro Display Light 12" 77 | theme.menu_border_width = dpi(0) 78 | theme.menu_width = dpi(100) 79 | 80 | -- You can add as many variables as 81 | -- you wish and access them by using 82 | -- beautiful.variable in your rc.lua 83 | --theme.bg_widget = "#cc0000" 84 | 85 | -- Define the image to load 86 | theme.titlebar_close_button_normal = theme_path.."titlebar/close_normal.png" 87 | theme.titlebar_close_button_focus = theme_path.."titlebar/close_focus.png" 88 | 89 | theme.titlebar_minimize_button_normal = theme_path.."titlebar/minimize_normal.png" 90 | theme.titlebar_minimize_button_focus = theme_path.."titlebar/minimize_focus.png" 91 | 92 | theme.titlebar_maximized_button_normal_active = theme_path.."titlebar/maximized_normal.png" 93 | theme.titlebar_maximized_button_normal_inactive = theme_path.."titlebar/maximized_normal.png" 94 | theme.titlebar_maximized_button_focus_active = theme_path.."titlebar/maximized_focus.png" 95 | theme.titlebar_maximized_button_focus_inactive = theme_path.."titlebar/maximized_focus.png" 96 | 97 | theme.titlebar_ontop_button_normal_inactive = theme_path.."titlebar/ontop_normal_inactive.png" 98 | theme.titlebar_ontop_button_focus_inactive = theme_path.."titlebar/ontop_focus_inactive.png" 99 | theme.titlebar_ontop_button_normal_active = theme_path.."titlebar/ontop_normal_active.png" 100 | theme.titlebar_ontop_button_focus_active = theme_path.."titlebar/ontop_focus_active.png" 101 | 102 | theme.titlebar_sticky_button_normal_inactive = theme_path.."titlebar/sticky_normal_inactive.png" 103 | theme.titlebar_sticky_button_focus_inactive = theme_path.."titlebar/sticky_focus_inactive.png" 104 | theme.titlebar_sticky_button_normal_active = theme_path.."titlebar/sticky_normal_active.png" 105 | theme.titlebar_sticky_button_focus_active = theme_path.."titlebar/sticky_focus_active.png" 106 | 107 | theme.titlebar_floating_button_normal_inactive = theme_path.."titlebar/floating_normal_inactive.png" 108 | theme.titlebar_floating_button_focus_inactive = theme_path.."titlebar/floating_focus_inactive.png" 109 | theme.titlebar_floating_button_normal_active = theme_path.."titlebar/floating_normal_active.png" 110 | theme.titlebar_floating_button_focus_active = theme_path.."titlebar/floating_focus_active.png" 111 | 112 | 113 | theme.wallpaper = theme_path.."cloud_orange.jpg" 114 | 115 | -- You can use your own layout icons like this: 116 | theme.layout_fairh = theme_path.."layouts/fairhw.png" 117 | theme.layout_fairv = theme_path.."layouts/fairvw.png" 118 | theme.layout_floating = theme_path.."layouts/floatingw.png" 119 | theme.layout_magnifier = theme_path.."layouts/magnifierw.png" 120 | theme.layout_max = theme_path.."layouts/maxw.png" 121 | theme.layout_fullscreen = theme_path.."layouts/fullscreenw.png" 122 | theme.layout_tilebottom = theme_path.."layouts/tilebottomw.png" 123 | theme.layout_tileleft = theme_path.."layouts/tileleftw.png" 124 | theme.layout_tile = theme_path.."layouts/tilew.png" 125 | theme.layout_tiletop = theme_path.."layouts/tiletopw.png" 126 | theme.layout_spiral = theme_path.."layouts/spiralw.png" 127 | theme.layout_dwindle = theme_path.."layouts/dwindlew.png" 128 | theme.layout_cornernw = theme_path.."layouts/cornernww.png" 129 | theme.layout_cornerne = theme_path.."layouts/cornernew.png" 130 | theme.layout_cornersw = theme_path.."layouts/cornersww.png" 131 | theme.layout_cornerse = theme_path.."layouts/cornersew.png" 132 | 133 | -- Generate Awesome icon: 134 | --theme.awesome_icon = theme_assets.awesome_icon( 135 | --theme.menu_height, theme.bg_focus, theme.fg_focus 136 | --) 137 | theme.awesome_icon = nil 138 | 139 | -- Define the icon theme for application icons. If not set then the icons 140 | -- from /usr/share/icons and /usr/share/icons/hicolor will be used. 141 | theme.icon_theme = nil 142 | 143 | return theme 144 | 145 | -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 146 | -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/close_focus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/close_focus.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/close_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/close_normal.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/floating_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/floating_focus_active.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/floating_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/floating_focus_inactive.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/floating_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/floating_normal_active.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/floating_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/floating_normal_inactive.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/maximized_focus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/maximized_focus.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/maximized_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/maximized_focus_inactive.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/maximized_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/maximized_normal.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/maximized_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/maximized_normal_active.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/minimize_focus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/minimize_focus.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/minimize_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/minimize_normal.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/ontop_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/ontop_focus_active.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/ontop_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/ontop_focus_inactive.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/ontop_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/ontop_normal_active.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/ontop_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/ontop_normal_inactive.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/sticky_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/sticky_focus_active.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/sticky_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/sticky_focus_inactive.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/sticky_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/sticky_normal_active.png -------------------------------------------------------------------------------- /awesome/themes/vera/titlebar/sticky_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/awesome/themes/vera/titlebar/sticky_normal_inactive.png -------------------------------------------------------------------------------- /bin/popups/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | rofi -kb-cancel "Escape" -modi drun -show drun & 4 | launcher=$! 5 | sleep .13; n30f ~/.n30f/arrow-blue.png -i -x 45 -y 974 & 6 | n30f=$! 7 | wait $launcher 8 | kill $n30f 9 | -------------------------------------------------------------------------------- /bin/popups/music.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | if [ -z $(pgrep -f 'n30f -x 1690') ]; then 4 | coverdir=$(dirname "$(nowplaying.sh)") 5 | coverart="$coverdir"/coverart_popup.png 6 | if [ -f "$coverart" ]; then 7 | n30f -x 1845 -y 974 ~/.n30f/arrow-blue.png -i & 8 | n30f -x 1690 -y 766 -t "n30f-round" ~/.n30f/musicback.png & 9 | n30f -x 1705 -y 781 "$coverart" -i -c playpause.sh & 10 | fi 11 | else 12 | pkill -f 'n30f -x 1690' 13 | pkill -f 'n30f -x 1845' 14 | pkill -f 'n30f -x 1705' 15 | fi 16 | -------------------------------------------------------------------------------- /bin/popups/switcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | rofi -kb-cancel "Escape" -modi windowcd -show windowcd & 4 | launcher=$! 5 | sleep .13; n30f ~/.n30f/arrow-blue.png -i -x 45 -y 974 & 6 | n30f=$! 7 | wait $launcher 8 | kill $n30f 9 | -------------------------------------------------------------------------------- /bin/widgets/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | n30f -t "n30f-round" -x 40 -y 1000 ~/.n30f/search.png -c ~/.local/bin/popups/launcher.sh 4 | -------------------------------------------------------------------------------- /bin/widgets/music.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | n30f -t "n30f-round" -x 1840 -y 1000 ~/.n30f/music.png -c ~/.local/bin/popups/music.sh 4 | -------------------------------------------------------------------------------- /n30f/arrow-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/n30f/arrow-blue.png -------------------------------------------------------------------------------- /n30f/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/n30f/music.png -------------------------------------------------------------------------------- /n30f/musicback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/n30f/musicback.png -------------------------------------------------------------------------------- /n30f/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdhand/dotfiles/4a019a260085df3f097fd70479bb080c0e656be2/n30f/search.png -------------------------------------------------------------------------------- /picom.conf: -------------------------------------------------------------------------------- 1 | backend = "glx" 2 | blur-background = true 3 | blur-background-fixed = true 4 | corner-radius = 10 5 | shadow = true 6 | vsync = true 7 | fading = true 8 | fade-in-step = 0.075 9 | blur-method = "dual_kawase" 10 | #frame-opacity = 0.8 11 | blur-strength = 8 12 | fade-out-step = 0.075 13 | 14 | shadow-exclude = [ 15 | "name = 'n30f'", 16 | "name = 'tint2'" 17 | ] 18 | 19 | rounded-corners-exclude = [ 20 | "name = 'n30f'", 21 | "name = 'tint2'" 22 | ] 23 | 24 | 25 | blur-background-exclude = [ 26 | "name = 'n30f'" 27 | ] 28 | -------------------------------------------------------------------------------- /polybar/config: -------------------------------------------------------------------------------- 1 | [colors] 2 | background = #eff3fa 3 | foreground = #222222 4 | primary = #6c6cb3 5 | 6 | [bar/primary] 7 | width = 290 8 | height = 40 9 | offset-x = 95 10 | offset-y = 40 11 | bottom = true 12 | 13 | background = ${colors.background} 14 | foreground = ${colors.foreground} 15 | 16 | padding-left = 5 17 | padding-right = 5 18 | 19 | module-margin-left = 1 20 | module-margin-right = 2 21 | 22 | font-0 = SF Pro Display:fontformat=truetype:style=Medium:size=8:antialias=true;1 23 | 24 | modules-left = date 25 | modules-right = ewmh 26 | 27 | cursor-click = pointer 28 | cursor-scroll = ns-resize 29 | 30 | [module/ewmh] 31 | type = internal/xworkspaces 32 | 33 | label-active = " ● " 34 | label-active-foreground = ${colors.primary} 35 | label-urgent = " ○ " 36 | label-occupied = " ○ " 37 | label-empty = " ○ " 38 | 39 | [module/date] 40 | type = internal/date 41 | interval = 5 42 | 43 | date = " %A, %B %e" 44 | 45 | time = %H:%M 46 | 47 | label = %date% %time% 48 | ; vim:ft=dosini 49 | -------------------------------------------------------------------------------- /rofi/config.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Mail : adi1090x@gmail.com 5 | * Github : @adi1090x 6 | * Reddit : @adi1090x 7 | * 8 | */ 9 | 10 | configuration { 11 | drun-display-format: "{icon} {name}"; 12 | display-drun: "Apps"; 13 | show-icons: true; 14 | icon-theme: "Papirus"; 15 | location: 0; 16 | yoffset: 0; 17 | xoffset: 0; 18 | fake-transparency: false; 19 | hide-scrollbar: true; 20 | bw: 0; 21 | fullscreen: false; 22 | show-icons: true; 23 | terminal: "termite"; 24 | sidebar-mode: false; 25 | } 26 | 27 | // light 28 | * { 29 | ac: #6c6cb3; 30 | bg: #f0f3fa; 31 | bg-alt: #f0f3fa; 32 | fg: #f0f3fa; 33 | fg-alt: #263238; 34 | } 35 | 36 | 37 | // dark 38 | /* 39 | * { 40 | ac: #00BCD4; 41 | bg: #263238; 42 | bg-alt: #293840; 43 | fg: #263238; 44 | } 45 | */ 46 | 47 | // blur 48 | /* 49 | * { 50 | ac: #0000008c; 51 | bg: #00000080; 52 | bg-alt: #00000040; 53 | fg: #e5e5e5; 54 | } 55 | */ 56 | 57 | * { 58 | background-color: #00000000; 59 | font: "SF Pro Display 10"; 60 | } 61 | 62 | window { 63 | height: 557px; 64 | width: 15%; 65 | anchor: south west; 66 | location: south west; 67 | x-offset: +20px; 68 | y-offset: -94px; 69 | transparency: "real"; 70 | } 71 | 72 | mainbox { 73 | children: [ listview, inputbar ]; 74 | padding: 0% 0% 0% 0%; 75 | background-color: @bg; 76 | border: 0; 77 | border-radius: 12; 78 | border-color: @bg; 79 | } 80 | 81 | listview { 82 | columns: 1; 83 | padding: 8; 84 | spacing: 2; 85 | reverse: true; 86 | cycle: false; 87 | } 88 | 89 | 90 | 91 | element { 92 | border: 0; 93 | text-color: @fg-alt; 94 | background-color: @bg-alt; 95 | orientation: horizontal; 96 | padding: 0 12 0 16; 97 | border-radius: 8; 98 | } 99 | 100 | element-text { 101 | padding: 8 0 8 0; 102 | } 103 | 104 | element selected { 105 | background-color: @ac; 106 | border-color: @bg; 107 | text-color: @fg; 108 | } 109 | 110 | element-icon { 111 | size: 2.5ch; 112 | } 113 | 114 | inputbar { 115 | children: [entry]; 116 | padding: 0 0 0 0; 117 | margin: 0% 0.5% 1% 0.5%; 118 | /* change this colors to change style*/ 119 | background-color: @fg; 120 | border: 4 4 4 4; 121 | border-radius: 8; 122 | border-color: @ac; 123 | } 124 | 125 | prompt { 126 | enabled: false; 127 | } 128 | 129 | entry { 130 | font: "SF Pro Display 10"; 131 | text-color: @fg-alt; 132 | padding: 8 0 8 12; 133 | } 134 | --------------------------------------------------------------------------------