diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index b5bedd8..1d5a8b4 100755 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -608,8 +608,9 @@ colors: *DoomOne # # Window opacity as a floating point number from `0.0` to `1.0`. # The value `0.0` is completely transparent and `1.0` is opaque. -window.opacity: 1.0 -# window.opacity: 0.80 +window: + opacity: 1.0 +# opacity: 0.80 #selection: #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" diff --git a/.config/qtile/README.org b/.config/qtile/README.org index dc2eb24..c710246 100644 --- a/.config/qtile/README.org +++ b/.config/qtile/README.org @@ -74,7 +74,7 @@ Just some variables I am setting to make my life easier. #+BEGIN_SRC python mod = "mod4" # Sets mod key to SUPER/WINDOWS myTerm = "alacritty" # My terminal of choice -myBrowser = "qutebrowser" # My terminal of choice +myBrowser = "qutebrowser" # My browser of choice #+END_SRC * Keybindings diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 60658b8..c4047ac 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -13,7 +13,7 @@ from typing import List # noqa: F401from typing import List # noqa: F401 mod = "mod4" # Sets mod key to SUPER/WINDOWS myTerm = "alacritty" # My terminal of choice -myBrowser = "qutebrowser" # My terminal of choice +myBrowser = "qutebrowser" # My browser of choice keys = [ ### The essentials diff --git a/.config/rofi/config b/.config/rofi/config deleted file mode 100644 index 8c7338c..0000000 --- a/.config/rofi/config +++ /dev/null @@ -1,4 +0,0 @@ -rofi.theme: ~/.config/rofi/themes/dt-center.rasi - - - diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..18f19cc --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,7 @@ +configuration { + modi: "window,drun,ssh,combi"; + font: "hack 10"; + combi-modi: "window,drun,ssh"; + } +@theme "~/.config/rofi/themes/dt-center.rasi" + diff --git a/.config/xmobar/doom-one-xmobarrc b/.config/xmobar/doom-one-xmobarrc index 9ba794b..b1bb290 100644 --- a/.config/xmobar/doom-one-xmobarrc +++ b/.config/xmobar/doom-one-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.config/xmobar/dracula-xmobarrc b/.config/xmobar/dracula-xmobarrc index 0de0fcf..bbe1e97 100644 --- a/.config/xmobar/dracula-xmobarrc +++ b/.config/xmobar/dracula-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.config/xmobar/gruvbox-dark-xmobarrc b/.config/xmobar/gruvbox-dark-xmobarrc index 12ba77e..6f83969 100644 --- a/.config/xmobar/gruvbox-dark-xmobarrc +++ b/.config/xmobar/gruvbox-dark-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.config/xmobar/monokai-pro-xmobarrc b/.config/xmobar/monokai-pro-xmobarrc index 7a153a6..4882e7c 100644 --- a/.config/xmobar/monokai-pro-xmobarrc +++ b/.config/xmobar/monokai-pro-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.config/xmobar/nord-xmobarrc b/.config/xmobar/nord-xmobarrc index 950c0b2..6b0613d 100644 --- a/.config/xmobar/nord-xmobarrc +++ b/.config/xmobar/nord-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.config/xmobar/oceanic-next-xmobarrc b/.config/xmobar/oceanic-next-xmobarrc index bf6b126..50546d4 100644 --- a/.config/xmobar/oceanic-next-xmobarrc +++ b/.config/xmobar/oceanic-next-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.config/xmobar/palenight-xmobarrc b/.config/xmobar/palenight-xmobarrc index a616dbe..3a1e599 100644 --- a/.config/xmobar/palenight-xmobarrc +++ b/.config/xmobar/palenight-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.config/xmobar/solarized-dark-xmobarrc b/.config/xmobar/solarized-dark-xmobarrc index e2115e3..706cf0a 100644 --- a/.config/xmobar/solarized-dark-xmobarrc +++ b/.config/xmobar/solarized-dark-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.config/xmobar/solarized-light-xmobarrc b/.config/xmobar/solarized-light-xmobarrc index c357688..1948649 100644 --- a/.config/xmobar/solarized-light-xmobarrc +++ b/.config/xmobar/solarized-light-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.config/xmobar/tomorrow-night-xmobarrc b/.config/xmobar/tomorrow-night-xmobarrc index 25d1b5e..4c56444 100644 --- a/.config/xmobar/tomorrow-night-xmobarrc +++ b/.config/xmobar/tomorrow-night-xmobarrc @@ -62,5 +62,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" + , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%" } diff --git a/.local/bin/dm-run b/.local/bin/dm-run new file mode 100755 index 0000000..83cc3df --- /dev/null +++ b/.local/bin/dm-run @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +# +# Script name: dm-run +# Description: The standard dmenu_run command with flags and a prompt. +# Dependencies: dmenu +# GitLab: https://www.gitlab.com/dwt1/dmscripts +# License: https://www.gitlab.com/dwt1/dmscripts/LICENSE +# Contributors: Derek Taylor + +# Set with the flags "-e", "-u","-o pipefail" cause the script to fail +# if certain things happen, which is a good thing. Otherwise, we can +# get hidden bugs that are hard to discover. +set -euo pipefail + +export _JAVA_AWT_WM_NONREPARENTING=1 +exec $(dmenu_path | dmenu -l 20 -g 3 -X 0 -Y 0 -W 680 -p 'Run: ' "$@") + diff --git a/.xmonad/README.org b/.xmonad/README.org index 0071a70..175419d 100644 --- a/.xmonad/README.org +++ b/.xmonad/README.org @@ -143,6 +143,9 @@ myEditor :: String myEditor = "emacsclient -c -a 'emacs' " -- Sets emacs as editor -- myEditor = myTerminal ++ " -e vim " -- Sets vim as editor +myRunCommand :: String +myRunCommand = "dmenu_run -l 20 -g 3 -X 0 -Y 0 -W 680 -p 'Run: '" + myBorderWidth :: Dimension myBorderWidth = 2 -- Sets border width for windows @@ -484,7 +487,7 @@ myKeys = , ("M-/", spawn "dtos-help") -- DTOS help/tutorial videos -- KB_GROUP Run Prompt - , ("M-S-", spawn "dmenu_run -i -p \"Run: \"") -- Dmenu + , ("M-S-", spawn "dm-run") -- Dmenu -- KB_GROUP Other Dmenu Prompts -- In Xmonad and many tiling window managers, M-p is the default keybinding to @@ -500,7 +503,7 @@ myKeys = , ("M-p m", spawn "dm-man") -- manpages , ("M-p n", spawn "dm-note") -- store one-line notes and copy them , ("M-p o", spawn "dm-bookman") -- qutebrowser bookmarks/history - , ("M-p p", spawn "passmenu") -- passmenu + , ("M-p p", spawn "passmenu -p \"Pass: \"") -- passmenu , ("M-p q", spawn "dm-logout") -- logout menu , ("M-p r", spawn "dm-radio") -- online radio , ("M-p s", spawn "dm-websearch") -- search various search engines diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 600d709..9158891 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -99,6 +99,9 @@ myEditor :: String myEditor = "emacsclient -c -a 'emacs' " -- Sets emacs as editor -- myEditor = myTerminal ++ " -e vim " -- Sets vim as editor +myRunCommand :: String +myRunCommand = "dmenu_run -l 20 -g 3 -X 0 -Y 0 -W 680 -p 'Run: '" + myBorderWidth :: Dimension myBorderWidth = 2 -- Sets border width for windows @@ -368,7 +371,7 @@ myKeys = , ("M-/", spawn "dtos-help") -- DTOS help/tutorial videos -- KB_GROUP Run Prompt - , ("M-S-", spawn "dmenu_run -i -p \"Run: \"") -- Dmenu + , ("M-S-", spawn "dm-run") -- Dmenu -- KB_GROUP Other Dmenu Prompts -- In Xmonad and many tiling window managers, M-p is the default keybinding to @@ -384,7 +387,7 @@ myKeys = , ("M-p m", spawn "dm-man") -- manpages , ("M-p n", spawn "dm-note") -- store one-line notes and copy them , ("M-p o", spawn "dm-bookman") -- qutebrowser bookmarks/history - , ("M-p p", spawn "passmenu") -- passmenu + , ("M-p p", spawn "passmenu -p \"Pass: \"") -- passmenu , ("M-p q", spawn "dm-logout") -- logout menu , ("M-p r", spawn "dm-radio") -- online radio , ("M-p s", spawn "dm-websearch") -- search various search engines