1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00

Cleaning up a few things.

This commit is contained in:
Derek Taylor 2020-05-15 23:04:18 -05:00
parent 6b4b6df459
commit 5a7043c99a
7 changed files with 54 additions and 50 deletions

View file

@ -14,8 +14,10 @@ Xft.hintstyle: hintfull
Xft.lcdfilter: lcdfilter Xft.lcdfilter: lcdfilter
XTerm*renderFont: true XTerm*renderFont: true
XTerm*faceName: xft:Mononoki Nerd Font XTerm*faceName: xft:Mononoki Nerd Font, \
XTerm*faceSize: 12 xft:JoyPixels:size=12, \
xft:Monospace:style=Medium:size=12
XTerm*faceSize: 11
XTerm*utf8: 2 XTerm*utf8: 2
XTerm*locale: true XTerm*locale: true
@ -35,11 +37,11 @@ XTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
URxvt*imLocale: en_US.UTF-8 URxvt*imLocale: en_US.UTF-8
URxvt*termName: rxvt-unicode-256color URxvt*termName: rxvt-unicode-256color
Urxvt*buffered: false URxvt*buffered: false
URxvt.intensityStyles: false URxvt.intensityStyles: false
URxvt.font: xft:Mononoki Nerd Font:size=13, \ URxvt.font: xft:Mononoki Nerd Font:size=12, \
xft:JoyPixels:size=13, \ xft:JoyPixels:size=12, \
xft:Monospace:style=Medium:size=13 xft:Monospace:style=Medium:size=12
URxvt.saveLines: 2000 URxvt.saveLines: 2000
URxvt.scrollBar: false URxvt.scrollBar: false
URxvt.cursorColor: white URxvt.cursorColor: white
@ -54,8 +56,8 @@ URxvt.url-select.underline: true
!! keyboard-select: !! keyboard-select:
URxvt.keysym.M-Escape: perl:keyboard-select:activate URxvt.keysym.M-Escape: perl:keyboard-select:activate
!! resize-font !! resize-font
URxvt.resize-font.smaller: C-j URxvt.keysym.C-k: font-size:increase
URxvt.resize-font.bigger: C-k URxvt.keysym.C-j: font-size:decrease
!! Matcher !! Matcher
URxvt.url-launcher: urxvt -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss URxvt.url-launcher: urxvt -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss
URxvt.matcher.button: 1 URxvt.matcher.button: 1
@ -70,15 +72,15 @@ URxvt*depth: 32
! special ! special
URxvt*foreground: #bbc5ff URxvt*foreground: #bbc5ff
URxvt*background: [100]#292d3e URxvt*background: [95]#282a36
URxvt*cursorColor: #bbc5ff URxvt*cursorColor: #bbc5ff
XTerm*foreground: #bbc5ff XTerm*foreground: #bbc5ff
XTerm*background: #292d3e XTerm*background: #282a36
XTerm*cursorColor: #bbc5ff XTerm*cursorColor: #bbc5ff
! black ! black
*.color0: #101010 !! originally #292d3e *.color0: #101010 !! originally #282a36
*.color8: #434758 *.color8: #434758
! red ! red

View file

@ -36,11 +36,11 @@ opacity-rule = [ "99:name *?= 'Call'",
"100:name *?= 'nmon'", "100:name *?= 'nmon'",
"100:name *?= 'httping'", "100:name *?= 'httping'",
"95:name *?= 'xmobar'", "95:name *?= 'xmobar'",
"100:class_g *?= 'emacs'", "95:class_g *?= 'emacs'",
"100:class_g *?= 'surf' && name *?='suckless.org'", "100:class_g *?= 'surf' && name *?='suckless.org'",
"100:class_g *?= 'tabbed'", "100:class_g *?= 'tabbed'",
"100:name *?= 'newsboat'", "100:name *?= 'newsboat'",
"100:class_g = 'XTerm' && !_NET_WM_STATE@:32a", "95:class_g = 'XTerm' && !_NET_WM_STATE@:32a",
"100:class_g = 'URxvt' && !_NET_WM_STATE@:32a", "100:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" ]; "96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" ];

View file

