Update 2023.10.15
This commit is contained in:
parent
5a536877f4
commit
4537a0a531
27 changed files with 482 additions and 848 deletions
8
.config/doom/README.el
Normal file
8
.config/doom/README.el
Normal file
|
@ -0,0 +1,8 @@
|
|||
(use-package! org-transclusion
|
||||
:after org
|
||||
:init
|
||||
(map!
|
||||
:map global-map "<F12>" #'org-transclusion-add
|
||||
:leader
|
||||
:prefix "n"
|
||||
:desc "Org Transclusion Mode" "t" #'org-transclusion-mode))
|
File diff suppressed because one or more lines are too long
|
@ -11,6 +11,8 @@
|
|||
(set-clipboard-coding-system 'utf-8)
|
||||
(prefer-coding-system 'utf-8)
|
||||
|
||||
(setq langtool-java-bin "/usr/bin/java")
|
||||
|
||||
(after! counsel
|
||||
(setq counsel-outline-display-style 'title))
|
||||
|
||||
|
@ -20,14 +22,37 @@
|
|||
|
||||
(setq doom-themes-enable-bold t
|
||||
doom-themes-enable-italic t)
|
||||
(setq doom-font (font-spec :family "IosevkaTerm" :size 12)
|
||||
doom-unicode-font (font-spec :family "IosevkaTerm" :size 12))
|
||||
|
||||
(setq doom-font (font-spec :family "Iosevka")
|
||||
doom-unicode-font (font-spec :family "Iosevka"))
|
||||
(dolist (charset '(unicode))
|
||||
(set-fontset-font (frame-parameter nil 'font)
|
||||
charset (font-spec :family "IosevkaTerm" :size 12)))
|
||||
charset (font-spec :family "Iosevka")))
|
||||
|
||||
(set-frame-parameter nil 'alpha-background 70)
|
||||
(add-to-list 'default-frame-alist '(alpha-background . 80))
|
||||
(ligature-set-ligatures 't '("www"))
|
||||
;; Enable traditional ligature support in eww-mode, if the
|
||||
;; `variable-pitch' face supports it
|
||||
(ligature-set-ligatures 'eww-mode '("ff" "fi" "ffi"))
|
||||
;; Enable all Cascadia Code ligatures in programming modes
|
||||
(ligature-set-ligatures 'org-mode '("|||>" "<|||" "<==>" "<!--" "####" "~~>" "***" "||=" "||>"
|
||||
":::" "::=" "=:=" "===" "==>" "=!=" "=>>" "=<<" "=/=" "!=="
|
||||
"!!." ">=>" ">>=" ">>>" ">>-" ">->" "->>" "-->" "---" "-<<"
|
||||
"<~~" "<~>" "<*>" "<||" "<|>" "<$>" "<==" "<=>" "<=<" "<->"
|
||||
"<--" "<-<" "<<=" "<<-" "<<<" "<+>" "</>" "###" "#_(" "..<"
|
||||
"..." "+++" "/==" "///" "_|_" "www" "&&" "^=" "~~" "~@" "~="
|
||||
"~>" "~-" "**" "*>" "*/" "||" "|}" "|]" "|=" "|>" "|-" "{|"
|
||||
"[|" "]#" "::" ":=" ":>" ":<" "$>" "==" "=>" "!=" "!!" ">:"
|
||||
">=" ">>" ">-" "-~" "-|" "->" "--" "-<" "<~" "<*" "<|" "<:"
|
||||
"<$" "<=" "<>" "<-" "<<" "<+" "</" "#{" "#[" "#:" "#=" "#!"
|
||||
"##" "#(" "#?" "#_" "%%" ".=" ".-" ".." ".?" "+>" "++" "?:"
|
||||
"?=" "?." "??" ";;" "/*" "/=" "/>" "//" "__" "~~" "(*" "*)"
|
||||
"\\\\" "://"))
|
||||
;; Enables ligature checks globally in all buffers. You can also do it
|
||||
;; per mode with `ligature-mode'.
|
||||
(global-ligature-mode t)
|
||||
|
||||
(set-frame-parameter nil 'alpha-background 85)
|
||||
(add-to-list 'default-frame-alist '(alpha-background . 85))
|
||||
|
||||
(setq display-line-numbers-type 'relative)
|
||||
(setq next-screen-context-lines 4)
|
||||
|
@ -65,7 +90,7 @@
|
|||
|
||||
(setq org-completion-use-ido t)
|
||||
(setq org-use-property-inheritance nil)
|
||||
|
||||
(setq org-duration-format 'h:mm)
|
||||
(setq org-hierarchical-todo-statistics t)
|
||||
(org-align-tags t)
|
||||
|
||||
|
@ -188,6 +213,15 @@
|
|||
:BIRTHDAY:
|
||||
:END:")))
|
||||
|
||||
(use-package! org-transclusion
|
||||
:after org
|
||||
:init
|
||||
(map!
|
||||
:map global-map "<F12>" #'org-transclusion-add
|
||||
:leader
|
||||
:prefix "n"
|
||||
:desc "Org Transclusion Mode" "t" #'org-transclusion-mode))
|
||||
|
||||
(add-hook 'org-babel-after-execute-hook 'org-display-inline-images)
|
||||
|
||||
(defun org-super-links-quick-related ()
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
doom ; what makes DOOM look the way it does
|
||||
doom-dashboard ; a nifty splash screen for Emacs
|
||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||
;;(emoji +unicode) ; 🙂
|
||||
(emoji +unicode) ; 🙂
|
||||
;;hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||
;;hydra
|
||||
hydra
|
||||
indent-guides ; highlighted indent columns
|
||||
(ligatures +extra +iosevka) ; ligatures and symbols to make your code pretty again
|
||||
;;minimap ; show a map of the code on the side
|
||||
(ligatures +iosevka +extra) ; ligatures and symbols to make your code pretty again
|
||||
minimap ; show a map of the code on the side
|
||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||
nav-flash ; blink cursor line after big motions
|
||||
;;neotree ; a project drawer, like NERDTree for vim
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
;; Fix for org-roam link issue
|
||||
(package! org :pin "ca873f7")
|
||||
(package! org-auto-tangle)
|
||||
(package! ox-slack)
|
||||
(package! org-transclusion)
|
||||
(package! org-modern)
|
||||
(package! org-ql)
|
||||
(package! org-sidebar
|
||||
|
|
|
@ -30,7 +30,7 @@ There are several options:
|
|||
- vim: ~set -x MANPAGER '/bin/bash -c "vim -MRn -c \"set buftype=nofile showtabline=0 ft=man ts=8 nomod nolist norelativenumber nonu noma\" -c \"normal L\" -c \"nmap q :qa<CR>\"</dev/tty <(col -b)"'~
|
||||
- nvim: ~set -x MANPAGER "nvim -c 'set ft=man' -"~
|
||||
|
||||
#+begin_src fish
|
||||
#+begin_src fish :tangle no
|
||||
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
||||
#+end_src
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@ set SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket
|
|||
set GNUPGHOME "~/enc/keys/gnupg"
|
||||
set LEDGER_FILE "~/enc/org/hledger/2023.journal"
|
||||
|
||||
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
||||
|
||||
function fish_user_key_bindings
|
||||
fish_default_key_bindings
|
||||
end
|
||||
|
|
BIN
.config/xmobar/dist-newstyle/cache/compiler
vendored
BIN
.config/xmobar/dist-newstyle/cache/compiler
vendored
Binary file not shown.
|
@ -1,74 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Doom One
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#282c34"
|
||||
, fgColor = "#ff6c6b"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> <used>MB/ <total>MB (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DynNetwork [ "--template" , "<dev>: <tx> KB/s|<rx> KB/s"
|
||||
, "--Low" , "1000000" -- units: KB/s
|
||||
, "--High" , "5000000" -- units: KB/s
|
||||
, "--low" , "cyan"
|
||||
, "--normal" , "darkorange"
|
||||
, "--high" , "darkred"
|
||||
] 10
|
||||
-- network activity monitor (dynamic interface resolution)
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> /: <free>B free"), ("/home", " <fn=2>\xf0c7</fn> ~: <free>B free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dm-run`><icon=haskell_20.xpm/> </action> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#51afef><fc=#51afef>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#ecbe7b><fc=#ecbe7b><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#ff6c6b><fc=#ff6c6b><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#51afef><fc=#51afef>%dynnetwork%</fc></box> <box type=Bottom width=2 mb=2 color=#a9a1e1><fc=#a9a1e1>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#98be65><fc=#98be65>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#c678dd><fc=#c678dd>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#da8548><fc=#da8548>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#46d9ff><fc=#46d9ff><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Dracula
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#282a36"
|
||||
, fgColor = "#f8f8f2"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dm-run`><icon=haskell_20.xpm/> </action> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#bd93f9><fc=#bd93f9>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#f1fa8c><fc=#f1fa8c><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#ff5555><fc=#ff5555><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#5af78e><fc=#5af78e>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#ff79c6><fc=#ff79c6>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#8be9fd><fc=#8be9fd>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#ff6e67><fc=#ff6e67>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#caa9fa><fc=#caa9fa><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Gruvbox Dark
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#282828"
|
||||
, fgColor = "#ebdbb2"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dm-run`><icon=haskell_20.xpm/> </action> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#d3869b><fc=#d3869b>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#b8bb26><fc=#b8bb26><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#458588><fc=#458588><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#d79921><fc=#d79921>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#b16286><fc=#b16286>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#689d6a><fc=#689d6a>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#fb4934><fc=#fb4934>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#83a598><fc=#83a598><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Monokai Pro
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#2D2A2E"
|
||||
, fgColor = "#FCFCFA"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dm-run`><icon=haskell_20.xpm/> </action> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#FF6188><fc=#FF6188>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#A9DC76><fc=#A9DC76><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#FC9867><fc=#FC9867><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#FFD866><fc=#FFD866>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#AB9DF2><fc=#AB9DF2>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#78DCE8><fc=#78DCE8>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#FF6188><fc=#FF6188>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#A9DC76><fc=#A9DC76><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Nord
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#2E3440"
|
||||
, fgColor = "#D8DEE9"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dm-run`><icon=haskell_20.xpm/> </action> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#8FBCBB><fc=#8FBCBB>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#A3BE8C><fc=#A3BE8C><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#81A1C1><fc=#81A1C1><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#EBCB8B><fc=#EBCB8B>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#B48EAD><fc=#B48EAD>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#88C0D0><fc=#88C0D0>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#BF616A><fc=#BF616A>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#A3BE8C><fc=#A3BE8C><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Oceanic Next
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#1b2b34"
|
||||
, fgColor = "#ffffff"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dm-run`><icon=haskell_20.xpm/> </action> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#EC5f67><fc=#EC5f67>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#99C794><fc=#99C794><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#FAC863><fc=#FAC963><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#6699cc><fc=#6699cc>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#c594c5><fc=#c594c5>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#5fb3b3><fc=#5fb3b3>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#EC5f67><fc=#EC5f67>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#99C794><fc=#99C794><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Palenight
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#292d3e"
|
||||
, fgColor = "#f07178"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dm-run`><icon=haskell_20.xpm/> </action> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#82aaff><fc=#82aaff>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#ffcb6b><fc=#ffcb6b><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#f07178><fc=#f07178><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#e1acff><fc=#e1acff>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#c3e88d><fc=#c3e88d>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#c792ea><fc=#c792ea>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#ffe585><fc=#ffe585>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#a3f7ff><fc=#a3f7ff><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Solarized Dark
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#002b36"
|
||||
, fgColor = "#839496"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dm-run`><icon=haskell_20.xpm/> </action> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#dc322f><fc=#dc322f>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#859900><fc=#859900><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#268bd2><fc=#268bd2><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#b59800><fc=#b59800>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#d33682><fc=#d33682>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#2aa198><fc=#2aa198>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#dc322f><fc=#dc322f>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#286bd2><fc=#286bd2><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Solarized Light
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#fdf6e3"
|
||||
, fgColor = "#657b83"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dm-run`><icon=haskell_20.xpm/> </action> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#dc322f><fc=#dc322f>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#859900><fc=#859900><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#268bd2><fc=#268bd2><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#b59800><fc=#b59800>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#d33682><fc=#d33682>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#2aa198><fc=#2aa198>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#dc322f><fc=#dc322f>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#286bd2><fc=#286bd2><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,67 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is one of the xmobar configurations for DTOS.
|
||||
-- This config is packaged in the DTOS repo as 'dtos-xmobar'
|
||||
-- Color scheme: Tomorrow Night
|
||||
-- Dependencies:
|
||||
-- otf-font-awesome
|
||||
-- ttf-mononoki
|
||||
-- ttf-ubuntu-font-family
|
||||
-- htop
|
||||
-- emacs
|
||||
-- pacman (Arch Linux)
|
||||
-- trayer
|
||||
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||
|
||||
Config {
|
||||
font = "xft:Iosevka-12"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=8:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=10"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=10"
|
||||
]
|
||||
, bgColor = "#1d1f21"
|
||||
, fgColor = "#ffffff"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 16
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".config/xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
Run UnsafeXMonadLog
|
||||
, Run StdinReader
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
-- Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
-- , Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: <total>%","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M <usedratio>%"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>:<hours>:<minutes>"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
-- , Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
-- , Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Echos a "battery" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
-- Battery
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> <left>%"] 360
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn>%d.%m.%Y %H:%M " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = "%UnsafeXMonadLog% }{ <box type=Bottom width=2 mb=2 color=#b5bd68><fc=#b5bd68>%cpu%</fc></box> <box type=Bottom width=2 mb=2 color=#e6c547><fc=#e6c547>%memory%</fc></box> <box type=Bottom width=2 mb=2 color=#81a2be><fc=#81a2be>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#b294bb><fc=#b294bb>%uparrow% %uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#ff3334><fc=#ff3334>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#9ec400><fc=#9ec400>%date%</fc></box> %trayerpad%"
|
|
@ -1,48 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Copied from https://github.com/jaor/xmobar/issues/239#issuecomment-233206552
|
||||
# Detects the width of running trayer-srg window (xprop name 'panel')
|
||||
# and creates an XPM icon of that width, 1px height, and transparent.
|
||||
# Outputs an <icon>-tag for use in xmobar to display the generated
|
||||
# XPM icon.
|
||||
#
|
||||
# Run script from xmobar:
|
||||
# `Run Com "/where/ever/trayer-padding-icon.sh" [] "trayerpad" 10`
|
||||
# and use `%trayerpad%` in your template.
|
||||
|
||||
|
||||
# Function to create a transparent Wx1 px XPM icon
|
||||
create_xpm_icon () {
|
||||
timestamp=$(date)
|
||||
pixels=$(for i in `seq $1`; do echo -n "."; done)
|
||||
|
||||
cat << EOF > "$2"
|
||||
/* XPM *
|
||||
static char * trayer_pad_xpm[] = {
|
||||
/* This XPM icon is used for padding in xmobar to */
|
||||
/* leave room for trayer-srg. It is dynamically */
|
||||
/* updated by by trayer-padding-icon.sh which is run */
|
||||
/* by xmobar. */
|
||||
/* Created: ${timestamp} */
|
||||
/* <w/cols> <h/rows> <colors> <chars per pixel> */
|
||||
"$1 1 1 1",
|
||||
/* Colors (none: transparent) */
|
||||
". c none",
|
||||
/* Pixels */
|
||||
"$pixels"
|
||||
};
|
||||
EOF
|
||||
}
|
||||
|
||||
# Width of the trayer window
|
||||
width=$(xprop -name panel | grep 'program specified minimum size' | cut -d ' ' -f 5)
|
||||
|
||||
# Icon file name
|
||||
iconfile="/tmp/trayer-padding-${width}px.xpm"
|
||||
|
||||
# If the desired icon does not exist create it
|
||||
if [ ! -f $iconfile ]; then
|
||||
create_xpm_icon $width $iconfile
|
||||
fi
|
||||
|
||||
# Output the icon tag for xmobar
|
||||
echo "<icon=${iconfile}/>"
|
|
@ -1,45 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is the default xmobar configuration for DTOS.
|
||||
-- This config is packaged in the DTOS repo as dtos-xmobar
|
||||
-- Dependencies: otf-font-awesome ttf-mononoki ttf-ubuntu-font-family trayer
|
||||
-- Also depends on scripts from dtos-local-bin from the dtos-core-repo.
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:size=8:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#282c34"
|
||||
, fgColor = "#ff6c6b"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> /: <free> free")] [] 60
|
||||
, Run DiskU [("/home/", "<fn=2>\xf0c7</fn> /home: <free> free")] [] 60
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
, Run XMonadLog
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = "<fc=#666666>|</fc> %XmonadLog }{ <box type=Bottom width=2 mb=2 color=#51afef><fc=#51afef>%penguin% <action=`alacritty -e htop`>%kernel%</action> </fc></box> <box type=Bottom width=2 mb=2 color=#ecbe7b><fc=#ecbe7b><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#ff6c6b><fc=#ff6c6b><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#a9a1e1><fc=#a9a1e1><action=`alacritty -e htop`>%disku%</action></fc></box> <box type=Bottom width=2 mb=2 color=#98be65><fc=#98be65>%uparrow% <action=`alacritty -e htop`>%uptime%</action></fc></box> <box type=Bottom width=2 mb=2 color=#c678dd><fc=#c678dd>%bell% </fc></box> <box type=Bottom width=2 mb=2 color=#da8548><fc=#da8548>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#46d9ff><fc=#46d9ff>%date%</fc></box> %trayerpad%"
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
-- Xmobar (http://projects.haskell.org/xmobar/)
|
||||
-- This is the default xmobar configuration for DTOS.
|
||||
-- This config is packaged in the DTOS repo as dtos-xmobar
|
||||
-- Dependencies: otf-font-awesome ttf-mononoki ttf-ubuntu-font-family trayer
|
||||
-- Also depends on scripts from dtos-local-bin from the dtos-core-repo.
|
||||
|
||||
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
|
||||
, additionalFonts = [ "xft:Mononoki:pixelsize=11:antialias=true:hinting=true"
|
||||
, "xft:Font Awesome 6 Free Solid:pixelsize=12"
|
||||
, "xft:Font Awesome 6 Brands:pixelsize=12"
|
||||
]
|
||||
, bgColor = "#282c34"
|
||||
, fgColor = "#ff6c6b"
|
||||
-- Position TopSize and BottomSize take 3 arguments:
|
||||
-- an alignment parameter (L/R/C) for Left, Right or Center.
|
||||
-- an integer for the percentage width, so 100 would be 100%.
|
||||
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
|
||||
-- NOTE: The height should be the same as the trayer (system tray) height.
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
-- Echos a "penguin" icon in front of the kernel output.
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
-- Get kernel version (script found in .local/bin)
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
-- Echos an "up arrow" icon in front of the uptime output.
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
-- Uptime
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
-- Echos a "bell" icon in front of the pacman updates.
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
-- Check for pacman updates (script found in .local/bin)
|
||||
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||
-- Time and date
|
||||
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||
, Run Com ".config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#51afef><fc=#51afef>%penguin% <action=`alacritty -e htop`>%kernel%</action> </fc></box> <box type=Bottom width=2 mb=2 color=#ecbe7b><fc=#ecbe7b><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#ff6c6b><fc=#ff6c6b><action=`alacritty -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#a9a1e1><fc=#a9a1e1><action=`alacritty -e htop`>%disku%</action></fc></box> <box type=Bottom width=2 mb=2 color=#98be65><fc=#98be65>%uparrow% <action=`alacritty -e htop`>%uptime%</action></fc></box> <box type=Bottom width=2 mb=2 color=#c678dd><fc=#c678dd>%bell% <action=`alacritty -e sudo pacman -Syu`>%pacupdate%</action></fc></box> <box type=Bottom width=2 mb=2 color=#46d9ff><fc=#46d9ff><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
|
@ -14,8 +14,5 @@ export XCURSOR_SIZE=24
|
|||
|
||||
qtile start -b wayland
|
||||
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
|
||||
|
||||
|
|
|
@ -4,14 +4,13 @@ export WLR_NO_HARDWARE_CURSORS=1
|
|||
export XDG_CURRENT_DESKTOP=sway
|
||||
export XDG_CURRENT_SESSION=wayland
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export XCURSOR_SIZE=24
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
|
||||
export PLANTUML_LIMIT_SIZE 16384
|
||||
export WLR_RENDERER=vulkan
|
||||
export PLANTUML_LIMIT_SIZE=16384
|
||||
|
||||
export XKB_DEFAULT_LAYOUT="pl"
|
||||
export XKB_DEFAULT_OPTIONS="compose:rctrl"
|
||||
|
|
1
dist-newstyle/cache/compiler
vendored
Symbolic link
1
dist-newstyle/cache/compiler
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../.dot/.config/xmobar/dist-newstyle/cache/compiler
|
362
hypr/hyprland.conf
Normal file
362
hypr/hyprland.conf
Normal file
|
@ -0,0 +1,362 @@
|
|||
|
||||
########################################################################################
|
||||
AUTOGENERATED HYPR CONFIG.
|
||||
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
########################################################################################
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.1
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
autogenerated = 0 # remove this line to remove the warning
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=HDMI-A-1, 1920x1080, 0x0, 1
|
||||
monitor=eDP-1, 1920x1080, 1920x0, 1
|
||||
monitor=DP-2, 1920x1080, 3840x0, 1
|
||||
|
||||
exec-once=waybar
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRSHOT_DIR,"~/enc/pictures/screenshots"
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = pl
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = no
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
border_size = 2
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = master
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 0
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
}
|
||||
|
||||
drop_shadow = yes
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
inherit_fullscreen = true
|
||||
mfact = 0.6
|
||||
}
|
||||
|
||||
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = off
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
device:epic-mouse-v1 {
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, RETURN, exec, alacritty
|
||||
bind = SUPER_SHIFT, RETURN, exec, sakura
|
||||
bind = CTRL_SHIFT_ALT, Q, killactive,
|
||||
bind = SUPER_CTRL_SHIFT_ALT, 0, exit,
|
||||
|
||||
bind = $mainMod, E, exec, emacsclient -c -a 'emacs'
|
||||
set
|
||||
bind = , Print, exec, hyprshot -m region
|
||||
# windowrulev2=move 0 0,title:^(flameshot)
|
||||
# windowrulev2=nofullscreenrequest,title:^(flameshot)
|
||||
|
||||
bind = $mainMod, B, togglefloating,
|
||||
bind = $mainMod, F, fullscreen, 0
|
||||
bind = $mainMod, D, exec, rofi -show drun
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
|
||||
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
# bind = $mainMod, n, movefocus, l
|
||||
# bind = $mainMod, i, movefocus, r
|
||||
# bind = $mainMod, o, movefocus, u
|
||||
# bind = $mainMod, a, movefocus, d
|
||||
|
||||
bind = $mainMod, a, layoutmsg, cyclenext
|
||||
bind = $mainMod, o, layoutmsg, cycleprev
|
||||
|
||||
bind = $mainMod, BACKSPACE, layoutmsg, swapwithmaster auto
|
||||
|
||||
bind = $mainMod, comma, focusmonitor, -1
|
||||
bind = $mainMod, period, focusmonitor, +1
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, S, submap, show
|
||||
submap = show
|
||||
bind = , 1, moveworkspacetomonitor, name:1 current
|
||||
bind = , 1, workspace, name:1
|
||||
bind = , 1, submap, reset
|
||||
bind = , 2, moveworkspacetomonitor, name:2 current
|
||||
bind = , 2, workspace, name:2
|
||||
bind = , 2, submap, reset
|
||||
bind = , 3, moveworkspacetomonitor, name:3 current
|
||||
bind = , 3, workspace, name:3
|
||||
bind = , 3, submap, reset
|
||||
bind = , 4, moveworkspacetomonitor, name:4 current
|
||||
bind = , 4, workspace, name:4
|
||||
bind = , 4, submap, reset
|
||||
bind = , 5, moveworkspacetomonitor, name:5 current
|
||||
bind = , 5, workspace, name:5
|
||||
bind = , 5, submap, reset
|
||||
bind = , 6, moveworkspacetomonitor, name:6 current
|
||||
bind = , 6, workspace, name:6
|
||||
bind = , 6, submap, reset
|
||||
bind = , 7, moveworkspacetomonitor, name:7 current
|
||||
bind = , 7, workspace, name:7
|
||||
bind = , 7, submap, reset
|
||||
bind = , 8, moveworkspacetomonitor, name:8 current
|
||||
bind = , 8, workspace, name:8
|
||||
bind = , 8, submap, reset
|
||||
bind = , 9, moveworkspacetomonitor, name:9 current
|
||||
bind = , 9, workspace, name:9
|
||||
bind = , 9, submap, reset
|
||||
bind = , e, moveworkspacetomonitor, name:e current
|
||||
bind = , e, workspace, name:e
|
||||
bind = , e, submap, reset
|
||||
bind = , w, moveworkspacetomonitor, name:w current
|
||||
bind = , w, workspace, name:w
|
||||
bind = , w, submap, reset
|
||||
bind = , g, moveworkspacetomonitor, name:g current
|
||||
bind = , g, workspace, name:g
|
||||
bind = , g, submap, reset
|
||||
bind = , d, moveworkspacetomonitor, name:d current
|
||||
bind = , d, workspace, name:d
|
||||
bind = , d, submap, reset
|
||||
bind = , b, moveworkspacetomonitor, name:b current
|
||||
bind = , b, workspace, name:b
|
||||
bind = , b, submap, reset
|
||||
bind = , j, moveworkspacetomonitor, name:j current
|
||||
bind = , j, workspace, name:j
|
||||
bind = , j, submap, reset
|
||||
bind = , f, moveworkspacetomonitor, name:f current
|
||||
bind = , f, workspace, name:f
|
||||
bind = , f, submap, reset
|
||||
bind = , o, moveworkspacetomonitor, name:o current
|
||||
bind = , o, workspace, name:o
|
||||
bind = , o, submap, reset
|
||||
bind = , u, moveworkspacetomonitor, name:u current
|
||||
bind = , u, workspace, name:u
|
||||
bind = , u, submap, reset
|
||||
bind = , r, moveworkspacetomonitor, name:r current
|
||||
bind = , r, workspace, name:r
|
||||
bind = , r, submap, reset
|
||||
bind = , s, moveworkspacetomonitor, name:s current
|
||||
bind = , s, workspace, name:s
|
||||
bind = , s, submap, reset
|
||||
bind = , t, moveworkspacetomonitor, name:t current
|
||||
bind = , t, workspace, name:t
|
||||
bind = , t, submap, reset
|
||||
bind = , h, moveworkspacetomonitor, name:h current
|
||||
bind = , h, workspace, name:h
|
||||
bind = , h, submap, reset
|
||||
bind = , v, moveworkspacetomonitor, name:v current
|
||||
bind = , v, workspace, name:v
|
||||
bind = , v, submap, reset
|
||||
bind = , y, moveworkspacetomonitor, name:y current
|
||||
bind = , y, workspace, name:y
|
||||
bind = , y, submap, reset
|
||||
bind = , n, moveworkspacetomonitor, name:n current
|
||||
bind = , n, workspace, name:n
|
||||
bind = , n, submap, reset
|
||||
bind = , a, moveworkspacetomonitor, name:a current
|
||||
bind = , a, workspace, name:a
|
||||
bind = , a, submap, reset
|
||||
bind = , i, moveworkspacetomonitor, name:i current
|
||||
bind = , i, workspace, name:i
|
||||
bind = , i, submap, reset
|
||||
bind = , l, moveworkspacetomonitor, name:l current
|
||||
bind = , l, workspace, name:l
|
||||
bind = , l, submap, reset
|
||||
bind = , x, moveworkspacetomonitor, name:x current
|
||||
bind = , x, workspace, name:x
|
||||
bind = , x, submap, reset
|
||||
bind = , c, moveworkspacetomonitor, name:c current
|
||||
bind = , c, workspace, name:c
|
||||
bind = , c, submap, reset
|
||||
bind = , m, moveworkspacetomonitor, name:m current
|
||||
bind = , m, workspace, name:m
|
||||
bind = , m, submap, reset
|
||||
bind = , k, moveworkspacetomonitor, name:k current
|
||||
bind = , k, workspace, name:k
|
||||
bind = , k, submap, reset
|
||||
bind = , q, moveworkspacetomonitor, name:q current
|
||||
bind = , q, workspace, name:q
|
||||
bind = , q, submap, reset
|
||||
bind = , z, moveworkspacetomonitor, name:z current
|
||||
bind = , z, workspace, name:z
|
||||
bind = , z, submap, reset
|
||||
bind = , p, moveworkspacetomonitor, name:p current
|
||||
bind = , p, workspace, name:p
|
||||
bind = , p, submap, reset
|
||||
|
||||
bind=,escape,submap,reset
|
||||
submap = reset
|
||||
|
||||
|
||||
# Move active window to a workspace with main
|
||||
# Mod + SHIFT + [0-9]
|
||||
bind = $mainMod, T, submap, throw
|
||||
submap = throw
|
||||
bind = , 1, movetoworkspacesilent, name:1
|
||||
bind = , 1, submap, reset
|
||||
bind = , 2, movetoworkspacesilent, name:2
|
||||
bind = , 2, submap, reset
|
||||
bind = , 3, movetoworkspacesilent, name:3
|
||||
bind = , 3, submap, reset
|
||||
bind = , 4, movetoworkspacesilent, name:4
|
||||
bind = , 4, submap, reset
|
||||
bind = , 5, movetoworkspacesilent, name:5
|
||||
bind = , 5, submap, reset
|
||||
bind = , 6, movetoworkspacesilent, name:6
|
||||
bind = , 6, submap, reset
|
||||
bind = , 7, movetoworkspacesilent, name:7
|
||||
bind = , 7, submap, reset
|
||||
bind = , 8, movetoworkspacesilent, name:8
|
||||
bind = , 8, submap, reset
|
||||
bind = , 9, movetoworkspacesilent, name:9
|
||||
bind = , 9, submap, reset
|
||||
bind = , e, movetoworkspacesilent, name:e
|
||||
bind = , e, submap, reset
|
||||
bind = , w, movetoworkspacesilent, name:w
|
||||
bind = , w, submap, reset
|
||||
bind = , g, movetoworkspacesilent, name:g
|
||||
bind = , g, submap, reset
|
||||
bind = , d, movetoworkspacesilent, name:d
|
||||
bind = , d, submap, reset
|
||||
bind = , b, movetoworkspacesilent, name:b
|
||||
bind = , b, submap, reset
|
||||
bind = , j, movetoworkspacesilent, name:j
|
||||
bind = , j, submap, reset
|
||||
bind = , f, movetoworkspacesilent, name:f
|
||||
bind = , f, submap, reset
|
||||
bind = , o, movetoworkspacesilent, name:o
|
||||
bind = , o, submap, reset
|
||||
bind = , u, movetoworkspacesilent, name:u
|
||||
bind = , u, submap, reset
|
||||
bind = , r, movetoworkspacesilent, name:r
|
||||
bind = , r, submap, reset
|
||||
bind = , s, movetoworkspacesilent, name:s
|
||||
bind = , s, submap, reset
|
||||
bind = , t, movetoworkspacesilent, name:t
|
||||
bind = , t, submap, reset
|
||||
bind = , h, movetoworkspacesilent, name:h
|
||||
bind = , h, submap, reset
|
||||
bind = , v, movetoworkspacesilent, name:v
|
||||
bind = , v, submap, reset
|
||||
bind = , y, movetoworkspacesilent, name:y
|
||||
bind = , y, submap, reset
|
||||
bind = , n, movetoworkspacesilent, name:n
|
||||
bind = , n, submap, reset
|
||||
bind = , a, movetoworkspacesilent, name:a
|
||||
bind = , a, submap, reset
|
||||
bind = , i, movetoworkspacesilent, name:i
|
||||
bind = , i, submap, reset
|
||||
bind = , l, movetoworkspacesilent, name:l
|
||||
bind = , l, submap, reset
|
||||
bind = , x, movetoworkspacesilent, name:x
|
||||
bind = , x, submap, reset
|
||||
bind = , c, movetoworkspacesilent, name:c
|
||||
bind = , c, submap, reset
|
||||
bind = , m, movetoworkspacesilent, name:m
|
||||
bind = , m, submap, reset
|
||||
bind = , k, movetoworkspacesilent, name:k
|
||||
bind = , k, submap, reset
|
||||
bind = , q, movetoworkspacesilent, name:q
|
||||
bind = , q, submap, reset
|
||||
bind = , z, movetoworkspacesilent, name:z
|
||||
bind = , z, submap, reset
|
||||
bind = , p, movetoworkspacesilent, name:tp
|
||||
bind = , p, submap, reset
|
||||
bind=,escape,submap,reset
|
||||
submap = reset
|
||||
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
1
trayer-padding-icon.sh
Symbolic link
1
trayer-padding-icon.sh
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.dot/.config/xmobar/trayer-padding-icon.sh
|
1
xmobarrc
Symbolic link
1
xmobarrc
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.dot/.config/xmobar/tomorrow-night-xmobarrc
|
Loading…
Reference in a new issue