Merge branch 'master' of codeberg.org:opalvaults/opalfiles
This commit is contained in:
@@ -170,6 +170,7 @@
|
|||||||
(require 'org-tempo)
|
(require 'org-tempo)
|
||||||
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
||||||
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
||||||
|
(add-to-list 'org-structure-template-alist '("cl" . "src lisp"))
|
||||||
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
|
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
|
||||||
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
||||||
(add-to-list 'org-structure-template-alist '("clj" . "src clojure")))
|
(add-to-list 'org-structure-template-alist '("clj" . "src clojure")))
|
||||||
|
|||||||
@@ -104,8 +104,13 @@
|
|||||||
;;agda ; types of types of types of types...
|
;;agda ; types of types of types of types...
|
||||||
;;beancount ; mind the GAAP
|
;;beancount ; mind the GAAP
|
||||||
;;cc ; C > C++ == 1
|
;;cc ; C > C++ == 1
|
||||||
|
<<<<<<< HEAD
|
||||||
clojure ; java with a lisp
|
clojure ; java with a lisp
|
||||||
;;common-lisp ; if you've seen one lisp, you've seen them all
|
;;common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
|
=======
|
||||||
|
;;clojure ; java with a lisp
|
||||||
|
common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
|
>>>>>>> 47f02ddba8cf239172e5aa36884fa59360472389
|
||||||
;;coq ; proofs-as-programs
|
;;coq ; proofs-as-programs
|
||||||
;;crystal ; ruby at the speed of c
|
;;crystal ; ruby at the speed of c
|
||||||
;;csharp ; unity, .NET, and mono shenanigans
|
;;csharp ; unity, .NET, and mono shenanigans
|
||||||
|
|||||||
+78
-74
@@ -6,7 +6,7 @@ I prefer to use programs that I can extend the functionality of via configuratio
|
|||||||
|
|
||||||
* Sway
|
* Sway
|
||||||
*** Variables
|
*** Variables
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Directional Keys
|
# Directional Keys
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
set $down j
|
||||||
@@ -22,9 +22,8 @@ set $term alacritty
|
|||||||
# Application Launcher
|
# Application Launcher
|
||||||
set $menu killall wofi || wofi
|
set $menu killall wofi || wofi
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Keybindings
|
|
||||||
*** General
|
*** General
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Start a terminal
|
# Start a terminal
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
@@ -48,7 +47,7 @@ bindsym $mod+Shift+c reload
|
|||||||
bindsym $mod+Shift+x exec swaymsg -r exit
|
bindsym $mod+Shift+x exec swaymsg -r exit
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Media/Brightness
|
*** Media/Brightness
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
## Volume
|
## Volume
|
||||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
@@ -69,13 +68,14 @@ bindsym XF86MonBrightnessUp exec light -A 10 && notify-send " Light" "Bright
|
|||||||
bindsym XF86MonBrightnessDown exec light -U 10 && notify-send " Light" "Brightness: $(light)%" --hint="int:value:$(light)"
|
bindsym XF86MonBrightnessDown exec light -U 10 && notify-send " Light" "Brightness: $(light)%" --hint="int:value:$(light)"
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Navigation & Focus
|
*** Navigation & Focus
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Moving around:
|
# Moving around:
|
||||||
# Move your focus around
|
# Move your focus around
|
||||||
bindsym $mod+$left focus left
|
bindsym $mod+$left focus left
|
||||||
bindsym $mod+$down focus down
|
bindsym $mod+$down focus down
|
||||||
bindsym $mod+$up focus up
|
bindsym $mod+$up focus up
|
||||||
bindsym $mod+$right focus right
|
bindsym $mod+$right focus right
|
||||||
|
|
||||||
# Or use $mod+[up|down|left|right]
|
# Or use $mod+[up|down|left|right]
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+Down focus down
|
||||||
@@ -87,6 +87,7 @@ bindsym $mod+Shift+$left move left
|
|||||||
bindsym $mod+Shift+$down move down
|
bindsym $mod+Shift+$down move down
|
||||||
bindsym $mod+Shift+$up move up
|
bindsym $mod+Shift+$up move up
|
||||||
bindsym $mod+Shift+$right move right
|
bindsym $mod+Shift+$right move right
|
||||||
|
|
||||||
# Ditto, with arrow keys
|
# Ditto, with arrow keys
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
bindsym $mod+Shift+Down move down
|
bindsym $mod+Shift+Down move down
|
||||||
@@ -94,7 +95,7 @@ bindsym $mod+Shift+Up move up
|
|||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Layout
|
*** Layout
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Layout stuff:
|
# Layout stuff:
|
||||||
#
|
#
|
||||||
# You can "split" the current object of your focus with
|
# You can "split" the current object of your focus with
|
||||||
@@ -106,7 +107,7 @@ bindsym $mod+v splitv
|
|||||||
# Switch the current container between different layout styles
|
# Switch the current container between different layout styles
|
||||||
bindsym $mod+s layout stacking
|
bindsym $mod+s layout stacking
|
||||||
bindsym $mod+w layout tabbed
|
bindsym $mod+w layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
# bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
# Make the current focus fullscreen
|
# Make the current focus fullscreen
|
||||||
bindsym $mod+f fullscreen
|
bindsym $mod+f fullscreen
|
||||||
@@ -155,87 +156,90 @@ mode "resize" {
|
|||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Screenshot
|
*** Screenshot
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Screenshot (Grimshot)
|
# Screenshot (Grimshot)
|
||||||
|
|
||||||
|
# Captures the currently active window
|
||||||
bindsym $mod+g exec grimshot save active
|
bindsym $mod+g exec grimshot save active
|
||||||
|
# Allows manually selecting a rectangular region
|
||||||
bindsym $mod+Shift+g exec grimshot save area
|
bindsym $mod+Shift+g exec grimshot save area
|
||||||
|
# Captures currently active output
|
||||||
bindsym $mod+Mod1+g exec grimshot save output
|
bindsym $mod+Mod1+g exec grimshot save output
|
||||||
|
# Allows manually selecting a single window
|
||||||
bindsym $mod+Ctrl+g exec grimshot save window
|
bindsym $mod+Ctrl+g exec grimshot save window
|
||||||
|
# Screenshot (Grimshot)
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Swaynag
|
*** Swaynag
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Turn the system off
|
# Turn the system off
|
||||||
bindsym $mod+Shift+e exec swaynag -t custom -m 'What action would you like to perform?' -b 'Shutdown' 'poweroff' -b 'Restart' 'poweroff --reboot' -b 'Suspend' 'systemctl suspend'
|
bindsym $mod+Shift+e exec swaynag -t custom -m 'What action would you like to perform?' -b 'Shutdown' 'poweroff' -b 'Restart' 'poweroff --reboot' -b 'Suspend' 'systemctl suspend'
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Autostart
|
*** Autostart
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Notifications
|
# Notifications
|
||||||
exec_always --no-startup-id dunst
|
exec_always --no-startup-id dunst
|
||||||
|
|
||||||
# Clamshell Mode Script
|
# Wlsunset (Night Light)
|
||||||
exec_always ~/dotfiles/.config/sway/clamshell.sh
|
exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500
|
||||||
|
|
||||||
# flash focus
|
# Clamshell Mode Script
|
||||||
exec --no-startup-id flashfocus
|
exec_always ~/.config/sway/clamshell.sh
|
||||||
|
|
||||||
# udiskie - auto usb mounting
|
# udiskie - auto usb mounting
|
||||||
exec --no-startup-id /usr/bin/udiskie
|
exec --no-startup-id /usr/bin/udiskie
|
||||||
|
|
||||||
# polkit
|
# polkit
|
||||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
#exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
# Network Manager tray applet
|
# Network Manager tray applet
|
||||||
exec /usr/bin/nm-applet --indicator
|
exec /usr/bin/nm-applet --indicator
|
||||||
|
|
||||||
# Bluetooth manager tray applet
|
# Keepassxc
|
||||||
exec /usr/bin/blueman-applet
|
for_window [class="KeepassXC"] {
|
||||||
|
move scratchpad
|
||||||
|
}
|
||||||
|
exec /usr/bin/keepassxc
|
||||||
|
|
||||||
# Gtk
|
# flash focus
|
||||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
exec_always flashfocus
|
||||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
|
||||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
|
||||||
|
|
||||||
# Wlsunset (Night Light)
|
|
||||||
exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Opacity
|
*** Opacity
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
set $opacity 0.98
|
set $opacity 0.98
|
||||||
for_window [class=".*"] opacity $opacity
|
for_window [class=".*"] opacity $opacity
|
||||||
for_window [app_id=".*"] opacity $opacity
|
for_window [app_id=".*"] opacity $opacity
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Borders/Gaps
|
*** Borders/Gaps
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Window Borders
|
# Window Borders
|
||||||
default_border none
|
default_border none
|
||||||
default_floating_border none
|
default_floating_border none
|
||||||
|
|
||||||
# Gaps
|
# Gaps
|
||||||
smart_gaps on
|
smart_gaps on
|
||||||
gaps inner 10
|
gaps inner 5
|
||||||
gaps outer 10
|
gaps outer 2
|
||||||
#+end_src
|
#+end_src
|
||||||
*** App Window Behavior
|
*** App Window Behavior
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
for_window [app_id="galendae"] floating enable, sticky enable, move position cursor, move down 35
|
for_window [app_id="galendae"] floating enable, sticky enable, move position cursor, move down 35
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Idle Behavior
|
*** Idle Behavior
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Idle configuration
|
# Idle configuration
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 90 'swaylock -f' \
|
timeout 120 'swaylock -f' \
|
||||||
# timeout 120 'swaymsg "output * dpms off"'
|
timeout 600 'swaymsg "output * dpms off"' \
|
||||||
# timeout 600 'swaymsg "output * dpms off"' \
|
timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
||||||
# resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
# before-sleep 'swaylock -f'
|
before-sleep 'swaylock -f'
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Input
|
*** Input
|
||||||
**** Keyboard
|
**** Keyboard
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
### Input configuration
|
### Input configuration
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
@@ -260,19 +264,19 @@ input type:keyboard {
|
|||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Mouse
|
**** Mouse
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Hide mouse cursor after inactivity
|
# Hide mouse cursor after inactivity
|
||||||
seat * hide_cursor 4000
|
seat * hide_cursor 10000
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Clamshell Mode
|
*** Clamshell Mode
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
set $laptop eDP-1
|
set $laptop eDP-1
|
||||||
bindswitch --reload --locked lid:on output $laptop disable
|
bindswitch --reload --locked lid:on output $laptop disable
|
||||||
bindswitch --reload --locked lid:off output $laptop enable
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
When reloading sway while using clamshell mode, the displays may reset (i.e. enable the displays). We use a bash script to mitigate this:
|
When reloading sway while using clamshell mode, the displays may reset (i.e. enable the displays). We use a bash script to mitigate this:
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/clamshell.sh :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/clamshell.sh :mkdirp yes
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
if grep -q open /proc/acpi/button/lid/LID/state; then
|
if grep -q open /proc/acpi/button/lid/LID/state; then
|
||||||
swaymsg output eDP-1 enable
|
swaymsg output eDP-1 enable
|
||||||
@@ -281,28 +285,24 @@ else
|
|||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Wallpaper & Monitor(s)
|
*** Wallpaper & Monitor(s)
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
|
#### WORK #####
|
||||||
# Monitors
|
# Monitors
|
||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
# output eDP-1 pos 0 0 res 1920x1200
|
output eDP-1 scale 1
|
||||||
# output DP-6 pos 1920 0 res 3440x1440
|
output eDP-1 pos 2560 0 res 1920x1080 bg ~/opalfiles/.config/wallpapers/priest.jpg fill
|
||||||
output HDMI-A-1 pos 0 0 res 2560x1440
|
output HDMI-A-1 scale 1
|
||||||
|
output HDMI-A-1 pos 0 0 res 2560x1440 bg ~/opalfiles/.config/wallpapers/priest.jpg fill
|
||||||
# Wallpaper
|
|
||||||
output DP-6 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402
|
|
||||||
output DP-5 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402
|
|
||||||
output eDP-1 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402
|
|
||||||
output HDMI-A-1 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402
|
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Workspaces
|
*** Workspaces
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Assign workspaces to numbers
|
# Assign workspaces to numbers
|
||||||
set $ws1 number 1
|
set $ws1 number 1
|
||||||
set $ws2 number 2
|
set $ws2 number 2
|
||||||
set $ws3 number 3
|
set $ws3 number 3
|
||||||
set $ws4 number 4
|
set $ws4 number 4
|
||||||
set $ws5 number 5
|
set $ws5 number 5
|
||||||
set $ws6 number 6
|
set $ws6 "work"
|
||||||
|
|
||||||
# Switch to workspace
|
# Switch to workspace
|
||||||
bindsym $mod+1 workspace $ws1
|
bindsym $mod+1 workspace $ws1
|
||||||
@@ -321,14 +321,14 @@ bindsym $mod+Shift+5 move container to workspace $ws5
|
|||||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Status Bar
|
*** Status Bar
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/sway/config :mkdirp yes
|
||||||
# Status Bar:
|
# Status Bar:
|
||||||
bar {
|
bar {
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Swaynag
|
* Swaynag
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/swaynag/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/swaynag/config :mkdirp yes
|
||||||
[custom]
|
[custom]
|
||||||
font=Iosevka 13
|
font=Iosevka 13
|
||||||
dismiss-button=Dismiss
|
dismiss-button=Dismiss
|
||||||
@@ -346,10 +346,10 @@ button-dismiss-gap=5
|
|||||||
button-margin-right=5
|
button-margin-right=5
|
||||||
button-padding=5
|
button-padding=5
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Swaylock
|
* Swaylock
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/swaylock/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/swaylock/config :mkdirp yes
|
||||||
# Image
|
# Image
|
||||||
image=/home/opal/dotfiles/.config/wallpapers/3.jpg
|
image=~/.config/wallpapers/wallpaper-town.jpg
|
||||||
scaling=fill
|
scaling=fill
|
||||||
|
|
||||||
# Indicator
|
# Indicator
|
||||||
@@ -361,7 +361,7 @@ show-failed-attempts
|
|||||||
#+end_src
|
#+end_src
|
||||||
* Waybar
|
* Waybar
|
||||||
*** waybar/config
|
*** waybar/config
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/waybar/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/waybar/config :mkdirp yes
|
||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
@@ -465,7 +465,7 @@ show-failed-attempts
|
|||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
*** waybar/style.css
|
*** waybar/style.css
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/waybar/style.css :mkdirp yes
|
#+begin_src shell :tangle ~/.config/waybar/style.css :mkdirp yes
|
||||||
\* {
|
\* {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@@ -610,8 +610,8 @@ window#waybar {
|
|||||||
#+end_src
|
#+end_src
|
||||||
* Wofi
|
* Wofi
|
||||||
*** wofi/config
|
*** wofi/config
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/wofi/config :mkdirp yes
|
#+begin_src shell :tangle ~/.config/wofi/config :mkdirp yes
|
||||||
style=/home/opal/dotfiles/.config/wofi/style.css
|
style=/home/opal/.config/wofi/style.css
|
||||||
show=drun
|
show=drun
|
||||||
width=1000
|
width=1000
|
||||||
height=300
|
height=300
|
||||||
@@ -624,7 +624,7 @@ prompt=Search...
|
|||||||
term=alacritty
|
term=alacritty
|
||||||
#+end_src
|
#+end_src
|
||||||
*** wofi/style.css
|
*** wofi/style.css
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/wofi/style.css :mkdirp yes
|
#+begin_src shell :tangle ~/.config/wofi/style.css :mkdirp yes
|
||||||
*{
|
*{
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
@@ -671,9 +671,11 @@ color: white;
|
|||||||
|
|
||||||
#text:selected {
|
#text:selected {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
* Dunst
|
* Dunst
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/dunst/dunstrc :mkdirp yes
|
#+begin_src shell :tangle ~/.config/dunst/dunstrc :mkdirp yes
|
||||||
[global]
|
[global]
|
||||||
monitor = 0
|
monitor = 0
|
||||||
follow = keyboard
|
follow = keyboard
|
||||||
@@ -729,7 +731,7 @@ timeout = 0
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Galendae (Calendar Popup)
|
* Galendae (Calendar Popup)
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/galendae-cal/galendae.conf
|
#+begin_src shell :tangle ~/.config/galendae-cal/galendae.conf
|
||||||
### WINDOW SETTINGS
|
### WINDOW SETTINGS
|
||||||
|
|
||||||
# Stick window to all workspaces: 0=No, 1=Yes
|
# Stick window to all workspaces: 0=No, 1=Yes
|
||||||
@@ -782,7 +784,7 @@ week_start=1
|
|||||||
#+end_src
|
#+end_src
|
||||||
* Qutebrowser
|
* Qutebrowser
|
||||||
|
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/qutebrowser/config.py
|
#+begin_src shell :tangle ~/.config/qutebrowser/config.py
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
config.load_autoconfig()
|
config.load_autoconfig()
|
||||||
|
|
||||||
@@ -980,6 +982,7 @@ dog-dig () { dog "$1" A AAAA MX NS TXT SOA }
|
|||||||
#+end_src
|
#+end_src
|
||||||
** zprofile
|
** zprofile
|
||||||
#+begin_src shell :tangle ~/opalfiles/.config/zsh/.zprofile :mkdirp yes
|
#+begin_src shell :tangle ~/opalfiles/.config/zsh/.zprofile :mkdirp yes
|
||||||
|
|
||||||
# Each new shell auto-imports all environment variables.
|
# Each new shell auto-imports all environment variables.
|
||||||
# Hence exporting needs to be done only once.
|
# Hence exporting needs to be done only once.
|
||||||
# Also, all non-login shells are descendants of a login shell.
|
# Also, all non-login shells are descendants of a login shell.
|
||||||
@@ -989,16 +992,17 @@ dog-dig () { dog "$1" A AAAA MX NS TXT SOA }
|
|||||||
# Only vars needed by external commands should be exported.
|
# Only vars needed by external commands should be exported.
|
||||||
# Note that you can export vars w/out assigning a value to them.
|
# Note that you can export vars w/out assigning a value to them.
|
||||||
|
|
||||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"
|
eval $(keychain --eval --quiet ry_ecdsa)
|
||||||
|
export XDG_CURRENT_DESKTOP=Unity
|
||||||
|
export BROWSER=/usr/bin/qutebrowser
|
||||||
|
export BW_SESSION="yWLHouCQOUDNWXOgK7eX/7lN4hvkqwyyjhfvhKlDwGjJOEpNX6G9dA/FLUqJ+QCpHxnGrVFDhmYjpGPmZZ+cnA=="
|
||||||
export XDG_CONFIG_HOME=~/.config
|
export XDG_CONFIG_HOME=~/.config
|
||||||
export XDG_CACHE_HOME=~/.cache
|
export XDG_CACHE_HOME=~/.cache
|
||||||
export XDG_DATA_HOME=~/.local/share
|
export XDG_DATA_HOME=~/.local/share
|
||||||
export XDG_STATE_HOME=~/.config/zsh
|
export XDG_STATE_HOME=~/.config/zsh
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export VISUAL=vim
|
export VISUAL=vim
|
||||||
export XDG_CURRENT_DESKTOP=Unity
|
|
||||||
eval $(gnome-keyring-daemon --start --components=ssh)
|
|
||||||
export SSH_AUTH_SOCK
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** zshenv
|
** zshenv
|
||||||
#+begin_src shell :tangle ~/opalfiles/.zshenv :mkdirp yes
|
#+begin_src shell :tangle ~/opalfiles/.zshenv :mkdirp yes
|
||||||
@@ -1050,7 +1054,7 @@ Programs that I've retired for one reason or another, and their configurations.
|
|||||||
#+begin_src shell
|
#+begin_src shell
|
||||||
# Autostart
|
# Autostart
|
||||||
# Background
|
# Background
|
||||||
exec_always --no-startup-id feh --bg-scale ~/dotfiles/.config/wallpapers/fog-wallpaper.jpg
|
exec_always --no-startup-id feh --bg-scale ~/.config/wallpapers/fog-wallpaper.jpg
|
||||||
|
|
||||||
# Redshift
|
# Redshift
|
||||||
exec_always --no-startup-id redshift
|
exec_always --no-startup-id redshift
|
||||||
@@ -1059,7 +1063,7 @@ exec_always --no-startup-id redshift
|
|||||||
exec_always --no-startup-id picom &
|
exec_always --no-startup-id picom &
|
||||||
|
|
||||||
# Turn Caps Lock into Escape because Caps Lock is useless unless you're a DB admin.
|
# Turn Caps Lock into Escape because Caps Lock is useless unless you're a DB admin.
|
||||||
exec_always --no-startup-id xmodmap ~/dotfiles/.config/xmodmap/xmodmap
|
exec_always --no-startup-id xmodmap ~/.config/xmodmap/xmodmap
|
||||||
|
|
||||||
# Set key repeat rate so text cursors move faster.
|
# Set key repeat rate so text cursors move faster.
|
||||||
exec_always --no-startup-id xset r rate 200 35
|
exec_always --no-startup-id xset r rate 200 35
|
||||||
@@ -1118,7 +1122,7 @@ bindsym $mod+Return exec alacritty
|
|||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+d exec rofi -show drun -columns 3 -theme ~/dotfiles/.config/rofi/config.rasi
|
bindsym $mod+d exec rofi -show drun -columns 3 -theme ~/.config/rofi/config.rasi
|
||||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||||
# installed.
|
# installed.
|
||||||
|
|||||||
@@ -212,6 +212,7 @@ Creates margins in Org mode to make it more pleasant to look at.
|
|||||||
(require 'org-tempo)
|
(require 'org-tempo)
|
||||||
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
||||||
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
||||||
|
(add-to-list 'org-structure-template-alist '("cl" . "src lisp"))
|
||||||
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
|
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
|
||||||
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
||||||
(add-to-list 'org-structure-template-alist '("clj" . "src clojure")))
|
(add-to-list 'org-structure-template-alist '("clj" . "src clojure")))
|
||||||
@@ -389,8 +390,13 @@ Rss reader
|
|||||||
;;agda ; types of types of types of types...
|
;;agda ; types of types of types of types...
|
||||||
;;beancount ; mind the GAAP
|
;;beancount ; mind the GAAP
|
||||||
;;cc ; C > C++ == 1
|
;;cc ; C > C++ == 1
|
||||||
|
<<<<<<< HEAD
|
||||||
clojure ; java with a lisp
|
clojure ; java with a lisp
|
||||||
;;common-lisp ; if you've seen one lisp, you've seen them all
|
;;common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
|
=======
|
||||||
|
;;clojure ; java with a lisp
|
||||||
|
common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
|
>>>>>>> 47f02ddba8cf239172e5aa36884fa59360472389
|
||||||
;;coq ; proofs-as-programs
|
;;coq ; proofs-as-programs
|
||||||
;;crystal ; ruby at the speed of c
|
;;crystal ; ruby at the speed of c
|
||||||
;;csharp ; unity, .NET, and mono shenanigans
|
;;csharp ; unity, .NET, and mono shenanigans
|
||||||
|
|||||||
Reference in New Issue
Block a user