@ -14,7 +14,8 @@
;;; Startup Programs ;;; Startup Programs
;;; Set Background ;;; Set Background
(run-shell-command "nitrogen --restore") (run-shell-command "nitrogen --restore")
(run-shell-command "compton") (run-shell-command "picom")
(run-shell-command "xmodmap ~/.Xmodmap")
(defun show-kernel () (defun show-kernel ()
(let ((ip (run-shell-command "uname -r" t))) (let ((ip (run-shell-command "uname -r" t)))
@ -68,13 +69,13 @@
(when cmd (when cmd
(eval-command cmd t)))) (eval-command cmd t))))
(define-key *root-map* (kbd "C-q") "quit") (define-key *root-map* (kbd "q") "quit")
(define-key *root-map* (kbd "C-m") "mode-line") (define-key *root-map* (kbd "C-m") "mode-line")
;; Launch My Terminal (st) ;; Launch My Terminal (st)
(define-key *root-map* (kbd "c") "exec st") (define-key *root-map* (kbd "RET") "exec alacritty")
(define-key *root-map* (kbd "C-c") "exec st") (define-key *root-map* (kbd "C-c") "exec st")
;; Launch Emacs ;; Launch Emacs
(define-key *root-map* (kbd "C-e") "exec emacsclient -c") (define-key *root-map* (kbd "S-RET") "exec emacsclient -c")
;; Launch Dmenu ;; Launch Dmenu
(define-key *root-map* (kbd "d") "exec dmenu_run") (define-key *root-map* (kbd "d") "exec dmenu_run")
;; My Dmenu Scripts ;; My Dmenu Scripts

View file

@ -9,7 +9,7 @@ allow_bold = true
#audible_bell = false #audible_bell = false
clickable_url = true clickable_url = true
#dynamic_title = true #dynamic_title = true
font = Cascadia Code 13 font = Mononoki Nerd Font 12
#fullscreen = true #fullscreen = true
geometry = 700x520 geometry = 700x520
icon_name = terminal icon_name = terminal
@ -50,32 +50,32 @@ browser = lynx
#cursor_foreground = #dcdccc #cursor_foreground = #dcdccc
[colors] [colors]
foreground = #c0c5ce foreground = #bbc5ff
foreground_bold = #eee8d5 foreground_bold = #bbc5ff
cursor = #c0c5ce cursor = #bbc5ff
# background transparency (requires a compositor) # background transparency (requires a compositor)
background = rgba(29, 35, 48, 0.95) background = rgba(40, 42, 54, 0.95)
# if unset, will reverse foreground and background # if unset, will reverse foreground and background
#highlight = #839496 #highlight = #839496
# colors from color0 to color254 can be set # colors from color0 to color254 can be set
color0 = #1D2330 color0 = #101010
color1 = #645377 color1 = #f07178
color2 = #AD69AF color2 = #c3e88d
color3 = #B1B5C8 color3 = #ffcb6b
color4 = #92969d color4 = #82aaff
color5 = #645377 color5 = #c792ea
color6 = #AD69AF color6 = #89ddff
color7 = #B1B5C8 color7 = #d0d0d0
color8 = #4B5665 color8 = #434758
color9 = #84598D color9 = #ff8b92
color10 = #7B8290 color10 = #ddffa7
color11 = #d1d7e1 color11 = #ffe585
color12 = #4B5665 color12 = #9cc4ff
color13 = #84598D color13 = #e1acff
color14 = #7B8290 color14 = #a3f7ff
color15 = #d1d7e1 color15 = #ffffff
[hints] [hints]
#font = Monospace 12 #font = Monospace 12

View file

@ -4,9 +4,9 @@
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true" Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ] , additionalFonts = [ "xft:FontAwesome:pixelsize=13" ]
, bgColor = "#282A36" , bgColor = "#292d3e"
, fgColor = "#B45BCF" , fgColor = "#B45BCF"
, position = Top , position = TopW L 95
, lowerOnStart = True , lowerOnStart = True
, hideOnStart = False , hideOnStart = False
, allDesktops = True , allDesktops = True
@ -34,5 +34,5 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
] ]
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#b3afc2> %uname% </fc><fc=#666666>| </fc><fc=#FFB86C>%cpu% </fc><fc=#666666>| </fc><fc=#FF5555>%memory% </fc><fc=#666666>| </fc><fc=#82AAFF>%disku% </fc><fc=#666666>| </fc><fc=#c3e88d>%enp6s0% </fc><fc=#666666>| </fc><fc=#e1acff> %pacupdate%</fc><fc=#666666>| </fc><fc=#8BE9FD>%date%</fc> " , template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#666666>| </fc><fc=#b3afc2> %uname% </fc><fc=#666666>| </fc><fc=#FFB86C>%cpu% </fc><fc=#666666>| </fc><fc=#FF5555>%memory% </fc><fc=#666666>| </fc><fc=#82AAFF>%disku% </fc><fc=#666666>| </fc><fc=#c3e88d>%enp6s0% </fc><fc=#666666>| </fc><fc=#e1acff> %pacupdate%</fc><fc=#666666>| </fc><fc=#8BE9FD>%date% </fc><fc=#666666>| </fc> "
} }

