Added go to emacs, refined some sway and doom config stuff
This commit is contained in:
@@ -142,7 +142,8 @@
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages
|
||||
'((emacs-lisp . t)
|
||||
(lisp . t)))
|
||||
(lisp . t)
|
||||
(go . t)))
|
||||
|
||||
(push '("conf-unix" . conf-unix) org-src-lang-modes))
|
||||
|
||||
@@ -154,5 +155,4 @@
|
||||
|
||||
(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 '("scm" . "src scheme"))
|
||||
(add-to-list 'org-structure-template-alist '("cl" . "src lisp")))
|
||||
(add-to-list 'org-structure-template-alist '("go" . "src go")))
|
||||
|
||||
@@ -25,9 +25,9 @@ bindsym $mod+Shift+g exec grimshot save area
|
||||
bindsym $mod+Mod1+g exec grimshot save output
|
||||
bindsym $mod+Ctrl+g exec grimshot save window
|
||||
|
||||
set $opacity 0.98
|
||||
for_window [class=".*"] opacity $opacity
|
||||
for_window [app_id=".*"] opacity $opacity
|
||||
# set $opacity 0.98
|
||||
# for_window [class=".*"] opacity $opacity
|
||||
# for_window [app_id=".*"] opacity $opacity
|
||||
|
||||
# Window Borders
|
||||
default_border none
|
||||
@@ -64,10 +64,10 @@ exec_always wlsunset -lsd 47.6, -122.3 -t 3200 -T 6500
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||
exec swayidle -w \
|
||||
timeout 600 'swaylock -f' \
|
||||
timeout 1800 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f'
|
||||
# exec swayidle -w \
|
||||
# timeout 600 'swaylock -f' \
|
||||
# timeout 1800 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
# before-sleep 'swaylock -f'
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t custom -m 'Do you wish to fully reload your Sway session?' -b 'Yes' 'swaymsg exit'
|
||||
@@ -101,10 +101,10 @@ input type:keyboard {
|
||||
# output eDP-1 pos 0 0 res 1920x1200
|
||||
# output DP-5 pos 3440 0 res 3440x1440
|
||||
output eDP-1 pos 0 0 res 1920x1200
|
||||
output HDMI-A-1 pos 1920 0 res 3440x1440
|
||||
output DP-5 pos 1920 0 res 3440x1440
|
||||
|
||||
# Wallpaper
|
||||
output HDMI-A-1 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
|
||||
|
||||
# Start a terminal
|
||||
|
||||
18
desktop.org
18
desktop.org
@@ -41,9 +41,9 @@ bindsym $mod+Ctrl+g exec grimshot save window
|
||||
#+end_src
|
||||
** Opacity
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
||||
set $opacity 0.98
|
||||
for_window [class=".*"] opacity $opacity
|
||||
for_window [app_id=".*"] opacity $opacity
|
||||
# set $opacity 0.98
|
||||
# for_window [class=".*"] opacity $opacity
|
||||
# for_window [app_id=".*"] opacity $opacity
|
||||
#+end_src
|
||||
** Borders and Gaps
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
||||
@@ -90,10 +90,10 @@ exec_always wlsunset -lsd 47.6, -122.3 -t 3200 -T 6500
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||
exec swayidle -w \
|
||||
timeout 600 'swaylock -f' \
|
||||
timeout 1800 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f'
|
||||
# exec swayidle -w \
|
||||
# timeout 600 'swaylock -f' \
|
||||
# timeout 1800 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
# before-sleep 'swaylock -f'
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t custom -m 'Do you wish to fully reload your Sway session?' -b 'Yes' 'swaymsg exit'
|
||||
@@ -132,10 +132,10 @@ input type:keyboard {
|
||||
# output eDP-1 pos 0 0 res 1920x1200
|
||||
# output DP-5 pos 3440 0 res 3440x1440
|
||||
output eDP-1 pos 0 0 res 1920x1200
|
||||
output HDMI-A-1 pos 1920 0 res 3440x1440
|
||||
output DP-5 pos 1920 0 res 3440x1440
|
||||
|
||||
# Wallpaper
|
||||
output HDMI-A-1 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
|
||||
#+end_src
|
||||
** Keybindings
|
||||
|
||||
@@ -170,7 +170,8 @@ Creates margins in Org mode to make it more pleasant to look at.
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages
|
||||
'((emacs-lisp . t)
|
||||
(lisp . t)))
|
||||
(lisp . t)
|
||||
(go . t)))
|
||||
|
||||
(push '("conf-unix" . conf-unix) org-src-lang-modes))
|
||||
|
||||
@@ -182,8 +183,7 @@ Creates margins in Org mode to make it more pleasant to look at.
|
||||
|
||||
(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 '("scm" . "src scheme"))
|
||||
(add-to-list 'org-structure-template-alist '("cl" . "src lisp")))
|
||||
(add-to-list 'org-structure-template-alist '("go" . "src go")))
|
||||
#+end_src
|
||||
** Dev
|
||||
#+begin_src emacs-lisp
|
||||
@@ -382,3 +382,5 @@ Creates margins in Org mode to make it more pleasant to look at.
|
||||
(default +bindings +smartparens))
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user