From 5adaade5119a56fdb170788429f3809a606dfb0e Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Sun, 6 Mar 2022 14:23:13 +0100 Subject: update config --- .config/qtile/autorc | 8 +++++--- .config/qtile/config.py | 53 ++++++------------------------------------------- .doom.d/config.el | 2 +- .doom.d/custom.el | 16 +++++++++++++++ .gitignore | 1 + 5 files changed, 29 insertions(+), 51 deletions(-) create mode 100644 .doom.d/custom.el create mode 100644 .gitignore diff --git a/.config/qtile/autorc b/.config/qtile/autorc index e195665..217adb9 100755 --- a/.config/qtile/autorc +++ b/.config/qtile/autorc @@ -20,8 +20,10 @@ function start() { $($1 $2) & } -start nitrogen "--restore" -monitor_settings +# monitor_settings caps_to_esc -start picom "-b -D 4 --vsync" +start nitrogen "--restore" +start picom "" +start spotifyd "" +start rclone "mount remote:/sync /home/jd/sync/" diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 1741027..57f75d8 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -77,11 +77,12 @@ keys = [ Key([mod, "mod1"], "q", lazy.spawn("qutebrowser"), desc="Spawn qutebrowser"), Key([mod, "mod1"], "b", lazy.spawn("brave"), desc="Spawn brave"), - Key([mod, "mod1"], "f", lazy.spawn("firefox netflix.com"), desc="Spawn firefox"), + Key([mod, "mod1"], "f", lazy.spawn("firefox-bin"), desc="Spawn firefox"), Key([mod, "mod1"], "e", lazy.spawn("emacs"), desc="Spawn emacs"), Key([mod, "mod1"], "s", lazy.spawn("alacritty -e spt"), desc="Spawn spt (spotify clent)"), Key([mod, "mod1"], "g", lazy.spawn("alacritty -e /home/jakub/.config/qtile/mdt_shell"), desc="connect to google coral device"), Key([mod, "mod1"], "l", lazy.spawn("slock"), desc="lock desktop"), + Key([mod, "mod1"], "r", lazy.spawn("alacritty -e ranger"), desc="Spawn ranger (file manager)"), ] groups_names = [ "dev", @@ -171,55 +172,13 @@ screens = [ widget.Prompt(), widget.Sep(**transparent_sep), widget.WindowName(), - widget.Net(format="↓{down} ↑{up}", foreground=YELLOW), + widget.Net(format="🌐 ↓{down} ↑{up}", foreground=YELLOW), widget.Sep(**soft_sep), - widget.CPU(format=' {load_percent}%', fontsize=12, foreground=RED), + widget.CPU(format='💻 {load_percent}%', fontsize=12, foreground=RED), widget.Sep(**soft_sep), - widget.Battery(foreground=GREEN), + widget.Battery(format='🔋 {char} {percent:2.0%} {hour:d}:{min:02d} {watt:.2f} W', foreground=GREEN), widget.Sep(**soft_sep), - widget.Clock(format='%B %-d, %H:%M', foreground=CYAN), - widget.Sep(**soft_sep), - widget.CurrentScreen() - ], - 24, - margin=8, - background=BAR, - border_color=CYAN, - border_width=1 - ), - ), - Screen( - top=bar.Bar( - [ - widget.Sep(**transparent_sep), - widget.Image(filename="~/.config/qtile/python.png", margin=4), - widget.Sep(**transparent_sep), - widget.CurrentLayout(), - widget.Sep(**transparent_sep), - widget.GroupBox( - margin_y = 3, - margin_x = 0, - padding_y = 5, - padding_x = 3, - borderwidth = 3, - rounded = False, - highlight_color = LIGHT_BAR, - highlight_method = "line", - this_current_screen_border = CYAN, - this_screen_border = CYAN, - other_current_screen_border = LIGHT_BAR, - other_screen_border = LIGHT_BAR, - ), - widget.Prompt(), - widget.Sep(**transparent_sep), - widget.WindowName(), - widget.Net(format="↓{down} ↑{up}", foreground=YELLOW), - widget.Sep(**soft_sep), - widget.CPU(format=' {load_percent}%', fontsize=12, foreground=RED), - widget.Sep(**soft_sep), - widget.Battery(foreground=GREEN), - widget.Sep(**soft_sep), - widget.Clock(format='%B %-d, %H:%M', foreground=CYAN), + widget.Clock(format='📅 %B %-d, %H:%M', foreground=CYAN), widget.Sep(**soft_sep), widget.CurrentScreen() ], diff --git a/.doom.d/config.el b/.doom.d/config.el index 589e66f..89112ea 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -2,7 +2,7 @@ user-mail-address "jdlugosz963@gmail.com") (setq doom-theme 'doom-dracula) -(setq doom-font (font-spec :family "Mononoki Nerd Font Mono" :size 13)) +; (setq doom-font (font-spec :family "Mononoki Nerd Font Mono" :size 13)) (setq org-directory "~/org/") diff --git a/.doom.d/custom.el b/.doom.d/custom.el new file mode 100644 index 0000000..d20f917 --- /dev/null +++ b/.doom.d/custom.el @@ -0,0 +1,16 @@ +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(package-selected-packages '(pdf-tools))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(org-level-1 ((t (:inherit outline-1 :height 1.2)))) + '(org-level-2 ((t (:inherit outline-2 :height 1.1)))) + '(org-level-3 ((t (:inherit outline-3 :height 1.05)))) + '(org-level-4 ((t (:inherit outline-4 :height 1.025)))) + '(org-level-5 ((t (:inherit outline-5 :height 1.0))))) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c18dd8d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +__pycache__/ -- cgit v1.2.3