View file

@ -13,7 +13,6 @@ awesome
bash bash
broot broot
bspwm bspwm
compton
doom.d/config.el doom.d/config.el
doom.d/init.el doom.d/init.el
dunst dunst
@ -22,6 +21,7 @@ emacs.d/init.el
herbstluftwm herbstluftwm
i3 i3
neovim neovim
picom
polybar polybar
qtile qtile
quickmarks quickmarks
@ -63,9 +63,6 @@ case "$choice" in
bspwm) bspwm)
choice="$HOME/.config/bspwm/bspwmrc" choice="$HOME/.config/bspwm/bspwmrc"
;; ;;
compton)
choice="$HOME/.config/compton/compton.conf"
;;
doom.d/config.el) doom.d/config.el)
choice="$HOME/.doom.d/config.el" choice="$HOME/.doom.d/config.el"
;; ;;
@ -90,6 +87,9 @@ case "$choice" in
neovim) neovim)
choice="$HOME/.config/nvim/init.vim" choice="$HOME/.config/nvim/init.vim"
;; ;;
picom)
choice="$HOME/.config/picom/picom.conf"
;;
polybar) polybar)
choice="$HOME/.config/polybar/config" choice="$HOME/.config/polybar/config"
;; ;;

View file

@ -91,7 +91,7 @@ main = do
, ppVisible = xmobarColor "#c3e88d" "" -- Visible but not current workspace , ppVisible = xmobarColor "#c3e88d" "" -- Visible but not current workspace
, ppHidden = xmobarColor "#82AAFF" "" . wrap "*" "" -- Hidden workspaces in xmobar , ppHidden = xmobarColor "#82AAFF" "" . wrap "*" "" -- Hidden workspaces in xmobar
, ppHiddenNoWindows = xmobarColor "#F07178" "" -- Hidden workspaces (no windows) , ppHiddenNoWindows = xmobarColor "#F07178" "" -- Hidden workspaces (no windows)
, ppTitle = xmobarColor "#d0d0d0" "" . shorten 80 -- Title of active window in xmobar , ppTitle = xmobarColor "#d0d0d0" "" . shorten 60 -- Title of active window in xmobar
, ppSep = "<fc=#666666> | </fc>" -- Separators in xmobar , ppSep = "<fc=#666666> | </fc>" -- Separators in xmobar
, ppUrgent = xmobarColor "#C45500" "" . wrap "!" "!" -- Urgent workspace , ppUrgent = xmobarColor "#C45500" "" . wrap "!" "!" -- Urgent workspace
, ppExtras = [windowCount] -- # of windows current workspace , ppExtras = [windowCount] -- # of windows current workspace
@ -111,12 +111,13 @@ main = do
---AUTOSTART ---AUTOSTART
------------------------------------------------------------------------ ------------------------------------------------------------------------
myStartupHook = do myStartupHook = do
--spawnOnce "emacs --daemon &"
spawnOnce "nitrogen --restore &" spawnOnce "nitrogen --restore &"
spawnOnce "picom &" spawnOnce "picom &"
spawnOnce "nm-applet &"
spawnOnce "volumeicon &"
spawnOnce "trayer --edge top --align right --width 5 --padding 5 --margin 5 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x292d3e --height 18 &"
--spawnOnce "emacs --daemon &"
setWMName "LG3D" setWMName "LG3D"
--spawnOnce "exec /usr/bin/trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 15 --transparent true --alpha 0 --tint 0x292d3e --height 19 &"
--spawnOnce "/home/dt/.xmonad/xmonad.start" -- Sets our wallpaper
------------------------------------------------------------------------ ------------------------------------------------------------------------
---GRID SELECT ---GRID SELECT