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:
2020-08-22 16:08:44 +02:00
parent 8a4feff7bf
commit a958ee8a60
17 changed files with 155 additions and 687 deletions

View File

@@ -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 doesnt 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