From 018c77fadfdf86393d321735c643aedddd7a5ffb Mon Sep 17 00:00:00 2001 From: qvalentin Date: Sun, 10 Oct 2021 14:38:48 +0200 Subject: [PATCH] add doom shortcuts --- .config/xmobar/xmobarrc | 23 +++++++---------------- .doom.d/config.el | 20 ++++++++++++++++++-- 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/.config/xmobar/xmobarrc b/.config/xmobar/xmobarrc index 511af6c..ec27dee 100644 --- a/.config/xmobar/xmobarrc +++ b/.config/xmobar/xmobarrc @@ -1,21 +1,12 @@ Config { overrideRedirect = False , font = "xft:Roboto Mono for Powerline:size=11" - , bgColor = "#0E0A0C" - , fgColor = "#d49a9c" + , bgColor = "#0C0C0F" + , fgColor = "#ccdee5" , position = TopW L 100 - , commands = [ Run Weather "EGPF" - [ "--template", " °C" - , "-L", "0" - , "-H", "25" - , "--low" , "lightblue" - , "--normal", "#f8f8f2" - , "--high" , "red" - ] 36000 - , Run Cpu + , iconRoot = ".config/xmobar/xpm/" + , commands = [Run Cpu [ "-L", "3" , "-H", "50" - , "--high" , "red" - , "--normal", "green" ] 10 , Run Alsa "default" "Master" [ "--template", "" @@ -24,11 +15,11 @@ Config { overrideRedirect = False , "--on", "" ] , Run Memory ["--template", "Mem: %"] 10 - , Run Swap [] 10 - , Run Date "%a %Y-%m-%d %H:%M" "date" 10 + , Run Date "%a %Y-%m-%d %H:%M" "date" 10 , Run XMonadLog + , Run Com "get_music_info" [] "" 10 ] , sepChar = "%" , alignSep = "}{" - , template = "%XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %EGPF% | %date% " + , template = " %XMonadLog% }{ %get_music_info% | %alsa:default:Master% | %cpu% | %memory% | %date% " } diff --git a/.doom.d/config.el b/.doom.d/config.el index 47b7e89..7e10233 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -6,14 +6,14 @@ ;; Some functionality uses this to identify you, e.g. GPG configuration, email ;; clients, file templates and snippets. -(setq user-full-name "qValentin" +(setq user-full-name "qvalentin" user-mail-address "dev@filefighter.de") ;; Doom exposes five (optional) variables for controlling fonts in Doom. Here ;; are the three important ones: ;; ;; + `doom-font' -;; + `doom-variable-pitch-font' +;; + `Doom-Variable -pitch-font' ;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for ;; presentations or streaming. ;; @@ -56,3 +56,19 @@ (require 'exec-path-from-shell) (when (display-graphic-p) (exec-path-from-shell-initialize)) + +(map! :leader + :desc "Comment Block" + "c b" #'comment-region) + +(map! :leader + :desc "Uncomment Block" + "c B" #'uncomment-region) + +(map! :leader + :desc "Magit Pull from upsteam" + "g p" #'magit-pull-from-upstream) + +(map! :leader + :desc "Magit Pull" + "g P" #'magit-pull)