Remove unused parts, updated my theme
== ALL FILES == The org TOCs were unused on export, and Spacemacs makes it useless. This commits removes them. The startup header of org files is moved to the header file. == AWESOME == In the Awesome file, this commit removes everything about custom theme creation as this part is not yet used. I also remade and reorganized the windows titlebars. Theme files for Awesome shall be added soon. The wallpaper functions were updated accordingly. In the autostart part, I updated some commands (picom will not launch if another instance is already running, same for the XFCE polkit), and I added PumoPM to the autolaunched software (power management). Due to some issues, I also let Awesome one second before launching `set-screens'. == AWESOME AND CUSTOM SCRIPTS == This commit also removes any usage of pywal. My Awesome configuration and my custom scripts were updated accordingly. == CUSTOM SCRIPTS == In bin.org, the script `pape-restore' has been removed since it can now be replaced with the command `nitrogen --restore'. `pape-update' has also been updated so it doesn’t depend on `pape-restore' and gets a random wallpaper for nitrogen to set without the help of pywal. == XRESOURCES / ST AND PICOM == St’s transparency was tweaked to match my windows’ titlebar transparency. It also got the Nord theme mentionned above. Some custom Picom rule about St’s transparency has been removed. == PICOM == I made it clearer in the index and on Picom’s page Picom is the new Compton. == FIREFOX == A new git submodule (blurredfox-nord) has been added, which adds some transparency to Firefox as well as some Nord colors. == I3 AND POLYBAR == My i3 and Polybar config have been deprecated since I do not use them anymore. == SPACEMACS == Changed shortcuts for config files
This commit is contained in:
parent
8a4feff7bf
commit
a958ee8a60
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -13,3 +13,6 @@
|
||||
[submodule ".config/emacs/private/dired-phundrak"]
|
||||
path = .config/emacs/private/dired-phundrak
|
||||
url = https://labs.phundrak.com/phundrak/dired-phundrak
|
||||
[submodule ".mozilla/firefox/lruehqec.default/chrome"]
|
||||
path = .mozilla/firefox/lruehqec.default/chrome
|
||||
url = git@labs.phundrak.com:phundrak/blurredfox-nord.git
|
||||
|
1
.mozilla/firefox/lruehqec.default/chrome
Submodule
1
.mozilla/firefox/lruehqec.default/chrome
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit da7ab97403665c07c833cdd29da4489ec5195fbd
|
@ -7,64 +7,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the AwesomeWM config file of Phundrak" />
|
||||
#+PROPERTY: header-args :noweb yes :tangle no :exports none
|
||||
#+PROPERTY: header-args:lua :tangle ~/.config/awesome/rc.lua :exports code :noweb yes
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-1d688dc5
|
||||
:END:
|
||||
- [[#introduction][Introduction]]
|
||||
- [[#loading-libraries][Loading libraries]]
|
||||
- [[#error-handling][Error handling]]
|
||||
- [[#variable-definitions][Variable definitions]]
|
||||
- [[#themes][Themes]]
|
||||
- [[#creating-my-own-theme-wip-not-yet-used][Creating my own theme (WIP, not yet used)]]
|
||||
- [[#loading-assets][Loading assets]]
|
||||
- [[#inherit-the-default-theme][Inherit the default theme]]
|
||||
- [[#loading-default-fonts-and-colors][Loading default fonts and colors]]
|
||||
- [[#loading-the-theme][Loading the theme]]
|
||||
- [[#default-terminal-and-text-editor][Default terminal and text editor]]
|
||||
- [[#keys][Keys]]
|
||||
- [[#wallpapers-directory][Wallpapers directory]]
|
||||
- [[#custom-functions][Custom functions]]
|
||||
- [[#wallpaper-related-functions][Wallpaper-related functions]]
|
||||
- [[#set-a-random-wallpaper][Set a random wallpaper]]
|
||||
- [[#restore-previous-wallpaper][Restore previous wallpaper]]
|
||||
- [[#layout-manipulation][Layout manipulation]]
|
||||
- [[#clients-manipulation][Clients manipulation]]
|
||||
- [[#tag-manipulation][Tag manipulation]]
|
||||
- [[#awesome-prompt][Awesome prompt]]
|
||||
- [[#layouts][Layouts]]
|
||||
- [[#top-bar][Top bar]]
|
||||
- [[#menus][Menus]]
|
||||
- [[#other-widgets][Other widgets]]
|
||||
- [[#tag-list][Tag list]]
|
||||
- [[#tasks-list][Tasks list]]
|
||||
- [[#theme-and-display][Theme and display]]
|
||||
- [[#screen-update][Screen update]]
|
||||
- [[#mouse-bindings][Mouse bindings]]
|
||||
- [[#keybindings][Keybindings]]
|
||||
- [[#applications][Applications]]
|
||||
- [[#internet-apps][Internet apps]]
|
||||
- [[#screenshots][Screenshots]]
|
||||
- [[#emacs][Emacs]]
|
||||
- [[#rofi][Rofi]]
|
||||
- [[#awesome][Awesome]]
|
||||
- [[#clients][Clients]]
|
||||
- [[#layout-manipulation-1][Layout manipulation]]
|
||||
- [[#media][Media]]
|
||||
- [[#screen][Screen]]
|
||||
- [[#tags][Tags]]
|
||||
- [[#rules][Rules]]
|
||||
- [[#universal-rules][Universal rules]]
|
||||
- [[#floating-clients][Floating clients]]
|
||||
- [[#titlebars][Titlebars]]
|
||||
- [[#default-tag-for-clients][Default tag for clients]]
|
||||
- [[#signals][Signals]]
|
||||
- [[#client-creation][Client creation]]
|
||||
- [[#titlebar-creation][Titlebar creation]]
|
||||
- [[#changes-of-focus][Changes of focus]]
|
||||
- [[#autostart][Autostart]]
|
||||
|
||||
* Introduction
|
||||
:PROPERTIES:
|
||||
@ -196,105 +138,13 @@
|
||||
:CUSTOM_ID: Variable_definitions-Themes-591886b4
|
||||
:END:
|
||||
With Awesome, it is possible to load or write custom themes in order to give
|
||||
Awesome a special look that fits the user. I used to load the default theme
|
||||
from Xresources, but now I would like to use my own theme, tweaked to my
|
||||
liking.
|
||||
|
||||
*** Creating my own theme (WIP, not yet used)
|
||||
:PROPERTIES:
|
||||
:HEADER-ARGS:lua: :tangle ~/.config/awesome/theme/theme.lua :exports code
|
||||
:HEADER-ARGS:emacs-lisp: :exports none :cache yes
|
||||
:CUSTOM_ID: Variable_definitions-Themes-Creating_my_own_theme_(WIP,_not_yet_used)-6b2dd694
|
||||
:END:
|
||||
Here I will create my own theme, which will be exported to
|
||||
=~/.config/awesome/theme/theme.lua=. It is based on my former Xresources
|
||||
theme, but also on some other themes I found on the internet, particularly
|
||||
on Github. Here are a few I would like to mention:
|
||||
- [[https://github.com/lcpz/awesome-copycats/tree/master/themes/powerarrow-dark][Powerarrow-dark]]
|
||||
- DistroTube’s Qtile theme, which you can see [[https://lbry.tv/@DistroTube:2/reactos-is-an-open-source-windows:9?r=4LXiLPA3uQN6Ekx8Rnu9oNVUVArqsbPf][here]]
|
||||
|
||||
My theme has two main dependencies: [[https://github.com/lcpz/lain][lain]] and [[https://github.com/lcpz/awesome-freedesktop][freedesktop]] for Awesome. The
|
||||
former is a framework for Awesome theming while the second enables its users
|
||||
to add ~.desktop~ entries to the Awesome menu.
|
||||
|
||||
**** Loading assets
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Variable_definitions-Themes-Creating_my_own_theme_(WIP,_not_yet_used)-Loading_assets-aacbcb76
|
||||
:END:
|
||||
So first off, let’s load our libraries or anything I might need to import.
|
||||
First, let's import the ~theme_assets~ module of ~beautiful~, a collection
|
||||
of functions for theming, as well as the ~xresources~ library which will
|
||||
let us interact with the Xresources theme. The ~filesystem~ module of
|
||||
~gears~ will also enable us to interact with the system’s filesystem,
|
||||
getting paths and files. I will also import ~lain~, the above described
|
||||
dependency, so I get some useful functions and constructs.
|
||||
#+NAME: theme-modules-import-table
|
||||
| Module | Import as | What it is |
|
||||
|------------------------+--------------+--------------------------|
|
||||
| beautiful.theme_assets | theme_assets | theming library |
|
||||
| beautiful.xresources | xresources | Xresources interactivity |
|
||||
| gears.filesystem | gfs | filesystem interactivity |
|
||||
| lain | lain | theming framework |
|
||||
|
||||
#+NAME: theme-modules-import-gen
|
||||
#+BEGIN_SRC emacs-lisp :var table=theme-modules-import-table formstr="local %s = require(\"%s\")"
|
||||
(mapconcat (lambda (x)
|
||||
(format formstr
|
||||
(cadr x) (car x)))
|
||||
table "\n")
|
||||
#+END_SRC
|
||||
|
||||
Here is what the code looks like:
|
||||
Awesome a special look that fits the user. I am currently using a custom
|
||||
theme that is not yet included in my dotfiles. I will add it later, along
|
||||
with the images used for the theme.
|
||||
#+BEGIN_SRC lua
|
||||
<<theme-modules-import-gen()>>
|
||||
beautiful.init("/home/phundrak/.config/awesome/nord/theme.lua")
|
||||
#+END_SRC
|
||||
|
||||
Let’s also import some functions and values!
|
||||
#+NAME: theme-modules-variables-table
|
||||
| What to import | Import as | What it is |
|
||||
|--------------------------------+-------------+------------------------------------|
|
||||
| xresources.apply_dpi | dpi | Apply screen’s DPI ([[https://awesomewm.org/doc/api/libraries/beautiful.html#lib_beautiful_xresources_Functions][documentation]]) |
|
||||
| xresources.get_current_theme() | xrdb | Get current Xresources theme |
|
||||
| gfs.get_themes_dir() | themes_path | Get path to default Awesome themes |
|
||||
|
||||
Here is what the code looks like:
|
||||
#+BEGIN_SRC lua
|
||||
<<theme-modules-import-gen(table=theme-modules-variables-table, formstr="local %s = %s")>>
|
||||
#+END_SRC
|
||||
|
||||
**** Inherit the default theme
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Variable_definitions-Themes-Creating_my_own_theme_(WIP,_not_yet_used)-Inherit_the_default_theme-7ab9fbf2
|
||||
:END:
|
||||
Now that I imported what I need, I can get a default theme which I will
|
||||
later modify:
|
||||
#+BEGIN_SRC lua
|
||||
local theme = dofile(themes_path.."default/theme.lua")
|
||||
#+END_SRC
|
||||
|
||||
**** Loading default fonts and colors
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Variable_definitions-Themes-Creating_my_own_theme_(WIP,_not_yet_used)-Loading_default_fonts_and_colors-2c3cd836
|
||||
:END:
|
||||
With the default theme loaded, let's modify it! The theme’s font will be
|
||||
the same as the one I use for st: Source Code Pro for Powerline
|
||||
#+BEGIN_SRC lua
|
||||
theme.font = "Source Code Pro for Powerline 8"
|
||||
#+END_SRC
|
||||
|
||||
*** Loading the theme
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Variable_definitions-Themes-Loading_the_theme-2f28973c
|
||||
:END:
|
||||
Finally, let’s load our theme.
|
||||
#+BEGIN_SRC lua
|
||||
beautiful.init("/home/phundrak/.config/awesome/xresources/theme.lua")
|
||||
#+END_SRC
|
||||
|
||||
On top of that, I would like to edit some settings. First of all, let’s set
|
||||
some default transparency for Awesome, with an alpha background. By default,
|
||||
it is completely opaque with a max value of ~256~ and a minimal value of ~0~.
|
||||
|
||||
** Default terminal and text editor
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Variable_definitions-Default_terminal_and_text_editor-44b84e20
|
||||
@ -324,16 +174,6 @@
|
||||
alt = "Mod1" -- Just in case
|
||||
#+END_SRC
|
||||
|
||||
** Wallpapers directory
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Variable_definitions-Wallpapers_directory-23b54f4f
|
||||
:END:
|
||||
This variable is a variable I personally set for a function described below
|
||||
in order to have a variable pointing to my wallpaper directory.
|
||||
#+BEGIN_SRC lua
|
||||
local papes_dir = "~/Pictures/Wallpapers"
|
||||
#+END_SRC
|
||||
|
||||
* Custom functions
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Custom_functions-ed54dbe2
|
||||
@ -348,7 +188,7 @@
|
||||
:END:
|
||||
This function sets a random wallpaper from the directory
|
||||
=~/Pictures/Wallpapers=, see [[file:bin.org::#pape-update-bdecbadf][pape-update]] in my custom scripts. This depends
|
||||
on [[https://github.com/l3ib/nitrogen/][Nitrogen]] and [[https://github.com/dylanaraps/pywal][Pywal]].
|
||||
on [[https://github.com/l3ib/nitrogen/][Nitrogen]].
|
||||
#+BEGIN_SRC lua
|
||||
local function set_random_pape()
|
||||
awful.spawn.with_shell("pape-update")
|
||||
@ -366,8 +206,7 @@
|
||||
wallpaper:
|
||||
#+BEGIN_SRC lua
|
||||
local function set_wallpaper(_)
|
||||
awful.spawn.with_shell("wal -i (cat $HOME/.cache/wal/wal) && pape-restore")
|
||||
awful.spawn.with_shell("xrdb $HOME/.Xresources")
|
||||
awful.spawn.with_shell("nitrogen --restore")
|
||||
end
|
||||
#+END_SRC
|
||||
|
||||
@ -1587,19 +1426,29 @@
|
||||
- The middle elements of the titlebar
|
||||
- The bottom or right elements of the titlebar (here the bottom)
|
||||
You can notice in the setup’s code below that I haven’t included anything in
|
||||
the middle or bottom elements, the only elements I am interested in are the
|
||||
top elements. I have (top to bottom):
|
||||
the middle elements, the only elements I am interested in are the top and
|
||||
bottom elements. In the top elements, I have (top to bottom):
|
||||
- A close button
|
||||
- A maximize button
|
||||
- A minimize button
|
||||
- A button for toggling client floating
|
||||
- And an indication to Awesome these elements should be vertically aligned
|
||||
To make Awesome happy, I also must indicate that the middle elements are
|
||||
vertically aligned, and then I can declare my bottom elements:
|
||||
- A button for toggling client floating
|
||||
- And again the indication to Awesome these elements should be vertically
|
||||
aligned
|
||||
#+NAME: signal-titlebar-setup
|
||||
#+BEGIN_SRC lua :tangle no
|
||||
{ -- Top
|
||||
awful.titlebar.widget.closebutton(c),
|
||||
awful.titlebar.widget.maximizedbutton(c),
|
||||
awful.titlebar.widget.minimizebutton(c),
|
||||
layout = wibox.layout.fixed.vertical()
|
||||
},
|
||||
{
|
||||
layout = wibox.layout.fixed.vertical()
|
||||
}, -- Middle
|
||||
{ -- Bottom
|
||||
awful.titlebar.widget.floatingbutton(c),
|
||||
layout = wibox.layout.fixed.vertical()
|
||||
},
|
||||
@ -1639,16 +1488,18 @@
|
||||
shell.
|
||||
#+NAME: autostart-table
|
||||
| Command | What it is for |
|
||||
|-----------------------------------------------------+----------------------------------------|
|
||||
| pkill xfce-polkit; /usr/lib/xfce-polkit/xfce-polkit | Launch or relaunch Polkit |
|
||||
| pkill picom; compton --experimental-backends | Launch or relaunch Picom |
|
||||
|-------------------------------------------------+----------------------------------------|
|
||||
| pumopm | Power manager |
|
||||
| /usr/lib/xfce-polkit/xfce-polkit | Launch or relaunch Polkit |
|
||||
| sleep 1 && set-screens | Auto-organize screens |
|
||||
| picom --experimental-backends | Launch or relaunch Picom |
|
||||
| nitrogen --restore | Restore background |
|
||||
| xss-lock -- lock | Enable lockscreen after a blank screen |
|
||||
| nm-applet | Launch NetworkManager applet |
|
||||
| numlockx on | Enable numlock |
|
||||
| mpc stop | Stop music |
|
||||
| mpd_discord_richpresence --no-idle --fork | Launch MPD rich presence for Discord |
|
||||
| sleep 3 && emacsclient -c -e \"(delete-frame)\" | Launch blank EmacsClient |
|
||||
| set-screens | Auto-organize screens |
|
||||
|
||||
#+NAME: autostart
|
||||
#+BEGIN_SRC emacs-lisp :tangle no :exports none :cache yes :var apps=autostart-table
|
||||
@ -1659,15 +1510,20 @@
|
||||
"\n")
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS[d6e417272b634c3a67185926e08725116dc98810]: autostart
|
||||
: awful.spawn.with_shell("pkill xfce-polkit; /usr/lib/xfce-polkit/xfce-polkit")
|
||||
: awful.spawn.with_shell("pkill picom; compton --experimental-backends")
|
||||
: awful.spawn.with_shell("xss-lock -- lock")
|
||||
: awful.spawn.with_shell("nm-applet")
|
||||
: awful.spawn.with_shell("numlockx on")
|
||||
: awful.spawn.with_shell("mpc stop")
|
||||
: awful.spawn.with_shell("mpd_discord_richpresence --no-idle --fork")
|
||||
: awful.spawn.with_shell("sleep 3 && emacsclient -c -e \"(delete-frame)\"")
|
||||
#+RESULTS[e65349733980220944a79123e3ee0f4d638e5068]: autostart
|
||||
#+begin_example
|
||||
awful.spawn.with_shell("pumopm")
|
||||
awful.spawn.with_shell("pkill xfce-polkit; /usr/lib/xfce-polkit/xfce-polkit")
|
||||
awful.spawn.with_shell("sleep 1 && set-screens")
|
||||
awful.spawn.with_shell("picom --experimental-backends")
|
||||
awful.spawn.with_shell("nitrogen --restore")
|
||||
awful.spawn.with_shell("xss-lock -- lock")
|
||||
awful.spawn.with_shell("nm-applet")
|
||||
awful.spawn.with_shell("numlockx on")
|
||||
awful.spawn.with_shell("mpc stop")
|
||||
awful.spawn.with_shell("mpd_discord_richpresence --no-idle --fork")
|
||||
awful.spawn.with_shell("sleep 3 && emacsclient -c -e \"(delete-frame)\"")
|
||||
#+end_example
|
||||
|
||||
Each of the command gets called with the call of ~awful.spawn.with_shell()~,
|
||||
as you can see below.
|
||||
@ -1675,6 +1531,9 @@
|
||||
<<autostart()>>
|
||||
#+END_SRC
|
||||
|
||||
PumoPM is a custom power manager I’ve written, because other power managers
|
||||
didn’t fit my needs, so I wrote my own. You can find it [[https://labs.phundrak.com/phundrak/pumopm][here]].
|
||||
|
||||
* What to do now :noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: What_to_do_now-bce61fe1
|
||||
|
@ -5,56 +5,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's i3 config" />
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the i3 config file of Phundrak" />
|
||||
#+PROPERTY: header-args :exports code
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-0e46298a
|
||||
:END:
|
||||
- [[#presentation][Presentation]]
|
||||
- [[#4chandl][4chandl]]
|
||||
- [[#awiki][awiki]]
|
||||
- [[#askpass][Askpass]]
|
||||
- [[#backup][Backup]]
|
||||
- [[#connectwifi][ConnectWifi]]
|
||||
- [[#fix-it][fix it]]
|
||||
- [[#cppnew][Cppnew]]
|
||||
- [[#cnew][Cnew]]
|
||||
- [[#dart-language-server][Dart Language Server]]
|
||||
- [[#dmenu][Dmenu]]
|
||||
- [[#emacsmail][Emacsmail]]
|
||||
- [[#emoji-picker][Emoji picker]]
|
||||
- [[#lock][Lock]]
|
||||
- [[#mp42webm][mp42webm]]
|
||||
- [[#pape-restore][pape-restore]]
|
||||
- [[#pape-update][pape-update]]
|
||||
- [[#pinfo][Pinfo]]
|
||||
- [[#polybar-launch][Polybar-launch]]
|
||||
- [[#rofi-mount][Rofi-mount]]
|
||||
- [[#get-the-mountable-elements][Get the mountable elements]]
|
||||
- [[#get-the-mount-point][Get the mount point]]
|
||||
- [[#mount-a-usb-drive-hard-drive-or-partition][Mount a USB drive, hard drive or partition]]
|
||||
- [[#mount-an-android-device][Mount an Android device]]
|
||||
- [[#mount-a-cd-drive][Mount a CD drive]]
|
||||
- [[#ask-what-type-of-drive-we-want-to-mount][Ask what type of drive we want to mount]]
|
||||
- [[#launch-the-mounting-functions][Launch the mounting functions]]
|
||||
- [[#rofi-pass][Rofi-pass]]
|
||||
- [[#rofi-umount][Rofi-umount]]
|
||||
- [[#get-the-unmountable-drives][Get the unmountable drives]]
|
||||
- [[#unmount-disk-partitions][Unmount disk partitions]]
|
||||
- [[#unmount-android-device][Unmount Android device]]
|
||||
- [[#unmount-cd-drive][Unmount CD drive]]
|
||||
- [[#ask-what-type-of-drive-to-unmount][Ask what type of drive to unmount]]
|
||||
- [[#launch-the-unmounting-functions][Launch the unmounting functions]]
|
||||
- [[#set-screens][set-screens]]
|
||||
- [[#starwars][Starwars]]
|
||||
- [[#updateflutter][UpdateFlutter]]
|
||||
- [[#wacom-setup][Wacom setup]]
|
||||
- [[#set-our-variables][Set our variables]]
|
||||
- [[#select-our-screen][Select our screen]]
|
||||
- [[#adjust-the-tablet][Adjust the tablet]]
|
||||
- [[#lauch-the-functions][Lauch the functions]]
|
||||
- [[#weather][Weather]]
|
||||
|
||||
* Presentation
|
||||
:PROPERTIES:
|
||||
@ -433,31 +383,20 @@
|
||||
ffmpeg -i $argv[1] -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis $argv[1].webm
|
||||
#+END_SRC
|
||||
|
||||
* pape-restore
|
||||
:PROPERTIES:
|
||||
:HEADER-ARGS: :tangle ~/.local/bin/pape-restore
|
||||
:CUSTOM_ID: pape-restore-981c39c2
|
||||
:END:
|
||||
Similarly to ~pape-update~, this tool restores my wallpaper back to the same
|
||||
state as I left it last time.
|
||||
#+BEGIN_SRC fish
|
||||
#!/usr/bin/fish
|
||||
for i in (seq (xrandr --current | grep ' connected' | wc -l))
|
||||
nitrogen --set-zoom-fill (cat ~/.cache/wal/wal) --head=(math "$i - 1")
|
||||
end
|
||||
#+END_SRC
|
||||
|
||||
* pape-update
|
||||
:PROPERTIES:
|
||||
:HEADER-ARGS: :tangle ~/.local/bin/pape-update
|
||||
:CUSTOM_ID: pape-update-bdecbadf
|
||||
:END:
|
||||
This little tool updates my wallpaper using both pywal and nitrogen (because
|
||||
apparently pywal doesn’t like AwesomeWM). It depends on [[#pape-restore-981c39c2][~pape-restore~]].
|
||||
This little tool sets a random wallpaper using nitrogen.
|
||||
#+BEGIN_SRC fish
|
||||
#!/usr/bin/fish
|
||||
wal -i ~/Pictures/Wallpapers
|
||||
pape-restore
|
||||
set -l PAPESDIR ~/Pictures/Wallpapers
|
||||
set -l PAPES (ls $PAPESDIR)
|
||||
set -l PAPE $PAPESDIR/$PAPES[(random 1 (count $PAPES))]
|
||||
for i in (seq (xrandr --current | grep ' connected' | wc -l))
|
||||
nitrogen --set-zoom-fill $PAPE --head=(math "$i - 1") --save
|
||||
end
|
||||
#+END_SRC
|
||||
|
||||
* Pinfo
|
||||
|
@ -7,49 +7,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the fish config file of Phundrak" />
|
||||
#+PROPERTY: header-args:fish :tangle ~/.config/fish/config.fish :exports code :noweb yes
|
||||
#+PROPERTY: header-args :exports code :tangle no
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-06250a87
|
||||
:END:
|
||||
- [[#presentation][Presentation]]
|
||||
- [[#fish-from-within-emacs][Fish from within Emacs]]
|
||||
- [[#tramp-remote-access][Tramp remote access]]
|
||||
- [[#regular-fish-shell-appearance][Regular fish shell appearance]]
|
||||
- [[#global-variables][Global variables]]
|
||||
- [[#development][Development]]
|
||||
- [[#path][$PATH]]
|
||||
- [[#abbreviations][Abbreviations]]
|
||||
- [[#system-monitoring][System monitoring]]
|
||||
- [[#system-management-packages-and-services][System management (packages and services)]]
|
||||
- [[#package-management][Package management]]
|
||||
- [[#service-management][Service management]]
|
||||
- [[#development-1][Development]]
|
||||
- [[#cmake][CMake]]
|
||||
- [[#compilation][Compilation]]
|
||||
- [[#docker][Docker]]
|
||||
- [[#git][Git]]
|
||||
- [[#prolog][Prolog]]
|
||||
- [[#text-editors][Text editors]]
|
||||
- [[#latex][LaTeX]]
|
||||
- [[#some-security-measures][Some security measures]]
|
||||
- [[#typos][Typos]]
|
||||
- [[#misc][Misc]]
|
||||
- [[#sudo][Sudo]]
|
||||
- [[#exit][Exit]]
|
||||
- [[#history][History]]
|
||||
- [[#youtube-dl-related-commands][~youtube-dl~ related commands]]
|
||||
- [[#song-download-from-youtube][Song download from YouTube]]
|
||||
- [[#videos-download-from-youtube][Videos download from YouTube]]
|
||||
- [[#mpv][MPV]]
|
||||
- [[#compression][Compression]]
|
||||
- [[#sxiv][Sxiv]]
|
||||
- [[#exa][exa]]
|
||||
- [[#network-management][Network Management]]
|
||||
- [[#nordvpn][NordVPN]]
|
||||
- [[#webcam][Webcam]]
|
||||
- [[#wget][Wget]]
|
||||
|
||||
* Presentation
|
||||
:PROPERTIES:
|
||||
|
@ -3,6 +3,7 @@
|
||||
#+EMAIL: lucien@phundrak.com
|
||||
#+CREATOR: Lucien Cartier-Tilet
|
||||
#+LANGUAGE: en
|
||||
#+startup: content
|
||||
|
||||
# ### ORG OPTIONS ##############################################################
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# -*- org-confirm-babel-evaluate: nil -*-
|
||||
#+TITLE: i3 config
|
||||
#+TITLE: i3 config (Deprecated)
|
||||
#+setupfile: headers
|
||||
#+OPTIONS: auto-id:t
|
||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's i3 config" />
|
||||
@ -7,52 +7,15 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the i3 config file of Phundrak" />
|
||||
#+PROPERTY: header-args :noweb yes :exports code :tangle ~/.config/i3/config
|
||||
#+PROPERTY: header-args:emacs-lisp :exports none :tangle no
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-b6f56d3d
|
||||
:END:
|
||||
- [[#presentation][Presentation]]
|
||||
- [[#variables-declaration][Variables declaration]]
|
||||
- [[#global][Global]]
|
||||
- [[#floating-windows][Floating windows]]
|
||||
- [[#i3-global-settings][i3 global settings]]
|
||||
- [[#mouse-settings][Mouse settings]]
|
||||
- [[#popup-handling][Popup handling]]
|
||||
- [[#behavior-of-workspace-changes][Behavior of workspace changes]]
|
||||
- [[#gaps-and-window-appearance][Gaps and window appearance]]
|
||||
- [[#assigning-windows-to-workspaces][Assigning windows to workspaces]]
|
||||
- [[#shortcuts][Shortcuts]]
|
||||
- [[#terminal-shortcuts][Terminal shortcuts]]
|
||||
- [[#i3-shortcuts][i3 shortcuts]]
|
||||
- [[#window-and-workspace-management][Window and workspace management]]
|
||||
- [[#managing-how-windows-will-split][Managing how windows will split]]
|
||||
- [[#focus-windows][Focus windows]]
|
||||
- [[#focus-workspaces][Focus workspaces]]
|
||||
- [[#moving-windows][Moving windows]]
|
||||
- [[#moving-containers][Moving containers]]
|
||||
- [[#moving-workspaces][Moving workspaces]]
|
||||
- [[#close-windows][Close windows]]
|
||||
- [[#manage-the-size-of-the-current-window][Manage the size of the current window]]
|
||||
- [[#manage-floating-windows][Manage floating windows]]
|
||||
- [[#scratchpad-and-window-display][Scratchpad and window display]]
|
||||
- [[#gaps-management][Gaps management]]
|
||||
- [[#launching-software][Launching software]]
|
||||
- [[#software-and-command-launcher][Software and command launcher]]
|
||||
- [[#internet-software][Internet software]]
|
||||
- [[#screenshots][Screenshots]]
|
||||
- [[#screen-brightness][Screen brightness]]
|
||||
- [[#media-control][Media control]]
|
||||
- [[#rofi-utilities][Rofi utilities]]
|
||||
- [[#miscellaneous][Miscellaneous]]
|
||||
- [[#screen-management][Screen management]]
|
||||
- [[#software-autolaunch][Software autolaunch]]
|
||||
|
||||
* Presentation
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Presentation-9c7a53bf
|
||||
:END:
|
||||
*Before proceeding, be aware that I deprecated this i3 config on August 22nd,
|
||||
2020, meaning I won’t update it anymore unless I use it again some day in the
|
||||
future. I will keep it on my website though.*
|
||||
|
||||
=i3= is a window manager for GNU/Linux which automatically tiles windows in
|
||||
workspaces. This configuration was ade to automatically handle some tasks such
|
||||
as which software allowed where, autostart, and launching software with
|
||||
|
@ -4,37 +4,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's dotfiles" />
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's dotfiles" />
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the dotfiles of Phundrak" />
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-2444603f
|
||||
:END:
|
||||
- [[#presentation][Presentation]]
|
||||
- [[#screenshots][Screenshots]]
|
||||
- [[#features][Features]]
|
||||
- [[#tiling-window-managers][Tiling Window Managers]]
|
||||
- [[#awesomewm][AwesomeWM]]
|
||||
- [[#i3-configuration][i3 configuration]]
|
||||
- [[#graphical-tweaks][Graphical tweaks]]
|
||||
- [[#gtk-settings][GTK Settings]]
|
||||
- [[#gtk2][GTK2]]
|
||||
- [[#gtk3][GTK3]]
|
||||
- [[#picom][Picom]]
|
||||
- [[#xresources][Xresources]]
|
||||
- [[#text-and-source-code-editing][Text and source code editing]]
|
||||
- [[#emacs-configuration][Emacs configuration]]
|
||||
- [[#nano][Nano]]
|
||||
- [[#rustfmt][Rustfmt]]
|
||||
- [[#custom-scripts-in-path][Custom scripts in =PATH=]]
|
||||
- [[#fish-configuration-with-useful-abbreviations][Fish configuration with useful abbreviations]]
|
||||
- [[#and-some-minor-configuration-files][And some minor configuration files]]
|
||||
- [[#email-signature][Email signature]]
|
||||
- [[#global-gitignore][Global gitignore]]
|
||||
- [[#tmux-configuration][Tmux configuration]]
|
||||
- [[#dependencies][Dependencies]]
|
||||
- [[#installation][Installation]]
|
||||
- [[#licence][Licence]]
|
||||
|
||||
* Presentation
|
||||
:PROPERTIES:
|
||||
@ -101,12 +70,21 @@
|
||||
configuration for it is documented in detail in its corresponding document,
|
||||
which you can find [[file:awesome.org][here]].
|
||||
|
||||
*** i3 configuration
|
||||
*** i3 configuration (Deprecated)
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Features-Tiling_Window_Managers-i3_configuration-9c92e43c
|
||||
:END:
|
||||
The i3 configuration is detailed in its corresponding README which you can
|
||||
find [[file:i3.org][here]].
|
||||
find [[file:i3.org][here]]. Be aware I do not use i3 anymore, and I will not update it until
|
||||
I may someday use it again. This was deprecated on August 22nd, 2020.
|
||||
|
||||
** Polybar config (Deprecated)
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Features-Polybar_config_(Deprecated)-c8f95774
|
||||
:END:
|
||||
My annotated polybar config can be found [[file:polybar.org][here]], if you wish to use it. Be
|
||||
aware I do not use polybar anymore, and I will not update it until I may
|
||||
someday use it again. This was deprecated on August 22nd, 2020.
|
||||
|
||||
** Graphical tweaks
|
||||
:PROPERTIES:
|
||||
@ -225,7 +203,7 @@
|
||||
gtk-decoration-layout=
|
||||
#+END_SRC
|
||||
|
||||
*** Picom
|
||||
*** Picom (Compton)
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Features-Graphical_tweaks-Picom-b5b9a4dd
|
||||
:END:
|
||||
@ -246,11 +224,52 @@
|
||||
#+END_SRC
|
||||
I can also set the transparency of st (my terminal emulator) like so:
|
||||
#+BEGIN_SRC conf
|
||||
st.alpha: 0.75
|
||||
st.alpha: 0.65g
|
||||
#+END_SRC
|
||||
|
||||
I used to have lines dedicated to UXTerm and URxvt, but I cast them out of
|
||||
my system.
|
||||
Next is the declaration of my color theme. It is based on the [[https://www.nordtheme.com/][Nord]] theme,
|
||||
from their [[https://github.com/arcticicestudio/nord-xresources/][Git repository]].
|
||||
#+BEGIN_SRC conf
|
||||
#define nord0 #2E3440
|
||||
#define nord1 #3B4252
|
||||
#define nord2 #434C5E
|
||||
#define nord3 #4C566A
|
||||
#define nord4 #D8DEE9
|
||||
#define nord5 #E5E9F0
|
||||
#define nord6 #ECEFF4
|
||||
#define nord7 #8FBCBB
|
||||
#define nord8 #88C0D0
|
||||
#define nord9 #81A1C1
|
||||
#define nord10 #5E81AC
|
||||
#define nord11 #BF616A
|
||||
#define nord12 #D08770
|
||||
#define nord13 #EBCB8B
|
||||
#define nord14 #A3BE8C
|
||||
#define nord15 #B48EAD
|
||||
|
||||
,*.foreground: nord4
|
||||
,*.background: nord0
|
||||
,*.cursorColor: nord4
|
||||
,*fading: 35
|
||||
,*fadeColor: nord3
|
||||
|
||||
,*.color0: nord1
|
||||
,*.color1: nord11
|
||||
,*.color2: nord14
|
||||
,*.color3: nord13
|
||||
,*.color4: nord9
|
||||
,*.color5: nord15
|
||||
,*.color6: nord8
|
||||
,*.color7: nord5
|
||||
,*.color8: nord3
|
||||
,*.color9: nord11
|
||||
,*.color10: nord14
|
||||
,*.color11: nord13
|
||||
,*.color12: nord9
|
||||
,*.color13: nord15
|
||||
,*.color14: nord7
|
||||
,*.color15: nord6
|
||||
#+END_SRC
|
||||
|
||||
** Text and source code editing
|
||||
:PROPERTIES:
|
||||
|
@ -9,55 +9,6 @@
|
||||
#+PROPERTY: header-args:sh :tangle no :exports code
|
||||
#+PROPERTY: header-args:fish :exports code :noweb yes
|
||||
#+PROPERTY: header-args:emacs-lisp :exports none :noweb yes :tangle no :cache yes
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC_4_gh:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-914af127
|
||||
:END:
|
||||
- [[#introduction][Introduction]]
|
||||
- [[#install-arch-linux][Install Arch Linux]]
|
||||
- [[#get-the-latest-live-system-with-fast-mirrors][Get the latest live system with fast mirrors]]
|
||||
- [[#install-the-system][Install the system]]
|
||||
- [[#install-basic-packages][Install basic packages]]
|
||||
- [[#execute-bootstrap][Execute bootstrap]]
|
||||
- [[#decrypt-private-yadm-files][Decrypt private yadm files]]
|
||||
- [[#get-a-correct-keyboard-layout][Get a correct keyboard layout]]
|
||||
- [[#set-our-locale][Set our locale]]
|
||||
- [[#create-some-folders][Create some folders]]
|
||||
- [[#set-users-shell-to-fish][Set user’s shell to fish]]
|
||||
- [[#install-yay-if-it-isnt-already-installed][Install =yay= if it isn’t already installed]]
|
||||
- [[#install-basic-packages-1][Install basic packages]]
|
||||
- [[#tangle-configuration-files-from-org-files][Tangle configuration files from Org files]]
|
||||
- [[#setting-up-emacs-installing-spacemacs][Setting up Emacs: Installing Spacemacs]]
|
||||
- [[#set-up-dotfiles][Set up dotfiles]]
|
||||
- [[#update-our-dotfiles-remotes][Update our dotfiles’ remotes]]
|
||||
- [[#get-envtpl][Get =envtpl=]]
|
||||
- [[#update-our-submodules][Update our submodules]]
|
||||
- [[#enable-some-services][Enable some services]]
|
||||
- [[#systemd-timesyncd][Systemd-timesyncd]]
|
||||
- [[#docker][Docker]]
|
||||
- [[#emacs][Emacs]]
|
||||
- [[#mpd][Mpd]]
|
||||
- [[#ssh-server][SSH server]]
|
||||
- [[#ly][Ly]]
|
||||
- [[#acpilight][Acpilight]]
|
||||
- [[#nordvpn][NordVPN]]
|
||||
- [[#symlink-some-system-config-files][Symlink some system config files]]
|
||||
- [[#install-packages-from-git][Install packages from git]]
|
||||
- [[#polybar-battery][Polybar Battery]]
|
||||
- [[#revealjs][Reveal.JS]]
|
||||
- [[#install-powerline-fonts][Install powerline fonts]]
|
||||
- [[#install-rust][Install Rust]]
|
||||
- [[#install-the-toolchains][Install the toolchains]]
|
||||
- [[#install-some-utilities][Install some utilities]]
|
||||
- [[#install-some-python-packages][Install some python packages]]
|
||||
- [[#install-go-packages][Install go packages]]
|
||||
- [[#set-up-chicken-scheme-interpretercompiler][Set up Chicken (Scheme interpreter/compiler)]]
|
||||
- [[#clean-the-pacman-and-yay-cache][Clean the =pacman= and =yay= cache]]
|
||||
- [[#set-up-our-fish-shell][Set up our fish shell]]
|
||||
- [[#install-fisher][Install =fisher=]]
|
||||
- [[#install-our-extensions][Install our extensions]]
|
||||
|
||||
* Introduction
|
||||
:PROPERTIES:
|
||||
|
@ -5,19 +5,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's nano configuration" />
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the nano configuration of Phundrak" />
|
||||
#+PROPERTY: header-args :tangle ~/.config/nano/nanorc
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC_4_gh:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-fcfed7b6
|
||||
:END:
|
||||
- [[#introduction][Introduction]]
|
||||
- [[#configuration][Configuration]]
|
||||
- [[#keys-behavior][Keys behavior]]
|
||||
- [[#search][Search]]
|
||||
- [[#visual-settings][Visual settings]]
|
||||
- [[#whitespace-settings][Whitespace settings]]
|
||||
- [[#included-configuration-file][Included configuration file]]
|
||||
|
||||
* Introduction
|
||||
:PROPERTIES:
|
||||
|
@ -5,16 +5,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak’s ncmpcpp Configuration" />
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the ncmpcpp configuration of Phundrak" />
|
||||
#+PROPERTY: header-args :tangle ~/.config/ncmpcpp/config2 :exports code
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC_4_gh:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-8c590c64
|
||||
:END:
|
||||
- [[#introduction][Introduction]]
|
||||
- [[#core-ncmpcpp-settings][Core Ncmpcpp settings]]
|
||||
- [[#directories][Directories]]
|
||||
- [[#mpd][MPD]]
|
||||
|
||||
* Introduction
|
||||
:PROPERTIES:
|
||||
|
@ -7,9 +7,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the Neofetch config file of Phundrak" />
|
||||
#+PROPERTY: header-args :noweb yes :exports code :tangle no :exports none
|
||||
#+PROPERTY: header-args:sh :tangle ~/.config/neofetch/config.conf.bak :exports code :noweb yes
|
||||
#+STARTUP: content
|
||||
# #+INFOJS_OPT: view:plain home:https://phundrak.com/config toc:t
|
||||
#+INFOJS_OPT: up:https://phundrak.com/config/neofetch
|
||||
|
||||
* Introduction
|
||||
:PROPERTIES:
|
||||
|
@ -5,20 +5,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the Picom configuration of Phundrak" />
|
||||
#+PROPERTY: header-args:conf :exports code :tangle ~/.config/picom/picom.conf
|
||||
|
||||
* Table of Contents :TOC:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-71903d94
|
||||
:END:
|
||||
- [[#introduction][Introduction]]
|
||||
- [[#shadows][Shadows]]
|
||||
- [[#deprecated-options][Deprecated options]]
|
||||
- [[#rounded-corners][Rounded corners]]
|
||||
- [[#fading][Fading]]
|
||||
- [[#transparency-and-opacity][Transparency and opacity]]
|
||||
- [[#background-blurring][Background blurring]]
|
||||
- [[#general-settings][General settings]]
|
||||
- [[#glx-backend-specific-options][GLX backend-specific options]]
|
||||
|
||||
* Introduction
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Introduction-a5320326
|
||||
@ -292,7 +278,6 @@
|
||||
opacity-rule = [
|
||||
"85:class_g = 'Polybar'",
|
||||
# "55:class_g *?= 'Rofi'",
|
||||
"80:class_g = 'St'",
|
||||
];
|
||||
#+END_SRC
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# -*- org-confirm-babel-evaluate: nil -*-
|
||||
#+TITLE: Polybar config
|
||||
#+TITLE: Polybar config (Deprecated)
|
||||
#+setupfile: headers
|
||||
#+OPTIONS: auto-id:t
|
||||
#+HTML_HEAD_EXTRA: <meta name="description" content="Phundrak's polybar config" />
|
||||
@ -9,54 +9,15 @@
|
||||
#+PROPERTY: header-args:python :results output
|
||||
#+PROPERTY: header-args:emacs-lisp :tangle no :exports none
|
||||
#+PROPERTY: header-args:conf-windows :tangle ~/.config/polybar/config :noweb yes :exports code
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC_4_gh:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-21ef28f2
|
||||
:END:
|
||||
- [[#presentation][Presentation]]
|
||||
- [[#general-settings][General settings]]
|
||||
- [[#colors-declaration-for-polybar][Colors declaration for polybar]]
|
||||
- [[#declaration-of-the-bars][Declaration of the bars]]
|
||||
- [[#top-bar-declaration][Top bar declaration]]
|
||||
- [[#positioning][Positioning]]
|
||||
- [[#colors-and-display][Colors and display]]
|
||||
- [[#fonts-and-locale][Fonts and locale]]
|
||||
- [[#modules][Modules]]
|
||||
- [[#bottom-bar-declaration][Bottom bar declaration]]
|
||||
- [[#positioning-1][Positioning]]
|
||||
- [[#colors-and-display-1][Colors and display]]
|
||||
- [[#fonts-and-locale-1][Fonts and locale]]
|
||||
- [[#modules-1][Modules]]
|
||||
- [[#modules-2][Modules]]
|
||||
- [[#hardware][Hardware]]
|
||||
- [[#battery][Battery]]
|
||||
- [[#filesystem][Filesystem]]
|
||||
- [[#xbacklight][Xbacklight]]
|
||||
- [[#acpi-backlight][ACPI backlight]]
|
||||
- [[#cpu][CPU]]
|
||||
- [[#memory][Memory]]
|
||||
- [[#wlan][Wlan]]
|
||||
- [[#ethernet][Ethernet]]
|
||||
- [[#volume][Volume]]
|
||||
- [[#temperature][Temperature]]
|
||||
- [[#software][Software]]
|
||||
- [[#window-title][Window title]]
|
||||
- [[#i3][i3]]
|
||||
- [[#workspace-icons][Workspace icons]]
|
||||
- [[#focused-workspaces][Focused workspaces]]
|
||||
- [[#visible-workspaces][Visible workspaces]]
|
||||
- [[#unfocused-workspaces][Unfocused workspaces]]
|
||||
- [[#urgent-workspaces][Urgent workspaces]]
|
||||
- [[#mpd][Mpd]]
|
||||
- [[#date][Date]]
|
||||
- [[#footnotes][Footnotes]]
|
||||
|
||||
* Presentation
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Presentation-4e723f32
|
||||
:END:
|
||||
*Before proceeding, be aware that I deprecated this polybar config on August
|
||||
22nd, 2020, meaning I won’t update it anymore unless I use it again some day
|
||||
in the future. I will keep it on my website though.*
|
||||
|
||||
Polybar is a desktop utility for displaying various information in form of
|
||||
bars for GNU/Linux systems. It is often used as a replacement for native bars
|
||||
available in window managers, such as i3. In my case, I use two instances of
|
||||
|
@ -5,18 +5,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's Rust format config" />
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the Rust format config file of Phundrak" />
|
||||
#+PROPERTY: header-args:toml :tangle ~/.rustfmt.toml
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-1f5472ca
|
||||
:END:
|
||||
- [[#introduction][Introduction]]
|
||||
- [[#general-settings][General settings]]
|
||||
- [[#structs-and-enums][Structs and Enums]]
|
||||
- [[#comments][Comments]]
|
||||
- [[#documentation][Documentation]]
|
||||
- [[#whitespace][Whitespace]]
|
||||
|
||||
* Introduction
|
||||
:PROPERTIES:
|
||||
|
@ -6,133 +6,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak’s Spacemacs Configuration" />
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the Spacemacs configuration of Phundrak" />
|
||||
#+PROPERTY: header-args: :mkdirp yes
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-baac29af
|
||||
:END:
|
||||
- [[#introduction][Introduction]]
|
||||
- [[#spacemacs-layers-and-packages][Spacemacs layers and packages]]
|
||||
- [[#general-configuration][General configuration]]
|
||||
- [[#package-management][Package management]]
|
||||
- [[#layers][Layers]]
|
||||
- [[#checkers][Checkers]]
|
||||
- [[#completion][Completion]]
|
||||
- [[#email][Email]]
|
||||
- [[#emacs][Emacs]]
|
||||
- [[#file-trees][File trees]]
|
||||
- [[#fonts][Fonts]]
|
||||
- [[#fun][Fun]]
|
||||
- [[#internationalization][Internationalization]]
|
||||
- [[#programming-languages][Programming languages]]
|
||||
- [[#domain-specific-dsls][Domain-specific (DSLs)]]
|
||||
- [[#frameworks][Frameworks]]
|
||||
- [[#general-purpose][General-purpose]]
|
||||
- [[#readers][Readers]]
|
||||
- [[#epub-and-pdf-readers][Epub and Pdf readers]]
|
||||
- [[#elfeed][Elfeed]]
|
||||
- [[#version-control][Version control]]
|
||||
- [[#themes][Themes]]
|
||||
- [[#tools][Tools]]
|
||||
- [[#web-services][Web Services]]
|
||||
- [[#custom-layers][Custom layers]]
|
||||
- [[#init][Init]]
|
||||
- [[#emacs-with-pdumper][Emacs with pdumper]]
|
||||
- [[#package-managment-and-updates][Package managment and updates]]
|
||||
- [[#elpa-repository][Elpa repository]]
|
||||
- [[#spacelpa-repository][Spacelpa repository]]
|
||||
- [[#editing-style][Editing style]]
|
||||
- [[#spacemacs-home-configuration][Spacemacs home configuration]]
|
||||
- [[#default-major-modes][Default major modes]]
|
||||
- [[#visual-configuration][Visual configuration]]
|
||||
- [[#themes-1][Themes]]
|
||||
- [[#other-on-screen-elements][Other on-screen elements]]
|
||||
- [[#appearance-of-emacs-frames][Appearance of Emacs frames]]
|
||||
- [[#spacemacs-leader-keys-and-shortcuts][Spacemacs leader keys and shortcuts]]
|
||||
- [[#layouts][Layouts]]
|
||||
- [[#files-related-settings][Files-related settings]]
|
||||
- [[#emacs-server][Emacs server]]
|
||||
- [[#miscellaneous][Miscellaneous]]
|
||||
- [[#user-initialization][User Initialization]]
|
||||
- [[#user-configuration][User Configuration]]
|
||||
- [[#custom-functions][Custom functions]]
|
||||
- [[#phundrakadd-all-to-list][~phundrak/add-all-to-list~]]
|
||||
- [[#phundrakfill-paragraph][~phundrak/fill-paragraph~]]
|
||||
- [[#terminal-here-default-terminal-command][~terminal-here-default-terminal-command~]]
|
||||
- [[#asm-configuration][ASM configuration]]
|
||||
- [[#cc][C/C++]]
|
||||
- [[#dart-configuration][Dart configuration]]
|
||||
- [[#dired][Dired]]
|
||||
- [[#emacs-lisp][Emacs Lisp]]
|
||||
- [[#enable-eldoc-mode-by-default][Enable ~eldoc-mode~ by default]]
|
||||
- [[#phundrakwrite-to-buffer][~phundrak/write-to-buffer~]]
|
||||
- [[#eshell][Eshell]]
|
||||
- [[#environment-variables][Environment variables]]
|
||||
- [[#custom-functions-1][Custom functions]]
|
||||
- [[#redirect-text-editors-to-emacs][Redirect text editors to Emacs]]
|
||||
- [[#aliases][Aliases]]
|
||||
- [[#system-monitoring][System monitoring]]
|
||||
- [[#system-management-packages-and-services][System management (packages and services)]]
|
||||
- [[#other][Other]]
|
||||
- [[#typos][Typos]]
|
||||
- [[#visual-commands][Visual commands]]
|
||||
- [[#eshell-theme][Eshell theme]]
|
||||
- [[#file-extensions][File extensions]]
|
||||
- [[#lsp][LSP]]
|
||||
- [[#mu4e][Mu4e]]
|
||||
- [[#miscellaneous-1][Miscellaneous]]
|
||||
- [[#evil][Evil]]
|
||||
- [[#default-modes][Default modes]]
|
||||
- [[#hooks][Hooks]]
|
||||
- [[#pinentry][Pinentry]]
|
||||
- [[#prettified-symbols][Prettified symbols]]
|
||||
- [[#twittering-mode][Twittering mode]]
|
||||
- [[#wttrin-cities][Wttr.in cities]]
|
||||
- [[#nov-mode][Nov-mode]]
|
||||
- [[#projectile][Projectile]]
|
||||
- [[#python][Python]]
|
||||
- [[#org-mode][Org-mode]]
|
||||
- [[#custom-org-mode-functions][Custom org-mode functions]]
|
||||
- [[#custom-and-unique-headings-id][Custom and unique headings ID]]
|
||||
- [[#org-babel-languages][Org babel languages]]
|
||||
- [[#org-variables][Org variables]]
|
||||
- [[#user-information][User information]]
|
||||
- [[#visual-settings][Visual settings]]
|
||||
- [[#org-behavior][Org behavior]]
|
||||
- [[#miscellaneous-2][Miscellaneous]]
|
||||
- [[#org-files-exports][Org files exports]]
|
||||
- [[#custom-latex-formats][Custom LaTeX formats]]
|
||||
- [[#org-agenda][Org agenda]]
|
||||
- [[#org-capture][Org capture]]
|
||||
- [[#emails][Emails]]
|
||||
- [[#journal][Journal]]
|
||||
- [[#notes][Notes]]
|
||||
- [[#protocol][Protocol]]
|
||||
- [[#resources][Resources]]
|
||||
- [[#tasks][Tasks]]
|
||||
- [[#computers-and-stuff][Computers and stuff]]
|
||||
- [[#health][Health]]
|
||||
- [[#birthdays][Birthdays]]
|
||||
- [[#events][Events]]
|
||||
- [[#links][Links]]
|
||||
- [[#general][General]]
|
||||
- [[#youtube][YouTube]]
|
||||
- [[#org-projects][Org projects]]
|
||||
- [[#configuration-website][Configuration website]]
|
||||
- [[#linguistics-website][Linguistics website]]
|
||||
- [[#rust][Rust]]
|
||||
- [[#scheme][Scheme]]
|
||||
- [[#shortcuts][Shortcuts]]
|
||||
- [[#applications][Applications]]
|
||||
- [[#comments][Comments]]
|
||||
- [[#files][Files]]
|
||||
- [[#multiple-cursors][Multiple cursors]]
|
||||
- [[#org-mode-1][Org-mode]]
|
||||
- [[#toggle][Toggle]]
|
||||
- [[#text][Text]]
|
||||
- [[#yadm][Yadm]]
|
||||
- [[#footnotes][Footnotes]]
|
||||
|
||||
* Introduction
|
||||
:PROPERTIES:
|
||||
@ -921,7 +794,7 @@
|
||||
value is a list of themes, the first of the list is loaded when Spacemacs
|
||||
starts. The user can press =SPC T n= to cycle to the next theme in the list.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq-default dotspacemacs-themes '(doom-vibrant doom-nord spacemacs-dark doom-one
|
||||
(setq-default dotspacemacs-themes '(doom-nord doom-vibrant spacemacs-dark doom-one
|
||||
doom-opera doom-dracula doom-molokai doom-peacock
|
||||
doom-sourcerer doom-spacegrey kaolin-dark
|
||||
kaolin-aurora kaolin-bubblegum kaolin-galaxy
|
||||
@ -1118,7 +991,7 @@
|
||||
transparency level of a frame when it’s active or selected. The default
|
||||
value is ~90~.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq-default dotspacemacs-active-transparency 95)
|
||||
(setq-default dotspacemacs-active-transparency 80)
|
||||
#+END_SRC
|
||||
|
||||
Similarly, you can set a value from 0 to 100 in increasing opacity which
|
||||
@ -1332,6 +1205,7 @@
|
||||
:header-args:emacs-lisp: :tangle ~/.config/emacs/private/user-init.el :exports code :results silent
|
||||
:CUSTOM_ID: User_Initialization-e0d21089
|
||||
:END:
|
||||
|
||||
While Emacs and especially Spacemacs loads, I want it to initialize some
|
||||
elements and load some packages. First of all, I want it to load my private
|
||||
Emacs config file:
|
||||
@ -2438,6 +2312,12 @@
|
||||
(setq org-hide-macro-markers t)
|
||||
#+END_SRC
|
||||
|
||||
I also have an issue where small dots precede my org headers. Let’s fix that:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-hide-leading-stars nil
|
||||
org-superstar-leading-bullet ?\s)
|
||||
#+END_SRC
|
||||
|
||||
**** Org behavior
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: User_Configuration-Org-mode-Org_variables-Org_behavior-0319db38
|
||||
@ -3329,14 +3209,14 @@
|
||||
And here are my shortcuts for opening config files:
|
||||
#+NAME: config-files-open-shortcuts
|
||||
| Shortcut | Name | File |
|
||||
|----------+---------------+----------------------------|
|
||||
|----------+------------------+-------------------------------|
|
||||
| ofc | config files | |
|
||||
| ofca | awesome.org | ~/org/config/awesome.org |
|
||||
| ofcb | bin.org | ~/org/config/bin.org |
|
||||
| ofce | spacemacs.org | ~/org/config/spacemacs.org |
|
||||
| ofcf | fish.org | ~/org/config/fish.org |
|
||||
| ofci | i3.org | ~/org/config/i3.org |
|
||||
| ofcI | index.org | ~/org/config/index.org |
|
||||
| ofci | index.org | ~/org/config/index.org |
|
||||
| ofcI | installation.org | ~/org/config/installation.org |
|
||||
| ofcp | polybar.org | ~/org/config/polybar.org |
|
||||
| ofcP | picom.org | ~/org/config/picom.org |
|
||||
| ofcr | yadm README | ~/README.org |
|
||||
|
@ -5,19 +5,6 @@
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:title" content="Phundrak's tmux config" />
|
||||
#+HTML_HEAD_EXTRA: <meta property="og:description" content="Description of the tmux config file of Phundrak" />
|
||||
#+PROPERTY: header-args :tangle ~/.tmux.conf.local
|
||||
#+STARTUP: content
|
||||
|
||||
* Table of Contents :TOC_4_gh:noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Table_of_Contents-6af11648
|
||||
:END:
|
||||
- [[#presentation][Presentation]]
|
||||
- [[#windows-and-pane-creation][Windows and pane creation]]
|
||||
- [[#display][Display]]
|
||||
- [[#colors-and-style][Colors and style]]
|
||||
- [[#window-status-bar][Window status bar]]
|
||||
- [[#clipboard][Clipboard]]
|
||||
- [[#user-customizations][User customizations]]
|
||||
|
||||
* Presentation
|
||||
:PROPERTIES:
|
||||
|
Loading…
Reference in New Issue
Block a user