diff options
134 files changed, 1819 insertions, 0 deletions
diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..6c33441 --- /dev/null +++ b/.Xresources @@ -0,0 +1,228 @@ +! Font options - ~/.fonts.conf seems to override this +! Resolution for Xft in dots per inch (e.g. 96) +Xft.dpi: 80 +! Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr) +!Xft.rgba: rgba +Xft.antialias: 1 +Xft.hinting: 1 +Xft.autohint: 0 +! What degree of hinting to use (hintnone, hintslight, hintmedium, or hintfull) +Xft.hintstyle: hintfull + +!xterm*faceName: terminus-12 +!URxvt*font: terminus-12 +!URxvt*boldFont: terminus-12 + +!#define FONTSIZE 12 +!xterm*faceName: xft:PragmataPro:size=FONTSIZE:antialias=true:hinting=true:autohint=false:hintstyle=hintnone:dpi=96 +!URxvt*font: xft:PragmataPro:size=FONTSIZE:antialias=true:hinting=true:autohint=false:hintstyle=hintnone:dpi=96 +!URxvt*boldFont: xft:PragmataPro:size=FONTSIZE:antialias=true:hinting=true:autohint=false:hintstyle=hintnone:dpi=96 + +! Extra options for xft font spec - ~/.fonts.conf seems to override this +!:antialias=false:hintstyle=hintfull + +#define WINDOWGEOMETRY 90x20 +! xterm +xterm*dynamiccolors: true +xterm*utf8: 2 +xterm*geometry: WINDOWGEOMETRY +xterm*visualBell: off +xterm*highlightSelection: true +!xterm*background: lightblack +!xterm*foreground: lightblue +!xterm*colorMode: on +!xterm*colorBD: lightcyan +!xterm*colorBDMode: on +!xterm*colorUL: white +!xterm*colorULMode: on +!xterm*scrollTtyOutput: false +!xterm*scrollKey: true +!xterm*scrollBar: true + +! URxvt +URxvt.modifier: mod1 +URxvt*loginShell: true +URxvt.borderless: false +URxvt*dynamicColors: on +URxvt*letterSpace: -1 +URxvt.geometry: WINDOWGEOMETRY +URxvt.imLocale: en_US.UTF-8 +URxvt.lineSpace: 0 +URxvt.loginShell: true +URxvt.saveLines: 5000 +URxvt.scrollBar: false +URxvt.scrollstyle: plain +URxvt*termName: xterm-256color +URxvt.transparent: false +URxvt.visualBell: false + +! URxvt.urgentOnBell: true +! URxvt.urlLauncher: chrome +! URxvt.internalBorder: 3 +! URxvt.depth: 24 +! URxvt.letterSpace: -1 +! URxvt.shading: 100 + +! URxvt.perl-ext-common: default,tabbed +! ,clipboard +! URxvt.tabbed.tabbar-fg: 4 +! URxvt.tabbed.tabbar-bg: 0 +! URxvt.tabbed.tab-fg: 9 +! URxvt.tabbed.tab-bg: 0 +! URxvt.keysym.M-c: perl:clipboard:copy +! URxvt.keysym.M-v: perl:clipboard:paste + +! Colors + +*.boldMode: true +*.colorBDMode: false +!*.colorBD: cyan + +!! Base16 Flat +!#define base00 #2C3E50 +!#define base01 #34495E +!#define base02 #7F8C8D +!#define base03 #95A5A6 +!#define base04 #BDC3C7 +!#define base05 #e0e0e0 +!#define base06 #f5f5f5 +!#define base07 #ECF0F1 +!#define base08 #E74C3C +!#define base09 #E67E22 +!#define base0A #F1C40F +!#define base0B #2ECC71 +!#define base0C #1ABC9C +!#define base0D #3498DB +!#define base0E #9B59B6 +!#define base0F #be643c + +! Base16 Eighties +#define base00 #2d2d2d +#define base01 #393939 +#define base02 #515151 +#define base03 #747369 +#define base04 #a09f93 +#define base05 #d3d0c8 +#define base06 #e8e6df +#define base07 #f2f0ec +#define base08 #f2777a +#define base09 #f99157 +#define base0A #ffcc66 +#define base0B #99cc99 +#define base0C #66cccc +#define base0D #6699cc +#define base0E #cc99cc +#define base0F #d27b53 + +!! Base16 Atelier Dune +!#define base00 #20201d +!#define base01 #292824 +!#define base02 #6e6b5e +!#define base03 #7d7a68 +!#define base04 #999580 +!#define base05 #a6a28c +!#define base06 #e8e4cf +!#define base07 #fefbec +!#define base08 #d73737 +!#define base09 #b65611 +!#define base0A #cfb017 +!#define base0B #60ac39 +!#define base0C #1fad83 +!#define base0D #6684e1 +!#define base0E #b854d4 +!#define base0F #d43552 + + +! Dark +*.foreground: base05 +*.background: base00 +*.cursorColor: base05 +*.cursorColor2: base05 +*.cursorUnderline: true +*.cursorBlink: true + +! Light +!*.foreground: base02 +!*.background: base07 +!*.cursorColor: base02 +!*.cursorColor2: base02 + +*.color0: base00 +*.color1: base08 +*.color2: base0B +*.color3: base0A +*.color4: base0D +*.color5: base0E +*.color6: base0C +*.color7: base05 +*.color8: base03 +*.color9: base08 +*.color10: base0B +*.color11: base0A +*.color12: base0D +*.color13: base0E +*.color14: base0C +*.color15: base07 +*.color16: base09 +*.color17: base0F +*.color18: base01 +*.color19: base02 +*.color20: base04 +*.color21: base06 + +!! Solarized color scheme for the X Window System +!! http://ethanschoonover.com/solarized +!! Common +!#define S_yellow #b58900 +!#define S_orange #cb4b16 +!#define S_red #dc322f +!#define S_magenta #d33682 +!#define S_violet #6c71c4 +!#define S_blue #268bd2 +!#define S_cyan #2aa198 +!#define S_green #859900 +!! Dark +!#define S_base02 #073642 +!#define S_base03 #002b36 +!#define S_base01 #586e75 +!#define S_base00 #657b83 +!#define S_base0 #839496 +!#define S_base1 #93a1a1 +!#define S_base2 #eee8d5 +!#define S_base3 #fdf6e3 +!! Light +!!#define S_base03 #fdf6e3 +!!#define S_base02 #eee8d5 +!!#define S_base01 #93a1a1 +!!#define S_base00 #839496 +!!#define S_base0 #657b83 +!!#define S_base1 #586e75 +!!#define S_base2 #073642 +!!#define S_base3 #002b36 +! +!*background: S_base03 +!*foreground: S_base0 +!*fading: 40 +!*fadeColor: S_base03 +!*cursorColor: S_base1 +!*pointerColorBackground: S_base01 +!*pointerColorForeground: S_base1 +! +!*color0: S_base02 +!*color1: S_red +!*color2: S_green +!*color3: S_yellow +!*color4: S_blue +!*color5: S_magenta +!*color6: S_cyan +!*color7: S_base2 +!*color9: S_orange +!*color8: S_base03 +!*color10: S_base01 +!*color11: S_base00 +!*color12: S_base0 +!*color13: S_violet +!*color14: S_base1 +!*color15: S_base3 + +!Xcursor.size: 32 @@ -0,0 +1,9 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 new file mode 100644 index 0000000..41eb791 --- /dev/null +++ b/.gtkrc-2.0 @@ -0,0 +1,19 @@ +# DO NOT EDIT! This file will be overwritten by LXAppearance. +# Any customization should be done in ~/.gtkrc-2.0.mine instead. + +include "/home/kylert/.gtkrc-2.0.mine" +gtk-theme-name="Adwaita-dark" +gtk-icon-theme-name="Flat-Remix-Cyan-Dark" +gtk-font-name="Helvetica World 10" +gtk-cursor-theme-name="elementary" +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=0 +gtk-enable-input-feedback-sounds=0 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintfull" +gtk-xft-rgba="rgb" diff --git a/.xinitrc b/.xinitrc new file mode 100755 index 0000000..32e8b28 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,56 @@ +#!/bin/sh + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +if [ -f $sysresources ]; then + + + + + + + + xrdb -merge $sysresources + +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f "$userresources" ]; then + + + + + + + + xrdb -merge "$userresources" + +fi + +if [ -f "$usermodmap" ]; then + xmodmap "$usermodmap" +fi + +# start some nice programs + +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +twm & +xclock -geometry 50x50-1+1 & +xterm -geometry 80x50+494+51 & +xterm -geometry 80x20+494-0 & +exec xterm -geometry 80x66+0+0 -name login + diff --git a/awesome/autorun.sh b/awesome/autorun.sh new file mode 100755 index 0000000..65ce80a --- /dev/null +++ b/awesome/autorun.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash + +function run { + if ! pgrep -f $1 ; + then + $@& + fi +} + +run picom +run nitrogen --restore +run volumeicon +run lxsession +run xfce4-volumed-pulse +run /usr/lib/gsd-datetime +run /usr/lib/baloo_file +run xfce4-clipman +run emojione-picker +run /usr/lib/geoclue-2.0/demos/agent +run /usr/lib/kdeconnectd +run kdeconnect-indicator +run nm-applet +run system-config-printer-applet +run start-pulseaudio-x11 +run /bin/snap userd --autostart +run /usr/lib/tracker-miner-fs-3 +run /usr/lib/tracker-miner-rss-3 +run /usr/lib/xapps/sn-watcher/xapp-sn-watcher +run /usr/lib/at-spi-bus-launcher --launch-immediately +run /usr/bin/gnome-keyring-daemon --start --components=pkcs11 +run /usr/lib/gsd-power +run /usr/bin/gnome-keyring-daemon --start --components=secrets +run /usr/bin/gnome-keyring-daemon --start --components=ssh +run /home/kylert/.config/awesome/keymapper.sh diff --git a/awesome/keymapper.sh b/awesome/keymapper.sh new file mode 100755 index 0000000..a28aa3e --- /dev/null +++ b/awesome/keymapper.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +key-mapper-control --command stop-all && key-mapper-control --command autoload diff --git a/awesome/rc.lua b/awesome/rc.lua new file mode 100644 index 0000000..2c17d20 --- /dev/null +++ b/awesome/rc.lua @@ -0,0 +1,681 @@ +-- If LuaRocks is installed, make sure that packages installed through it are +-- found (e.g. lgi). If LuaRocks is not installed, do nothing. +pcall(require, "luarocks.loader") + +-- Standard awesome library +local gears = require("gears") +local awful = require("awful") +require("awful.autofocus") +-- Widget and layout library +local wibox = require("wibox") +-- Theme handling library +local beautiful = require("beautiful") +-- Notification library +local naughty = require("naughty") +local menubar = require("menubar") +local hotkeys_popup = require("awful.hotkeys_popup") +-- Enable hotkeys help widget for VIM and other apps +-- when client with a matching name is opened: +require("awful.hotkeys_popup.keys") + +-- {{{ Error handling +-- Check if awesome encountered an error during startup and fell back to +-- another config (This code will only ever execute for the fallback config) +if awesome.startup_errors then + naughty.notify({ preset = naughty.config.presets.critical, + title = "Oops, there were errors during startup!", + text = awesome.startup_errors }) +end + +-- Handle runtime errors after startup +do + local in_error = false + awesome.connect_signal("debug::error", function (err) + -- Make sure we don't go into an endless error loop + if in_error then return end + in_error = true + + naughty.notify({ preset = naughty.config.presets.critical, + title = "Oops, an error happened!", + text = tostring(err) }) + in_error = false + end) +end +-- }}} + +-- {{{ Variable definitions +-- Themes define colours, icons, font and wallpapers. +-- beautiful.init(gears.filesystem.get_configuration_dir() .. "/themes/default/theme.lua") +local theme_path = string.format("%s/.config/awesome/themes/%s/theme.lua", os.getenv("HOME"), "adwaita") +beautiful.init(theme_path) + +-- This is used later as the default terminal and editor to run. +terminal = "xfce4-terminal" +editor = os.getenv("EDITOR") or "xed" +editor_cmd = terminal .. " -e " .. editor + +-- Default modkey. +-- Usually, Mod4 is the key with a logo between Control and Alt. +-- If you do not like this or do not have such a key, +-- I suggest you to remap Mod4 to another key using xmodmap or other tools. +-- However, you can use another modifier like Mod1, but it may interact with others. +modkey = "Mod4" + +-- Table of layouts to cover with awful.layout.inc, order matters. +awful.layout.layouts = { + awful.layout.suit.tile, + awful.layout.suit.floating, + + -- awful.layout.suit.tile.left, + -- awful.layout.suit.tile.bottom, + -- awful.layout.suit.tile.top, + -- awful.layout.suit.fair, + -- awful.layout.suit.fair.horizontal, + -- awful.layout.suit.spiral, + -- awful.layout.suit.spiral.dwindle, + -- awful.layout.suit.max, + -- awful.layout.suit.max.fullscreen, + -- awful.layout.suit.magnifier, + -- awful.layout.suit.corner.nw, + -- awful.layout.suit.corner.ne, + -- awful.layout.suit.corner.sw, + -- awful.layout.suit.corner.se, +} +-- }}} + +-- {{{ Menu +-- Create a launcher widget and a main menu +myawesomemenu = { + { "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, +-- { "manual", terminal .. " -e man awesome" }, + { "edit config", editor_cmd .. " " .. awesome.conffile }, +-- { "restart", awesome.restart }, +-- { "quit", function() awesome.quit() end }, +-- { "quit", function () awful.spawn("sh -c 'pkill -9 -u $USER'") 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, }, "h", hotkeys_popup.show_help, + {description="show help", group="awesome"}), + awful.key({ "Control", "Mod1" }, "Left", awful.tag.viewprev, + {description = "view previous", group = "tag"}), + awful.key({ "Control", "Mod1" }, "Right", awful.tag.viewnext, + {description = "view next", group = "tag"}), + awful.key({ modkey, }, "Escape", awful.tag.history.restore, + {description = "go back", group = "tag"}), + + awful.key({ "Mod1", }, "Tab", + function () + awful.client.focus.byidx( 1) + end, + {description = "focus next by index", group = "client"} + ), + awful.key({ "Mod1", "Shift" }, "Tab", + function () + awful.client.focus.byidx(-1) + end, + {description = "focus previous by index", group = "client"} + ), + awful.key({ modkey, }, "Menu", function () mymainmenu:show() end, + {description = "show main menu", group = "awesome"}), + + -- Layout manipulation + awful.key({ modkey, "Control" }, "Up", function () awful.client.swap.byidx( 1) end, + {description = "swap with next client by index", group = "client"}), + awful.key({ modkey, "Control"}, "Down", function () awful.client.swap.byidx( -1) end, + {description = "swap with previous client by index", group = "client"}), + + -- Unmodified Keys - Kyle + + --[[ 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"}), ]]-- + + -- End Unmodified Keys - Kyle + + -- Application Hotkeys + --[[ Template + awful.key({ [KEY], [KEY] }, [KEY], function () awful.spawn("[APPLICATION_NAME]") end, + {description = "open a terminal", group = "launcher"}), + ]]-- + awful.key({ "Control", "Mod1" }, "t", function () awful.spawn(terminal) end, + {description = "open a terminal", group = "launcher"}), + awful.key({ modkey, }, "s", function () awful.spawn("fsearch") end, + {description = "search the filesystem", group = "launcher"}), + awful.key({ modkey, }, "e", function () awful.spawn("thunar") end, + {description = "open a file manager", group = "launcher"}), + awful.key({ }, "Print", function () awful.spawn("xfce4-screenshooter -f --mouse") end, + {description = "take a screenshot of the fullscreen", group = "launcher"}), + awful.key({ modkey }, "Print", function () awful.spawn("xfce4-screenshooter -w --mouse") end, + {description = "take a screenshot of the active window", group = "launcher"}), + awful.key({ "Shift" }, "Print", function () awful.spawn("xfce4-screenshooter -r --mouse") end, + {description = "take a screenshot of an area of the screen", group = "launcher"}), + awful.key({ "Shift", "Control" }, "x", function () awful.spawn("xkill") end, + {description = "kill a window by brute force", group = "launcher"}), + awful.key({ "Control", "Mod1" }, "Delete", function () awful.spawn("xfce4-terminal -e 'htop' -T 'Task Manager'") end, + {description = "kill a window by brute force", group = "launcher"}), + + -- Brightness Hotkeys + awful.key({ }, "XF86MonBrightnessDown", function () awful.util.spawn("xbacklight -dec 15") end), + awful.key({ }, "XF86MonBrightnessUp", function () awful.util.spawn("xbacklight -inc 15") end), + + + + -- awesome window manager Controls + --[[awful.key({ "Control", "Mod1" }, "BackSpace", awesome.restart, + {description = "reload awesome", group = "awesome"}), + awful.key({ "Control", "Shift" }, "Delete", awesome.quit, + {description = "quit awesome", group = "awesome"}),]]-- + +--[[ awful.key({ "Control", "Mod1" }, "BackSpace", function () awful.spawn("sh -c 'pkill -9 -u $USER'") end, + {description = "quit awesome", group = "launcher"}), ]]-- + + awful.key({ "Control", "Shift" }, "Delete", function () awful.spawn("gnome-system-monitor") end, + {description = "gnome-system-monitor", group = "launcher"}), + + + + -- Tiled Window Manipulation + + awful.key({ modkey, }, "Right", function () awful.tag.incmwfact( 0.05) end, + {description = "increase master width factor", group = "layout"}), + awful.key({ modkey, }, "Left", function () awful.tag.incmwfact(-0.05) end, + {description = "decrease master width factor", group = "layout"}), + + awful.key({ modkey, }, "Up", function () awful.client.incwfact( 0.05) end, + {description = "increase master height factor", group = "layout"}), + awful.key({ modkey, }, "Down", function () awful.client.incwfact(-0.05) end, + {description = "decrease master height factor", group = "layout"}), + + + awful.key({ "Control", }, "Left", function () awful.tag.incnmaster( 1, nil, true) end, + {description = "increase the number of master clients", group = "layout"}), + awful.key({ "Control", }, "Right", function () awful.tag.incnmaster(-1, nil, true) end, + {description = "decrease the number of master clients", group = "layout"}), + awful.key({ "Control", }, "Up", function () awful.tag.incncol( 1, nil, true) end, + {description = "increase the number of columns", group = "layout"}), + awful.key({"Control", }, "Down", 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, "Mod1" }, "Left", + 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({ "Mod1" }, "F3", function () awful.screen.focused().mypromptbox:run() end, + {description = "run prompt", group = "launcher"}), + + awful.key({ modkey }, "x", + function () + awful.prompt.run { + prompt = "Run Lua code: ", + textbox = awful.screen.focused().mypromptbox.widget, + exe_callback = awful.util.eval, + history_path = awful.util.get_cache_dir() .. "/history_eval" + } + end, + {description = "lua execute prompt", group = "awesome"}), + -- Menubar + awful.key({ "Shift" }, "space", function() menubar.show() end, + {description = "show the menubar", group = "launcher"}) +) + +clientkeys = gears.table.join( + awful.key({ "Mod1", }, "Down", + function (c) + c.fullscreen = not c.fullscreen + c:raise() + end, + {description = "toggle fullscreen", group = "client"}), + awful.key({ "Mod1", }, "F4", function (c) c:kill() end, + {description = "close", group = "client"}), + awful.key({ "Shift", "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({ "Mod1", }, "Left", + 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({ "Mod1", }, "Right", + function (c) + c.maximized = not c.maximized + c:raise() + end , + {description = "(un)maximize", group = "client"}), + awful.key({ modkey, "Control" }, "m", + function (c) + c.maximized_vertical = not c.maximized_vertical + c:raise() + end , + {description = "(un)maximize vertically", group = "client"}), + awful.key({ modkey, "Shift" }, "m", + function (c) + c.maximized_horizontal = not c.maximized_horizontal + c:raise() + end , + {description = "(un)maximize horizontally", group = "client"}) +) + +-- Bind all key numbers to tags. +-- Be careful: we use keycodes to make it work on any keyboard layout. +-- This should map on the top row of your keyboard, usually 1 to 9. +for i = 1, 9 do + globalkeys = gears.table.join(globalkeys, + -- View tag only. + awful.key({ "Control", "Mod1" }, "#" .. 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"}), + -- Move client to prev/next tag and switch to it + awful.key({ modkey, "Shift" }, "Left", + function () + -- get current tag + local t = client.focus and client.focus.first_tag or nil + if t == nil then + return + end + -- get previous tag (modulo 9 excluding 0 to wrap from 1 to 9) + local tag = client.focus.screen.tags[(t.name - 2) % 9 + 1] + awful.client.movetotag(tag) + awful.tag.viewprev() + end, + {description = "move client to previous tag and switch to it", group = "tag"}), + awful.key({ modkey, "Shift" }, "Right", + function () + -- get current tag + local t = client.focus and client.focus.first_tag or nil + if t == nil then + return + end + -- get next tag (modulo 9 excluding 0 to wrap from 9 to 1) + local tag = client.focus.screen.tags[(t.name % 9) + 1] + awful.client.movetotag(tag) + awful.tag.viewnext() + end, + {description = "move client to next tag and switch to it", 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) +-- }}} + +-- Gaps +beautiful.useless_gap = 5 + + +-- Autostart + +-- awful.spawn.with_shell("") + +--[[ awful.spawn.with_shell("bash -c 'key-mapper-control --command stop-all && key-mapper-control --command autoload'") +awful.spawn.with_shell("nitrogen --restore") +awful.spawn.with_shell("picom") +awful.spawn.with_shell("lxsession") +awful.spawn.with_shell("/usr/lib/gsd-xsettings") +awful.spawn.with_shell("/usr/lib/gsd-datetime") +--awful.spawn.with_shell("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1") +awful.spawn.with_shell("/usr/lib/baloo_file") +awful.spawn.with_shell("blueman-applet") +awful.spawn.with_shell("xfce4-clipman") +awful.spawn.with_shell("emojione-picker") +awful.spawn.with_shell("/usr/lib/geoclue-2.0/demos/agent") +awful.spawn.with_shell("/usr/lib/kdeconnectd") +awful.spawn.with_shell("kdeconnect-indicator") +awful.spawn.with_shell("nm-applet") +awful.spawn.with_shell("system-config-printer-applet") +awful.spawn.with_shell("start-pulseaudio-x11") +awful.spawn.with_shell("/bin/snap userd --autostart") +awful.spawn.with_shell("/usr/lib/tracker-miner-fs-3") +awful.spawn.with_shell("/usr/lib/tracker-miner-rss-3") +awful.spawn.with_shell("/usr/lib/xapps/sn-watcher/xapp-sn-watcher") +awful.spawn.with_shell("xfce4-volumed-pulse") +awful.spawn.with_shell("/usr/lib/at-spi-bus-launcher --launch-immediately") +awful.spawn.with_shell("/usr/bin/gnome-keyring-daemon --start --components=pkcs11") +awful.spawn.with_shell("/usr/lib/gsd-power") +awful.spawn.with_shell("/usr/bin/gnome-keyring-daemon --start --components=secrets") +awful.spawn.with_shell("/usr/bin/gnome-keyring-daemon --start --components=ssh") ]]-- +awful.spawn.with_shell("/home/kylert/.config/awesome/autorun.sh") diff --git a/awesome/themes/adwaita/README b/awesome/themes/adwaita/README new file mode 100644 index 0000000..1ddb349 --- /dev/null +++ b/awesome/themes/adwaita/README @@ -0,0 +1,3 @@ +Background images: + Mikael Eriksson <mikael_eriksson@miffe.org> + Licensed under CC-BY-SA-3.0 diff --git a/awesome/themes/adwaita/arch-submenu.png b/awesome/themes/adwaita/arch-submenu.png Binary files differnew file mode 100644 index 0000000..26e4b4c --- /dev/null +++ b/awesome/themes/adwaita/arch-submenu.png diff --git a/awesome/themes/adwaita/background.png b/awesome/themes/adwaita/background.png Binary files differnew file mode 100644 index 0000000..8f52b6b --- /dev/null +++ b/awesome/themes/adwaita/background.png diff --git a/awesome/themes/adwaita/background_white.png b/awesome/themes/adwaita/background_white.png Binary files differnew file mode 100644 index 0000000..bb0c5d0 --- /dev/null +++ b/awesome/themes/adwaita/background_white.png diff --git a/awesome/themes/adwaita/layouts/cornerne.png b/awesome/themes/adwaita/layouts/cornerne.png Binary files differnew file mode 100644 index 0000000..c85bd56 --- /dev/null +++ b/awesome/themes/adwaita/layouts/cornerne.png diff --git a/awesome/themes/adwaita/layouts/cornernew.png b/awesome/themes/adwaita/layouts/cornernew.png Binary files differnew file mode 100644 index 0000000..c3fd986 --- /dev/null +++ b/awesome/themes/adwaita/layouts/cornernew.png diff --git a/awesome/themes/adwaita/layouts/cornernw.png b/awesome/themes/adwaita/layouts/cornernw.png Binary files differnew file mode 100644 index 0000000..dfe78b3 --- /dev/null +++ b/awesome/themes/adwaita/layouts/cornernw.png diff --git a/awesome/themes/adwaita/layouts/cornernww.png b/awesome/themes/adwaita/layouts/cornernww.png Binary files differnew file mode 100644 index 0000000..f489010 --- /dev/null +++ b/awesome/themes/adwaita/layouts/cornernww.png diff --git a/awesome/themes/adwaita/layouts/cornerse.png b/awesome/themes/adwaita/layouts/cornerse.png Binary files differnew file mode 100644 index 0000000..023ae79 --- /dev/null +++ b/awesome/themes/adwaita/layouts/cornerse.png diff --git a/awesome/themes/adwaita/layouts/cornersew.png b/awesome/themes/adwaita/layouts/cornersew.png Binary files differnew file mode 100644 index 0000000..f7cfa1c --- /dev/null +++ b/awesome/themes/adwaita/layouts/cornersew.png diff --git a/awesome/themes/adwaita/layouts/cornersw.png b/awesome/themes/adwaita/layouts/cornersw.png Binary files differnew file mode 100644 index 0000000..c1453c9 --- /dev/null +++ b/awesome/themes/adwaita/layouts/cornersw.png diff --git a/awesome/themes/adwaita/layouts/cornersww.png b/awesome/themes/adwaita/layouts/cornersww.png Binary files differnew file mode 100644 index 0000000..a65a043 --- /dev/null +++ b/awesome/themes/adwaita/layouts/cornersww.png diff --git a/awesome/themes/adwaita/layouts/dwindle.png b/awesome/themes/adwaita/layouts/dwindle.png Binary files differnew file mode 100644 index 0000000..9902d22 --- /dev/null +++ b/awesome/themes/adwaita/layouts/dwindle.png diff --git a/awesome/themes/adwaita/layouts/dwindlew.png b/awesome/themes/adwaita/layouts/dwindlew.png Binary files differnew file mode 100644 index 0000000..9199049 --- /dev/null +++ b/awesome/themes/adwaita/layouts/dwindlew.png diff --git a/awesome/themes/adwaita/layouts/fairh.png b/awesome/themes/adwaita/layouts/fairh.png Binary files differnew file mode 100644 index 0000000..d41deea --- /dev/null +++ b/awesome/themes/adwaita/layouts/fairh.png diff --git a/awesome/themes/adwaita/layouts/fairhw.png b/awesome/themes/adwaita/layouts/fairhw.png Binary files differnew file mode 100644 index 0000000..bb50e3a --- /dev/null +++ b/awesome/themes/adwaita/layouts/fairhw.png diff --git a/awesome/themes/adwaita/layouts/fairv.png b/awesome/themes/adwaita/layouts/fairv.png Binary files differnew file mode 100644 index 0000000..f5f0288 --- /dev/null +++ b/awesome/themes/adwaita/layouts/fairv.png diff --git a/awesome/themes/adwaita/layouts/fairvw.png b/awesome/themes/adwaita/layouts/fairvw.png Binary files differnew file mode 100644 index 0000000..4f4ed52 --- /dev/null +++ b/awesome/themes/adwaita/layouts/fairvw.png diff --git a/awesome/themes/adwaita/layouts/floating.png b/awesome/themes/adwaita/layouts/floating.png Binary files differnew file mode 100644 index 0000000..b8061a0 --- /dev/null +++ b/awesome/themes/adwaita/layouts/floating.png diff --git a/awesome/themes/adwaita/layouts/floatingw.png b/awesome/themes/adwaita/layouts/floatingw.png Binary files differnew file mode 100644 index 0000000..4815894 --- /dev/null +++ b/awesome/themes/adwaita/layouts/floatingw.png diff --git a/awesome/themes/adwaita/layouts/fullscreen.png b/awesome/themes/adwaita/layouts/fullscreen.png Binary files differnew file mode 100644 index 0000000..d02f6fc --- /dev/null +++ b/awesome/themes/adwaita/layouts/fullscreen.png diff --git a/awesome/themes/adwaita/layouts/fullscreenw.png b/awesome/themes/adwaita/layouts/fullscreenw.png Binary files differnew file mode 100644 index 0000000..5c35bfa --- /dev/null +++ b/awesome/themes/adwaita/layouts/fullscreenw.png diff --git a/awesome/themes/adwaita/layouts/magnifier.png b/awesome/themes/adwaita/layouts/magnifier.png Binary files differnew file mode 100644 index 0000000..2925414 --- /dev/null +++ b/awesome/themes/adwaita/layouts/magnifier.png diff --git a/awesome/themes/adwaita/layouts/magnifierw.png b/awesome/themes/adwaita/layouts/magnifierw.png Binary files differnew file mode 100644 index 0000000..6209556 --- /dev/null +++ b/awesome/themes/adwaita/layouts/magnifierw.png diff --git a/awesome/themes/adwaita/layouts/max.png b/awesome/themes/adwaita/layouts/max.png Binary files differnew file mode 100644 index 0000000..8d20844 --- /dev/null +++ b/awesome/themes/adwaita/layouts/max.png diff --git a/awesome/themes/adwaita/layouts/maxw.png b/awesome/themes/adwaita/layouts/maxw.png Binary files differnew file mode 100644 index 0000000..85f5ce3 --- /dev/null +++ b/awesome/themes/adwaita/layouts/maxw.png diff --git a/awesome/themes/adwaita/layouts/spiral.png b/awesome/themes/adwaita/layouts/spiral.png Binary files differnew file mode 100644 index 0000000..d9434be --- /dev/null +++ b/awesome/themes/adwaita/layouts/spiral.png diff --git a/awesome/themes/adwaita/layouts/spiralw.png b/awesome/themes/adwaita/layouts/spiralw.png Binary files differnew file mode 100644 index 0000000..b78dd86 --- /dev/null +++ b/awesome/themes/adwaita/layouts/spiralw.png diff --git a/awesome/themes/adwaita/layouts/tile.png b/awesome/themes/adwaita/layouts/tile.png Binary files differnew file mode 100644 index 0000000..3ede21e --- /dev/null +++ b/awesome/themes/adwaita/layouts/tile.png diff --git a/awesome/themes/adwaita/layouts/tilebottom.png b/awesome/themes/adwaita/layouts/tilebottom.png Binary files differnew file mode 100644 index 0000000..6f8c257 --- /dev/null +++ b/awesome/themes/adwaita/layouts/tilebottom.png diff --git a/awesome/themes/adwaita/layouts/tilebottomw.png b/awesome/themes/adwaita/layouts/tilebottomw.png Binary files differnew file mode 100644 index 0000000..a1de7b2 --- /dev/null +++ b/awesome/themes/adwaita/layouts/tilebottomw.png diff --git a/awesome/themes/adwaita/layouts/tileleft.png b/awesome/themes/adwaita/layouts/tileleft.png Binary files differnew file mode 100644 index 0000000..31d6870 --- /dev/null +++ b/awesome/themes/adwaita/layouts/tileleft.png diff --git a/awesome/themes/adwaita/layouts/tileleftw.png b/awesome/themes/adwaita/layouts/tileleftw.png Binary files differnew file mode 100644 index 0000000..cf14c25 --- /dev/null +++ b/awesome/themes/adwaita/layouts/tileleftw.png diff --git a/awesome/themes/adwaita/layouts/tiletop.png b/awesome/themes/adwaita/layouts/tiletop.png Binary files differnew file mode 100644 index 0000000..98cade2 --- /dev/null +++ b/awesome/themes/adwaita/layouts/tiletop.png diff --git a/awesome/themes/adwaita/layouts/tiletopw.png b/awesome/themes/adwaita/layouts/tiletopw.png Binary files differnew file mode 100644 index 0000000..d1d0872 --- /dev/null +++ b/awesome/themes/adwaita/layouts/tiletopw.png diff --git a/awesome/themes/adwaita/layouts/tilew.png b/awesome/themes/adwaita/layouts/tilew.png Binary files differnew file mode 100644 index 0000000..fde2ca4 --- /dev/null +++ b/awesome/themes/adwaita/layouts/tilew.png diff --git a/awesome/themes/adwaita/taglist/squarefw.png b/awesome/themes/adwaita/taglist/squarefw.png Binary files differnew file mode 100644 index 0000000..2a86430 --- /dev/null +++ b/awesome/themes/adwaita/taglist/squarefw.png diff --git a/awesome/themes/adwaita/taglist/squarew.png b/awesome/themes/adwaita/taglist/squarew.png Binary files differnew file mode 100644 index 0000000..913f2ca --- /dev/null +++ b/awesome/themes/adwaita/taglist/squarew.png diff --git a/awesome/themes/adwaita/theme.lua b/awesome/themes/adwaita/theme.lua new file mode 100644 index 0000000..92c0ff5 --- /dev/null +++ b/awesome/themes/adwaita/theme.lua @@ -0,0 +1,133 @@ +--------------------------- +-- Default awesome theme -- +--------------------------- + +local theme_assets = require("beautiful.theme_assets") +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi + +local gfs = require("gears.filesystem") +local themes_path = gfs.get_themes_dir() + +local theme = {} + +theme.font = "Helvetica World 10" + +theme.bg_normal = "#303030" +theme.bg_focus = "#11427E" +theme.bg_urgent = "#7d4c10" +theme.bg_minimize = "#444444" +theme.bg_systray = theme.bg_normal + +theme.fg_normal = "#aaaaaa" +theme.fg_focus = "#ffffff" +theme.fg_urgent = "#ffffff" +theme.fg_minimize = "#ffffff" + +theme.useless_gap = dpi(0) +theme.border_width = dpi(4) +theme.border_normal = "#303030" +theme.border_focus = "#11427E" +theme.border_marked = "#7d4c10" + +-- There are other variable sets +-- overriding the default one when +-- defined, the sets are: +-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile] +-- tasklist_[bg|fg]_[focus|urgent] +-- titlebar_[bg|fg]_[normal|focus] +-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] +-- mouse_finder_[color|timeout|animate_timeout|radius|factor] +-- prompt_[fg|bg|fg_cursor|bg_cursor|font] +-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font] +-- Example: +--theme.taglist_bg_focus = "#ff0000" + +-- Generate taglist squares: +local taglist_square_size = dpi(4) +theme.taglist_squares_sel = theme_assets.taglist_squares_sel( + taglist_square_size, theme.fg_normal +) +theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel( + taglist_square_size, theme.fg_normal +) + +-- Variables set for theming notifications: +-- notification_font +-- notification_[bg|fg] +-- notification_[width|height|margin] +-- notification_[border_color|border_width|shape|opacity] + +-- Variables set for theming the menu: +-- menu_[bg|fg]_[normal|focus] +-- menu_[border_color|border_width] +theme.menu_submenu_icon = themes_path.."default/submenu.png" +theme.menu_height = dpi(15) +theme.menu_width = dpi(100) + +-- You can add as many variables as +-- you wish and access them by using +-- beautiful.variable in your rc.lua +--theme.bg_widget = "#cc0000" + +-- Define the image to load +theme.titlebar_close_button_normal = themes_path.."default/titlebar/close_normal.png" +theme.titlebar_close_button_focus = themes_path.."default/titlebar/close_focus.png" + +theme.titlebar_minimize_button_normal = themes_path.."default/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = themes_path.."default/titlebar/minimize_focus.png" + +theme.titlebar_ontop_button_normal_inactive = themes_path.."default/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = themes_path.."default/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = themes_path.."default/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = themes_path.."default/titlebar/ontop_focus_active.png" + +theme.titlebar_sticky_button_normal_inactive = themes_path.."default/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = themes_path.."default/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = themes_path.."default/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = themes_path.."default/titlebar/sticky_focus_active.png" + +theme.titlebar_floating_button_normal_inactive = themes_path.."default/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = themes_path.."default/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = themes_path.."default/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = themes_path.."default/titlebar/floating_focus_active.png" + +theme.titlebar_maximized_button_normal_inactive = themes_path.."default/titlebar/maximized_normal_inactive.png" +theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png" + +theme.wallpaper = themes_path.."default/background.png" + +-- You can use your own layout icons like this: +theme.layout_fairh = themes_path.."default/layouts/fairhw.png" +theme.layout_fairv = themes_path.."default/layouts/fairvw.png" +theme.layout_floating = themes_path.."default/layouts/floatingw.png" +theme.layout_magnifier = themes_path.."default/layouts/magnifierw.png" +theme.layout_max = themes_path.."default/layouts/maxw.png" +theme.layout_fullscreen = themes_path.."default/layouts/fullscreenw.png" +theme.layout_tilebottom = themes_path.."default/layouts/tilebottomw.png" +theme.layout_tileleft = themes_path.."default/layouts/tileleftw.png" +theme.layout_tile = themes_path.."default/layouts/tilew.png" +theme.layout_tiletop = themes_path.."default/layouts/tiletopw.png" +theme.layout_spiral = themes_path.."default/layouts/spiralw.png" +theme.layout_dwindle = themes_path.."default/layouts/dwindlew.png" +theme.layout_cornernw = themes_path.."default/layouts/cornernww.png" +theme.layout_cornerne = themes_path.."default/layouts/cornernew.png" +theme.layout_cornersw = themes_path.."default/layouts/cornersww.png" +theme.layout_cornerse = themes_path.."default/layouts/cornersew.png" + +-- Generate Awesome icon: +--[[theme.awesome_icon = theme_assets.awesome_icon( + theme.menu_height, theme.bg_focus, theme.fg_focus +) ]]-- + +theme.awesome_icon = "/home/kylert/.config/awesome/themes/adwaita/arch-submenu.png" + +-- Define the icon theme for application icons. If not set then the icons +-- from /usr/share/icons and /usr/share/icons/hicolor will be used. +theme.icon_theme = nil + +return theme + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/awesome/themes/adwaita/titlebar/close_focus.png b/awesome/themes/adwaita/titlebar/close_focus.png Binary files differnew file mode 100644 index 0000000..01ef825 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/close_focus.png diff --git a/awesome/themes/adwaita/titlebar/close_normal.png b/awesome/themes/adwaita/titlebar/close_normal.png Binary files differnew file mode 100644 index 0000000..5448ed8 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/close_normal.png diff --git a/awesome/themes/adwaita/titlebar/floating_focus_active.png b/awesome/themes/adwaita/titlebar/floating_focus_active.png Binary files differnew file mode 100644 index 0000000..82dcc7c --- /dev/null +++ b/awesome/themes/adwaita/titlebar/floating_focus_active.png diff --git a/awesome/themes/adwaita/titlebar/floating_focus_inactive.png b/awesome/themes/adwaita/titlebar/floating_focus_inactive.png Binary files differnew file mode 100644 index 0000000..c19ba80 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/floating_focus_inactive.png diff --git a/awesome/themes/adwaita/titlebar/floating_normal_active.png b/awesome/themes/adwaita/titlebar/floating_normal_active.png Binary files differnew file mode 100644 index 0000000..62342d1 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/floating_normal_active.png diff --git a/awesome/themes/adwaita/titlebar/floating_normal_inactive.png b/awesome/themes/adwaita/titlebar/floating_normal_inactive.png Binary files differnew file mode 100644 index 0000000..e2bbdfa --- /dev/null +++ b/awesome/themes/adwaita/titlebar/floating_normal_inactive.png diff --git a/awesome/themes/adwaita/titlebar/maximized_focus_active.png b/awesome/themes/adwaita/titlebar/maximized_focus_active.png Binary files differnew file mode 100644 index 0000000..d7dffd7 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/maximized_focus_active.png diff --git a/awesome/themes/adwaita/titlebar/maximized_focus_inactive.png b/awesome/themes/adwaita/titlebar/maximized_focus_inactive.png Binary files differnew file mode 100644 index 0000000..844389f --- /dev/null +++ b/awesome/themes/adwaita/titlebar/maximized_focus_inactive.png diff --git a/awesome/themes/adwaita/titlebar/maximized_normal_active.png b/awesome/themes/adwaita/titlebar/maximized_normal_active.png Binary files differnew file mode 100644 index 0000000..a705f81 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/maximized_normal_active.png diff --git a/awesome/themes/adwaita/titlebar/maximized_normal_inactive.png b/awesome/themes/adwaita/titlebar/maximized_normal_inactive.png Binary files differnew file mode 100644 index 0000000..4c1ab1f --- /dev/null +++ b/awesome/themes/adwaita/titlebar/maximized_normal_inactive.png diff --git a/awesome/themes/adwaita/titlebar/minimize_focus.png b/awesome/themes/adwaita/titlebar/minimize_focus.png Binary files differnew file mode 100644 index 0000000..caaceb2 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/minimize_focus.png diff --git a/awesome/themes/adwaita/titlebar/minimize_normal.png b/awesome/themes/adwaita/titlebar/minimize_normal.png Binary files differnew file mode 100644 index 0000000..36621d0 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/minimize_normal.png diff --git a/awesome/themes/adwaita/titlebar/ontop_focus_active.png b/awesome/themes/adwaita/titlebar/ontop_focus_active.png Binary files differnew file mode 100644 index 0000000..312c00b --- /dev/null +++ b/awesome/themes/adwaita/titlebar/ontop_focus_active.png diff --git a/awesome/themes/adwaita/titlebar/ontop_focus_inactive.png b/awesome/themes/adwaita/titlebar/ontop_focus_inactive.png Binary files differnew file mode 100644 index 0000000..a48e1c5 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/ontop_focus_inactive.png diff --git a/awesome/themes/adwaita/titlebar/ontop_normal_active.png b/awesome/themes/adwaita/titlebar/ontop_normal_active.png Binary files differnew file mode 100644 index 0000000..117a203 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/ontop_normal_active.png diff --git a/awesome/themes/adwaita/titlebar/ontop_normal_inactive.png b/awesome/themes/adwaita/titlebar/ontop_normal_inactive.png Binary files differnew file mode 100644 index 0000000..d3a10c8 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/ontop_normal_inactive.png diff --git a/awesome/themes/adwaita/titlebar/sticky_focus_active.png b/awesome/themes/adwaita/titlebar/sticky_focus_active.png Binary files differnew file mode 100644 index 0000000..814499b --- /dev/null +++ b/awesome/themes/adwaita/titlebar/sticky_focus_active.png diff --git a/awesome/themes/adwaita/titlebar/sticky_focus_inactive.png b/awesome/themes/adwaita/titlebar/sticky_focus_inactive.png Binary files differnew file mode 100644 index 0000000..21b000d --- /dev/null +++ b/awesome/themes/adwaita/titlebar/sticky_focus_inactive.png diff --git a/awesome/themes/adwaita/titlebar/sticky_normal_active.png b/awesome/themes/adwaita/titlebar/sticky_normal_active.png Binary files differnew file mode 100644 index 0000000..bdb5595 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/sticky_normal_active.png diff --git a/awesome/themes/adwaita/titlebar/sticky_normal_inactive.png b/awesome/themes/adwaita/titlebar/sticky_normal_inactive.png Binary files differnew file mode 100644 index 0000000..a96b9b1 --- /dev/null +++ b/awesome/themes/adwaita/titlebar/sticky_normal_inactive.png diff --git a/awesome/themes/default/README b/awesome/themes/default/README new file mode 100644 index 0000000..1ddb349 --- /dev/null +++ b/awesome/themes/default/README @@ -0,0 +1,3 @@ +Background images: + Mikael Eriksson <mikael_eriksson@miffe.org> + Licensed under CC-BY-SA-3.0 diff --git a/awesome/themes/default/background.png b/awesome/themes/default/background.png Binary files differnew file mode 100644 index 0000000..8f52b6b --- /dev/null +++ b/awesome/themes/default/background.png diff --git a/awesome/themes/default/background_white.png b/awesome/themes/default/background_white.png Binary files differnew file mode 100644 index 0000000..bb0c5d0 --- /dev/null +++ b/awesome/themes/default/background_white.png diff --git a/awesome/themes/default/layouts/cornerne.png b/awesome/themes/default/layouts/cornerne.png Binary files differnew file mode 100644 index 0000000..c85bd56 --- /dev/null +++ b/awesome/themes/default/layouts/cornerne.png diff --git a/awesome/themes/default/layouts/cornernew.png b/awesome/themes/default/layouts/cornernew.png Binary files differnew file mode 100644 index 0000000..c3fd986 --- /dev/null +++ b/awesome/themes/default/layouts/cornernew.png diff --git a/awesome/themes/default/layouts/cornernw.png b/awesome/themes/default/layouts/cornernw.png Binary files differnew file mode 100644 index 0000000..dfe78b3 --- /dev/null +++ b/awesome/themes/default/layouts/cornernw.png diff --git a/awesome/themes/default/layouts/cornernww.png b/awesome/themes/default/layouts/cornernww.png Binary files differnew file mode 100644 index 0000000..f489010 --- /dev/null +++ b/awesome/themes/default/layouts/cornernww.png diff --git a/awesome/themes/default/layouts/cornerse.png b/awesome/themes/default/layouts/cornerse.png Binary files differnew file mode 100644 index 0000000..023ae79 --- /dev/null +++ b/awesome/themes/default/layouts/cornerse.png diff --git a/awesome/themes/default/layouts/cornersew.png b/awesome/themes/default/layouts/cornersew.png Binary files differnew file mode 100644 index 0000000..f7cfa1c --- /dev/null +++ b/awesome/themes/default/layouts/cornersew.png diff --git a/awesome/themes/default/layouts/cornersw.png b/awesome/themes/default/layouts/cornersw.png Binary files differnew file mode 100644 index 0000000..c1453c9 --- /dev/null +++ b/awesome/themes/default/layouts/cornersw.png diff --git a/awesome/themes/default/layouts/cornersww.png b/awesome/themes/default/layouts/cornersww.png Binary files differnew file mode 100644 index 0000000..a65a043 --- /dev/null +++ b/awesome/themes/default/layouts/cornersww.png diff --git a/awesome/themes/default/layouts/dwindle.png b/awesome/themes/default/layouts/dwindle.png Binary files differnew file mode 100644 index 0000000..9902d22 --- /dev/null +++ b/awesome/themes/default/layouts/dwindle.png diff --git a/awesome/themes/default/layouts/dwindlew.png b/awesome/themes/default/layouts/dwindlew.png Binary files differnew file mode 100644 index 0000000..9199049 --- /dev/null +++ b/awesome/themes/default/layouts/dwindlew.png diff --git a/awesome/themes/default/layouts/fairh.png b/awesome/themes/default/layouts/fairh.png Binary files differnew file mode 100644 index 0000000..d41deea --- /dev/null +++ b/awesome/themes/default/layouts/fairh.png diff --git a/awesome/themes/default/layouts/fairhw.png b/awesome/themes/default/layouts/fairhw.png Binary files differnew file mode 100644 index 0000000..bb50e3a --- /dev/null +++ b/awesome/themes/default/layouts/fairhw.png diff --git a/awesome/themes/default/layouts/fairv.png b/awesome/themes/default/layouts/fairv.png Binary files differnew file mode 100644 index 0000000..f5f0288 --- /dev/null +++ b/awesome/themes/default/layouts/fairv.png diff --git a/awesome/themes/default/layouts/fairvw.png b/awesome/themes/default/layouts/fairvw.png Binary files differnew file mode 100644 index 0000000..4f4ed52 --- /dev/null +++ b/awesome/themes/default/layouts/fairvw.png diff --git a/awesome/themes/default/layouts/floating.png b/awesome/themes/default/layouts/floating.png Binary files differnew file mode 100644 index 0000000..b8061a0 --- /dev/null +++ b/awesome/themes/default/layouts/floating.png diff --git a/awesome/themes/default/layouts/floatingw.png b/awesome/themes/default/layouts/floatingw.png Binary files differnew file mode 100644 index 0000000..4815894 --- /dev/null +++ b/awesome/themes/default/layouts/floatingw.png diff --git a/awesome/themes/default/layouts/fullscreen.png b/awesome/themes/default/layouts/fullscreen.png Binary files differnew file mode 100644 index 0000000..d02f6fc --- /dev/null +++ b/awesome/themes/default/layouts/fullscreen.png diff --git a/awesome/themes/default/layouts/fullscreenw.png b/awesome/themes/default/layouts/fullscreenw.png Binary files differnew file mode 100644 index 0000000..5c35bfa --- /dev/null +++ b/awesome/themes/default/layouts/fullscreenw.png diff --git a/awesome/themes/default/layouts/magnifier.png b/awesome/themes/default/layouts/magnifier.png Binary files differnew file mode 100644 index 0000000..2925414 --- /dev/null +++ b/awesome/themes/default/layouts/magnifier.png diff --git a/awesome/themes/default/layouts/magnifierw.png b/awesome/themes/default/layouts/magnifierw.png Binary files differnew file mode 100644 index 0000000..6209556 --- /dev/null +++ b/awesome/themes/default/layouts/magnifierw.png diff --git a/awesome/themes/default/layouts/max.png b/awesome/themes/default/layouts/max.png Binary files differnew file mode 100644 index 0000000..8d20844 --- /dev/null +++ b/awesome/themes/default/layouts/max.png diff --git a/awesome/themes/default/layouts/maxw.png b/awesome/themes/default/layouts/maxw.png Binary files differnew file mode 100644 index 0000000..85f5ce3 --- /dev/null +++ b/awesome/themes/default/layouts/maxw.png diff --git a/awesome/themes/default/layouts/spiral.png b/awesome/themes/default/layouts/spiral.png Binary files differnew file mode 100644 index 0000000..d9434be --- /dev/null +++ b/awesome/themes/default/layouts/spiral.png diff --git a/awesome/themes/default/layouts/spiralw.png b/awesome/themes/default/layouts/spiralw.png Binary files differnew file mode 100644 index 0000000..b78dd86 --- /dev/null +++ b/awesome/themes/default/layouts/spiralw.png diff --git a/awesome/themes/default/layouts/tile.png b/awesome/themes/default/layouts/tile.png Binary files differnew file mode 100644 index 0000000..3ede21e --- /dev/null +++ b/awesome/themes/default/layouts/tile.png diff --git a/awesome/themes/default/layouts/tilebottom.png b/awesome/themes/default/layouts/tilebottom.png Binary files differnew file mode 100644 index 0000000..6f8c257 --- /dev/null +++ b/awesome/themes/default/layouts/tilebottom.png diff --git a/awesome/themes/default/layouts/tilebottomw.png b/awesome/themes/default/layouts/tilebottomw.png Binary files differnew file mode 100644 index 0000000..a1de7b2 --- /dev/null +++ b/awesome/themes/default/layouts/tilebottomw.png diff --git a/awesome/themes/default/layouts/tileleft.png b/awesome/themes/default/layouts/tileleft.png Binary files differnew file mode 100644 index 0000000..31d6870 --- /dev/null +++ b/awesome/themes/default/layouts/tileleft.png diff --git a/awesome/themes/default/layouts/tileleftw.png b/awesome/themes/default/layouts/tileleftw.png Binary files differnew file mode 100644 index 0000000..cf14c25 --- /dev/null +++ b/awesome/themes/default/layouts/tileleftw.png diff --git a/awesome/themes/default/layouts/tiletop.png b/awesome/themes/default/layouts/tiletop.png Binary files differnew file mode 100644 index 0000000..98cade2 --- /dev/null +++ b/awesome/themes/default/layouts/tiletop.png diff --git a/awesome/themes/default/layouts/tiletopw.png b/awesome/themes/default/layouts/tiletopw.png Binary files differnew file mode 100644 index 0000000..d1d0872 --- /dev/null +++ b/awesome/themes/default/layouts/tiletopw.png diff --git a/awesome/themes/default/layouts/tilew.png b/awesome/themes/default/layouts/tilew.png Binary files differnew file mode 100644 index 0000000..fde2ca4 --- /dev/null +++ b/awesome/themes/default/layouts/tilew.png diff --git a/awesome/themes/default/taglist/squarefw.png b/awesome/themes/default/taglist/squarefw.png Binary files differnew file mode 100644 index 0000000..2a86430 --- /dev/null +++ b/awesome/themes/default/taglist/squarefw.png diff --git a/awesome/themes/default/taglist/squarew.png b/awesome/themes/default/taglist/squarew.png Binary files differnew file mode 100644 index 0000000..913f2ca --- /dev/null +++ b/awesome/themes/default/taglist/squarew.png diff --git a/awesome/themes/default/theme.lua b/awesome/themes/default/theme.lua new file mode 100644 index 0000000..806645a --- /dev/null +++ b/awesome/themes/default/theme.lua @@ -0,0 +1,131 @@ +--------------------------- +-- Default awesome theme -- +--------------------------- + +local theme_assets = require("beautiful.theme_assets") +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi + +local gfs = require("gears.filesystem") +local themes_path = gfs.get_themes_dir() + +local theme = {} + +theme.font = "Helvetica World 10" + +theme.bg_normal = "#303030" +theme.bg_focus = "#11427E" +theme.bg_urgent = "#ff0000" +theme.bg_minimize = "#444444" +theme.bg_systray = theme.bg_normal + +theme.fg_normal = "#aaaaaa" +theme.fg_focus = "#ffffff" +theme.fg_urgent = "#ffffff" +theme.fg_minimize = "#ffffff" + +theme.useless_gap = dpi(0) +theme.border_width = dpi(1) +theme.border_normal = "#000000" +theme.border_focus = "#535d6c" +theme.border_marked = "#91231c" + +-- There are other variable sets +-- overriding the default one when +-- defined, the sets are: +-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile] +-- tasklist_[bg|fg]_[focus|urgent] +-- titlebar_[bg|fg]_[normal|focus] +-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] +-- mouse_finder_[color|timeout|animate_timeout|radius|factor] +-- prompt_[fg|bg|fg_cursor|bg_cursor|font] +-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font] +-- Example: +--theme.taglist_bg_focus = "#ff0000" + +-- Generate taglist squares: +local taglist_square_size = dpi(4) +theme.taglist_squares_sel = theme_assets.taglist_squares_sel( + taglist_square_size, theme.fg_normal +) +theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel( + taglist_square_size, theme.fg_normal +) + +-- Variables set for theming notifications: +-- notification_font +-- notification_[bg|fg] +-- notification_[width|height|margin] +-- notification_[border_color|border_width|shape|opacity] + +-- Variables set for theming the menu: +-- menu_[bg|fg]_[normal|focus] +-- menu_[border_color|border_width] +theme.menu_submenu_icon = themes_path.."default/submenu.png" +theme.menu_height = dpi(15) +theme.menu_width = dpi(100) + +-- You can add as many variables as +-- you wish and access them by using +-- beautiful.variable in your rc.lua +--theme.bg_widget = "#cc0000" + +-- Define the image to load +theme.titlebar_close_button_normal = themes_path.."default/titlebar/close_normal.png" +theme.titlebar_close_button_focus = themes_path.."default/titlebar/close_focus.png" + +theme.titlebar_minimize_button_normal = themes_path.."default/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = themes_path.."default/titlebar/minimize_focus.png" + +theme.titlebar_ontop_button_normal_inactive = themes_path.."default/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = themes_path.."default/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = themes_path.."default/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = themes_path.."default/titlebar/ontop_focus_active.png" + +theme.titlebar_sticky_button_normal_inactive = themes_path.."default/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = themes_path.."default/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = themes_path.."default/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = themes_path.."default/titlebar/sticky_focus_active.png" + +theme.titlebar_floating_button_normal_inactive = themes_path.."default/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = themes_path.."default/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = themes_path.."default/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = themes_path.."default/titlebar/floating_focus_active.png" + +theme.titlebar_maximized_button_normal_inactive = themes_path.."default/titlebar/maximized_normal_inactive.png" +theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png" + +theme.wallpaper = themes_path.."default/background.png" + +-- You can use your own layout icons like this: +theme.layout_fairh = themes_path.."default/layouts/fairhw.png" +theme.layout_fairv = themes_path.."default/layouts/fairvw.png" +theme.layout_floating = themes_path.."default/layouts/floatingw.png" +theme.layout_magnifier = themes_path.."default/layouts/magnifierw.png" +theme.layout_max = themes_path.."default/layouts/maxw.png" +theme.layout_fullscreen = themes_path.."default/layouts/fullscreenw.png" +theme.layout_tilebottom = themes_path.."default/layouts/tilebottomw.png" +theme.layout_tileleft = themes_path.."default/layouts/tileleftw.png" +theme.layout_tile = themes_path.."default/layouts/tilew.png" +theme.layout_tiletop = themes_path.."default/layouts/tiletopw.png" +theme.layout_spiral = themes_path.."default/layouts/spiralw.png" +theme.layout_dwindle = themes_path.."default/layouts/dwindlew.png" +theme.layout_cornernw = themes_path.."default/layouts/cornernww.png" +theme.layout_cornerne = themes_path.."default/layouts/cornernew.png" +theme.layout_cornersw = themes_path.."default/layouts/cornersww.png" +theme.layout_cornerse = themes_path.."default/layouts/cornersew.png" + +-- Generate Awesome icon: +theme.awesome_icon = theme_assets.awesome_icon( + theme.menu_height, theme.bg_focus, theme.fg_focus +) + +-- Define the icon theme for application icons. If not set then the icons +-- from /usr/share/icons and /usr/share/icons/hicolor will be used. +theme.icon_theme = nil + +return theme + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/awesome/themes/default/titlebar/close_focus.png b/awesome/themes/default/titlebar/close_focus.png Binary files differnew file mode 100644 index 0000000..01ef825 --- /dev/null +++ b/awesome/themes/default/titlebar/close_focus.png diff --git a/awesome/themes/default/titlebar/close_normal.png b/awesome/themes/default/titlebar/close_normal.png Binary files differnew file mode 100644 index 0000000..5448ed8 --- /dev/null +++ b/awesome/themes/default/titlebar/close_normal.png diff --git a/awesome/themes/default/titlebar/floating_focus_active.png b/awesome/themes/default/titlebar/floating_focus_active.png Binary files differnew file mode 100644 index 0000000..82dcc7c --- /dev/null +++ b/awesome/themes/default/titlebar/floating_focus_active.png diff --git a/awesome/themes/default/titlebar/floating_focus_inactive.png b/awesome/themes/default/titlebar/floating_focus_inactive.png Binary files differnew file mode 100644 index 0000000..c19ba80 --- /dev/null +++ b/awesome/themes/default/titlebar/floating_focus_inactive.png diff --git a/awesome/themes/default/titlebar/floating_normal_active.png b/awesome/themes/default/titlebar/floating_normal_active.png Binary files differnew file mode 100644 index 0000000..62342d1 --- /dev/null +++ b/awesome/themes/default/titlebar/floating_normal_active.png diff --git a/awesome/themes/default/titlebar/floating_normal_inactive.png b/awesome/themes/default/titlebar/floating_normal_inactive.png Binary files differnew file mode 100644 index 0000000..e2bbdfa --- /dev/null +++ b/awesome/themes/default/titlebar/floating_normal_inactive.png diff --git a/awesome/themes/default/titlebar/maximized_focus_active.png b/awesome/themes/default/titlebar/maximized_focus_active.png Binary files differnew file mode 100644 index 0000000..d7dffd7 --- /dev/null +++ b/awesome/themes/default/titlebar/maximized_focus_active.png diff --git a/awesome/themes/default/titlebar/maximized_focus_inactive.png b/awesome/themes/default/titlebar/maximized_focus_inactive.png Binary files differnew file mode 100644 index 0000000..844389f --- /dev/null +++ b/awesome/themes/default/titlebar/maximized_focus_inactive.png diff --git a/awesome/themes/default/titlebar/maximized_normal_active.png b/awesome/themes/default/titlebar/maximized_normal_active.png Binary files differnew file mode 100644 index 0000000..a705f81 --- /dev/null +++ b/awesome/themes/default/titlebar/maximized_normal_active.png diff --git a/awesome/themes/default/titlebar/maximized_normal_inactive.png b/awesome/themes/default/titlebar/maximized_normal_inactive.png Binary files differnew file mode 100644 index 0000000..4c1ab1f --- /dev/null +++ b/awesome/themes/default/titlebar/maximized_normal_inactive.png diff --git a/awesome/themes/default/titlebar/minimize_focus.png b/awesome/themes/default/titlebar/minimize_focus.png Binary files differnew file mode 100644 index 0000000..caaceb2 --- /dev/null +++ b/awesome/themes/default/titlebar/minimize_focus.png diff --git a/awesome/themes/default/titlebar/minimize_normal.png b/awesome/themes/default/titlebar/minimize_normal.png Binary files differnew file mode 100644 index 0000000..36621d0 --- /dev/null +++ b/awesome/themes/default/titlebar/minimize_normal.png diff --git a/awesome/themes/default/titlebar/ontop_focus_active.png b/awesome/themes/default/titlebar/ontop_focus_active.png Binary files differnew file mode 100644 index 0000000..312c00b --- /dev/null +++ b/awesome/themes/default/titlebar/ontop_focus_active.png diff --git a/awesome/themes/default/titlebar/ontop_focus_inactive.png b/awesome/themes/default/titlebar/ontop_focus_inactive.png Binary files differnew file mode 100644 index 0000000..a48e1c5 --- /dev/null +++ b/awesome/themes/default/titlebar/ontop_focus_inactive.png diff --git a/awesome/themes/default/titlebar/ontop_normal_active.png b/awesome/themes/default/titlebar/ontop_normal_active.png Binary files differnew file mode 100644 index 0000000..117a203 --- /dev/null +++ b/awesome/themes/default/titlebar/ontop_normal_active.png diff --git a/awesome/themes/default/titlebar/ontop_normal_inactive.png b/awesome/themes/default/titlebar/ontop_normal_inactive.png Binary files differnew file mode 100644 index 0000000..d3a10c8 --- /dev/null +++ b/awesome/themes/default/titlebar/ontop_normal_inactive.png diff --git a/awesome/themes/default/titlebar/sticky_focus_active.png b/awesome/themes/default/titlebar/sticky_focus_active.png Binary files differnew file mode 100644 index 0000000..814499b --- /dev/null +++ b/awesome/themes/default/titlebar/sticky_focus_active.png diff --git a/awesome/themes/default/titlebar/sticky_focus_inactive.png b/awesome/themes/default/titlebar/sticky_focus_inactive.png Binary files differnew file mode 100644 index 0000000..21b000d --- /dev/null +++ b/awesome/themes/default/titlebar/sticky_focus_inactive.png diff --git a/awesome/themes/default/titlebar/sticky_normal_active.png b/awesome/themes/default/titlebar/sticky_normal_active.png Binary files differnew file mode 100644 index 0000000..bdb5595 --- /dev/null +++ b/awesome/themes/default/titlebar/sticky_normal_active.png diff --git a/awesome/themes/default/titlebar/sticky_normal_inactive.png b/awesome/themes/default/titlebar/sticky_normal_inactive.png Binary files differnew file mode 100644 index 0000000..a96b9b1 --- /dev/null +++ b/awesome/themes/default/titlebar/sticky_normal_inactive.png diff --git a/brave-flags.conf b/brave-flags.conf new file mode 100644 index 0000000..bd005d6 --- /dev/null +++ b/brave-flags.conf @@ -0,0 +1,8 @@ +--force-device-scale-factor=1 +--disable-gpu-driver-bug-workarounds +--use-gl=desktop +--ignore-gpu-blocklist +--enable-gpu-rasterization +--enable-zero-copy +--enable-features=VaapiVideoDecoder +--disable-features=UseOzonePlatform diff --git a/chrome-flags.conf b/chrome-flags.conf new file mode 100644 index 0000000..bd005d6 --- /dev/null +++ b/chrome-flags.conf @@ -0,0 +1,8 @@ +--force-device-scale-factor=1 +--disable-gpu-driver-bug-workarounds +--use-gl=desktop +--ignore-gpu-blocklist +--enable-gpu-rasterization +--enable-zero-copy +--enable-features=VaapiVideoDecoder +--disable-features=UseOzonePlatform diff --git a/chromium-flags.conf b/chromium-flags.conf new file mode 100644 index 0000000..bd005d6 --- /dev/null +++ b/chromium-flags.conf @@ -0,0 +1,8 @@ +--force-device-scale-factor=1 +--disable-gpu-driver-bug-workarounds +--use-gl=desktop +--ignore-gpu-blocklist +--enable-gpu-rasterization +--enable-zero-copy +--enable-features=VaapiVideoDecoder +--disable-features=UseOzonePlatform diff --git a/gtk-2.0/gtkfilechooser.ini b/gtk-2.0/gtkfilechooser.ini new file mode 100644 index 0000000..dde1204 --- /dev/null +++ b/gtk-2.0/gtkfilechooser.ini @@ -0,0 +1,11 @@ +[Filechooser Settings] +LocationMode=path-bar +ShowHidden=true +ShowSizeColumn=true +GeometryX=546 +GeometryY=265 +GeometryWidth=828 +GeometryHeight=573 +SortColumn=name +SortOrder=ascending +StartupMode=recent diff --git a/gtk-3.0/bookmarks b/gtk-3.0/bookmarks new file mode 100644 index 0000000..2bb5851 --- /dev/null +++ b/gtk-3.0/bookmarks @@ -0,0 +1,11 @@ +file:///home/kylert/Pictures +file:///home/kylert/Videos +file:///home/kylert/Documents +file:///home/kylert/Downloads +file:///home/kylert/Music +file:///home/kylert/Templates +file:///home/kylert/Public +file:///home/kylert/Projects +file:///home/kylert/winHome +file:///home/kylert/Documents/School +file:///home/kylert/.cache/kdenlive diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini new file mode 100644 index 0000000..d5f7faa --- /dev/null +++ b/gtk-3.0/settings.ini @@ -0,0 +1,20 @@ +[Settings] +gtk-application-prefer-dark-theme=0 +gtk-theme-name=Adwaita-dark +gtk-icon-theme-name=Flat-Remix-Cyan-Dark +gtk-font-name=Helvetica World 10 +gtk-cursor-theme-name=elementary +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=0 +gtk-enable-input-feedback-sounds=0 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintfull +gtk-xft-rgba=rgb +gtk-application-prefer-dark-theme=true +gtk-xft-dpi=81920 +gtk-decoration-layout=menu: diff --git a/gtk-4.0/settings.ini b/gtk-4.0/settings.ini new file mode 100644 index 0000000..bfd81ee --- /dev/null +++ b/gtk-4.0/settings.ini @@ -0,0 +1,20 @@ +[Settings] +gtk-application-prefer-dark-theme=0 +gtk-theme-name=Adwaita-dark +gtk-icon-theme-name=Flat-Remix-Cyan-Dark +gtk-font-name=Helvetica World 10 +gtk-cursor-theme-name=elementary +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=0 +gtk-enable-input-feedback-sounds=0 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintfull +gtk-xft-rgba=rgb +gtk-application-prefer-dark-theme=true +gtk-xft-dpi=81920 +gtk-decoration-layout=menu @@ -0,0 +1,2 @@ +# created by KDE Plasma, Thu Jul 8 13:07:26 2021 +# diff --git a/gtkrc-2.0 b/gtkrc-2.0 new file mode 100644 index 0000000..79c1eeb --- /dev/null +++ b/gtkrc-2.0 @@ -0,0 +1,5 @@ +# created by KDE Plasma, Thu Jul 8 13:07:26 2021 +# + +gtk-alternative-button-order = 1 + diff --git a/picom.conf b/picom.conf new file mode 100644 index 0000000..395cf21 --- /dev/null +++ b/picom.conf @@ -0,0 +1,426 @@ +################################# +# Shadows # +################################# + + +# Enabled client-side shadows on windows. Note desktop windows +# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, +# unless explicitly requested using the wintypes option. +# +# shadow = false +shadow = true; + +# The blur radius for shadows, in pixels. (defaults to 12) +# shadow-radius = 12 +shadow-radius = 7; + +# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) +# shadow-opacity = .75 + +# The left offset for shadows, in pixels. (defaults to -15) +# shadow-offset-x = -15 +shadow-offset-x = -7; + +# The top offset for shadows, in pixels. (defaults to -15) +# shadow-offset-y = -15 +shadow-offset-y = -7; + +# Avoid drawing shadows on dock/panel windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dock-shadow = false + +# Don't draw shadows on drag-and-drop windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dnd-shadow = false + +# Red color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-red = 0 + +# Green color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-green = 0 + +# Blue color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-blue = 0 + +# Do not paint shadows on shaped windows. Note shaped windows +# here means windows setting its shape through X Shape extension. +# Those using ARGB background is beyond our control. +# Deprecated, use +# shadow-exclude = 'bounding_shaped' +# or +# shadow-exclude = 'bounding_shaped && !rounded_corners' +# instead. +# +# shadow-ignore-shaped = '' + +# Specify a list of conditions of windows that should have no shadow. +# +# examples: +# shadow-exclude = "n:e:Notification"; +# +# shadow-exclude = [] +shadow-exclude = [ + "name = 'Notification'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "name = 'cpt_frame_window'", + "_GTK_FRAME_EXTENTS@:c" +]; + +# Specify a X geometry that describes the region in which shadow should not +# be painted in, such as a dock window region. Use +# shadow-exclude-reg = "x10+0+0" +# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. +# +# shadow-exclude-reg = "" + +# Crop shadow of a window fully on a particular Xinerama screen to the screen. +# xinerama-shadow-crop = false + + +################################# +# Fading # +################################# + + +# Fade windows in/out when opening/closing and when opacity changes, +# unless no-fading-openclose is used. +# fading = false +fading = false + +# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) +# fade-in-step = 0.028 +fade-in-step = 0.03; + +# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) +# fade-out-step = 0.03 +fade-out-step = 0.03; + +# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) +# fade-delta = 10 + +# Specify a list of conditions of windows that should not be faded. +# fade-exclude = [] + +# Do not fade on window open/close. +# no-fading-openclose = false + +# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. +# no-fading-destroyed-argb = false + + +################################# +# Transparency / Opacity # +################################# + + +# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) +# inactive-opacity = 1 +inactive-opacity = 0.8; + +# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) +frame-opacity = 1.0 +#frame-opacity = 0.7; + +# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) +# menu-opacity = 1.0 + +# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. +# inactive-opacity-override = true +inactive-opacity-override = false; + +# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) +# active-opacity = 1.0 + +# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) +# inactive-dim = 0.0 + +# Specify a list of conditions of windows that should always be considered focused. +# focus-exclude = [] +focus-exclude = [ "class_g = 'Cairo-clock'" ]; + +# Use fixed inactive dim value, instead of adjusting according to window opacity. +# inactive-dim-fixed = 1.0 + +# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, +# like `50:name *= "Firefox"`. picom-trans is recommended over this. +# Note we don't make any guarantee about possible conflicts with other +# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. +# example: +# opacity-rule = [ "80:class_g = 'URxvt'" ]; +# +# opacity-rule = [] + + +################################# +# Background-Blurring # +################################# + + +# Parameters for background blurring, see the *BLUR* section for more information. +# blur-method = +# blur-size = 12 +# +# blur-deviation = false + +# Blur background of semi-transparent / ARGB windows. +# Bad in performance, with driver-dependent behavior. +# The name of the switch may change without prior notifications. +# +# blur-background = false + +# Blur background of windows when the window frame is not opaque. +# Implies: +# blur-background +# Bad in performance, with driver-dependent behavior. The name may change. +# +# blur-background-frame = false + + +# Use fixed blur strength rather than adjusting according to window opacity. +# blur-background-fixed = false + + +# Specify the blur convolution kernel, with the following format: +# example: +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# +# blur-kern = '' +blur-kern = "3x3box"; + + +# Exclude conditions for background blur. +# blur-background-exclude = [] +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; + +################################# +# General Settings # +################################# + +# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. +# daemon = false + +# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. +# `xrender` is the default one. +# +backend = "glx"; +#backend = "xrender"; + +# Enable/disable VSync. +# vsync = false +vsync = true + +# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. +# dbus = false + +# Try to detect WM windows (a non-override-redirect window with no +# child that has 'WM_STATE') and mark them as active. +# +# mark-wmwin-focused = false +mark-wmwin-focused = true; + +# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. +# mark-ovredir-focused = false +mark-ovredir-focused = true; + +# Try to detect windows with rounded corners and don't consider them +# shaped windows. The accuracy is not very high, unfortunately. +# +# detect-rounded-corners = false +detect-rounded-corners = true; + +# Detect '_NET_WM_OPACITY' on client windows, useful for window managers +# not passing '_NET_WM_OPACITY' of client windows to frame windows. +# +# detect-client-opacity = false +detect-client-opacity = true; + +# Specify refresh rate of the screen. If not specified or 0, picom will +# try detecting this with X RandR extension. +# +# refresh-rate = 60 +refresh-rate = 0 + +# Limit picom to repaint at most once every 1 / 'refresh_rate' second to +# boost performance. This should not be used with +# vsync drm/opengl/opengl-oml +# as they essentially does sw-opti's job already, +# unless you wish to specify a lower refresh rate than the actual value. +# +# sw-opti = + +# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, +# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, +# provided that the WM supports it. +# +# use-ewmh-active-win = false + +# Unredirect all windows if a full-screen opaque window is detected, +# to maximize performance for full-screen windows. Known to cause flickering +# when redirecting/unredirecting windows. +# +unredir-if-possible = true + +# Delay before unredirecting the window, in milliseconds. Defaults to 0. +# unredir-if-possible-delay = 0 + +# Conditions of windows that shouldn't be considered full-screen for unredirecting screen. +# unredir-if-possible-exclude = [] + +# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows +# in the same group focused at the same time. +# +# detect-transient = false +detect-transient = true + +# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same +# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if +# detect-transient is enabled, too. +# +# detect-client-leader = false +detect-client-leader = true + +# Resize damaged region by a specific number of pixels. +# A positive value enlarges it while a negative one shrinks it. +# If the value is positive, those additional pixels will not be actually painted +# to screen, only used in blur calculation, and such. (Due to technical limitations, +# with use-damage, those pixels will still be incorrectly painted to screen.) +# Primarily used to fix the line corruption issues of blur, +# in which case you should use the blur radius value here +# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, +# with a 5x5 one you use `--resize-damage 2`, and so on). +# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. +# +# resize-damage = 1 + +# Specify a list of conditions of windows that should be painted with inverted color. +# Resource-hogging, and is not well tested. +# +# invert-color-include = [] + +# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. +# Might cause incorrect opacity when rendering transparent content (but never +# practically happened) and may not work with blur-background. +# My tests show a 15% performance boost. Recommended. +# +# glx-no-stencil = false + +# GLX backend: Avoid rebinding pixmap on window damage. +# Probably could improve performance on rapid window content changes, +# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). +# Recommended if it works. +# +# glx-no-rebind-pixmap = false + +# Disable the use of damage information. +# This cause the whole screen to be redrawn everytime, instead of the part of the screen +# has actually changed. Potentially degrades the performance, but might fix some artifacts. +# The opposing option is use-damage +# +# no-use-damage = false +#use-damage = true +use-damage = false + +# Use X Sync fence to sync clients' draw calls, to make sure all draw +# calls are finished before picom starts drawing. Needed on nvidia-drivers +# with GLX backend for some users. +# +# xrender-sync-fence = false +xrender-sync-fence = true + +# GLX backend: Use specified GLSL fragment shader for rendering window contents. +# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` +# in the source tree for examples. +# +# glx-fshader-win = '' + +# Force all windows to be painted with blending. Useful if you +# have a glx-fshader-win that could turn opaque pixels transparent. +# +# force-win-blend = false + +# Do not use EWMH to detect fullscreen windows. +# Reverts to checking if a window is fullscreen based only on its size and coordinates. +# +# no-ewmh-fullscreen = false + +# Dimming bright windows so their brightness doesn't exceed this set value. +# Brightness of a window is estimated by averaging all pixels in the window, +# so this could comes with a performance hit. +# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) +# +# max-brightness = 1.0 + +# Make transparent windows clip other windows like non-transparent windows do, +# instead of blending on top of them. +# +# transparent-clipping = false + +# Set the log level. Possible values are: +# "trace", "debug", "info", "warn", "error" +# in increasing level of importance. Case doesn't matter. +# If using the "TRACE" log level, it's better to log into a file +# using *--log-file*, since it can generate a huge stream of logs. +# +# log-level = "debug" +log-level = "warn"; + +# Set the log file. +# If *--log-file* is never specified, logs will be written to stderr. +# Otherwise, logs will to written to the given file, though some of the early +# logs might still be written to the stderr. +# When setting this option from the config file, it is recommended to use an absolute path. +# +# log-file = '/path/to/your/log/file' + +# Show all X errors (for debugging) +# show-all-xerrors = false + +# Write process ID to a file. +# write-pid-path = '/path/to/your/log/file' + +# Window type settings +# +# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: +# "unknown", "desktop", "dock", "toolbar", "menu", "utility", +# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", +# "tooltip", "notification", "combo", and "dnd". +# +# Following per window-type options are available: :: +# +# fade, shadow::: +# Controls window-type-specific shadow and fade settings. +# +# opacity::: +# Controls default opacity of the window type. +# +# focus::: +# Controls whether the window of this type is to be always considered focused. +# (By default, all window types except "normal" and "dialog" has this on.) +# +# full-shadow::: +# Controls whether shadow is drawn under the parts of the window that you +# normally won't be able to see. Useful when the window has parts of it +# transparent, and you want shadows in those areas. +# +# redir-ignore::: +# Controls whether this type of windows should cause screen to become +# redirected again after been unredirected. If you have unredir-if-possible +# set, and doesn't want certain window to cause unnecessary screen redirection, +# you can set this to `true`. +# +wintypes: +{ + tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; + dock = { shadow = false; } + dnd = { shadow = false; } + popup_menu = { opacity = 0.8; } + dropdown_menu = { opacity = 0.8; } +}; |
