From 9369342713c2922354ed3ba6e19e1e565b0d2765 Mon Sep 17 00:00:00 2001 From: Steve Ayerhart Date: Wed, 12 Aug 2020 22:17:09 -0400 Subject: [PATCH] wip --- Makefile | 0 guix/guixbook-pro.scm | 14 +++++---- sway/README.org | 70 +++++++++++++++++++++++++++++++++++++++++++ vimb/README.org | 2 +- 4 files changed, 79 insertions(+), 7 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/guix/guixbook-pro.scm b/guix/guixbook-pro.scm index 51db513..bb0b369 100644 --- a/guix/guixbook-pro.scm +++ b/guix/guixbook-pro.scm @@ -5,14 +5,16 @@ (bbbsd packages linux) (bbbsd packages firmware)) -(use-service-modules desktop xorg avahi dbus sound networking pm sddm ssh earlyloom security-token) +(use-service-modules desktop xorg avahi dbus sound networking pm sddm ssh security-token ) (use-package-modules bootloaders certs suckless wm gnome libusb ssh + version-control xdisorg xorg pulseaudio ssh web curl sqlite nss wget curl file linux bash) (define %guixbook-packages (cons* sway swaylock dmenu glibc-utf8-locales + pulseaudio git gvfs sqlite @@ -76,7 +78,7 @@ (display-server "wayland") (auto-login-user "steve"))) - (service gnome-desktop-service-type) + (screen-locker-service swaylock "swaylock") (simple-service 'mtp udev-service-type (list libmtp)) @@ -96,7 +98,7 @@ (service avahi-service-type) (udisks-service) (accountsservice-service) - (service colord-service-type) +; (service colord-service-type) (geoclue-service) (polkit-service) (elogind-service) @@ -104,16 +106,16 @@ (bluetooth-service #:auto-enable? #t) - (service gnome-keyring-service-type) +; (service gnome-keyring-service-type) (service pcscd-service-type) (service ntp-service-type) (service openssh-service-type) (service alsa-service-type) - (service pulseaudio-service-type) + ; (service pulseaudio-service-type) - (service earlyloom-service-type) +; (service earlyoom-service-type) %base-services)) diff --git a/sway/README.org b/sway/README.org index 9ea8734..6bff4bd 100644 --- a/sway/README.org +++ b/sway/README.org @@ -14,6 +14,64 @@ default_border pixel 0 default_floating_border normal #+end_src +** Layouts + Changing the container layout + #+begin_src conf + bindsym $mod+s layout stacking + bindsym $mod+w layout tabbed + bindsym $mod+e layout toggle split + #+end_src +** Focus + Change focus between tiling / floating windows + #+begin_src conf + bindsym $mod+space focus mode_toggle + #+end_src + Focus the parent container + #+begin_src conf + bindsym $mod+a focus parent + #+end_src +** Workspaces + Define name for default workspaces for which key bindings will be configured. + Use variables to avoid repeating the names in multiple places. + #+begin_src conf + set $ws1 "1" + set $ws2 "2" + set $ws3 "3" + set $ws4 "4" + set $ws5 "5" + set $ws6 "6" + set $ws7 "7" + set $ws8 "8" + set $ws9 "9" + set $ws10 "10" + #+end_src + Switching to workspaces + #+begin_src conf + bindsym $mod+1 workspace $ws1 + bindsym $mod+2 workspace $ws2 + bindsym $mod+3 workspace $ws3 + bindsym $mod+4 workspace $ws4 + bindsym $mod+5 workspace $ws5 + bindsym $mod+6 workspace $ws6 + bindsym $mod+7 workspace $ws7 + bindsym $mod+8 workspace $ws8 + bindsym $mod+9 workspace $ws9 + bindsym $mod+0 workspace $ws10 + #+end_src + Move focused container to workspace + #+begin_src conf + + bindsym $mod+Shift+1 move container to workspace $ws1 + bindsym $mod+Shift+2 move container to workspace $ws2 + bindsym $mod+Shift+3 move container to workspace $ws3 + bindsym $mod+Shift+4 move container to workspace $ws4 + bindsym $mod+Shift+5 move container to workspace $ws5 + bindsym $mod+Shift+6 move container to workspace $ws6 + bindsym $mod+Shift+7 move container to workspace $ws7 + bindsym $mod+Shift+8 move container to workspace $ws8 + bindsym $mod+Shift+9 move container to workspace $ws9 + bindsym $mod+Shift+0 move container to workspace $ws10 + #+end_src ** Input Configurations Swap `ctrl` for `caps lock` #+begin_src conf @@ -21,3 +79,15 @@ xkb_options ctrl:swapcaps } #+end_src + +** Theme + =class border background text indicator child-border= + #+begin_src conf + client.focused #c0c5ce #c0c5ce #1e1e1e #000000 #000000 + client.focused_inactive #000000 #232830 #6b0000 #000000 #000000 + client.unfocused #c0c5ce #2f3237 #6b6b6b #000000 #000000 + client.urgent #000000 #000000 #bbbbbb #000000 #000000 + client.placeholder #000000 #000000 #bbbbbb #000000 #000000 + + client.background #FFFFFF + #+end_src diff --git a/vimb/README.org b/vimb/README.org index 336532a..1b71f64 100644 --- a/vimb/README.org +++ b/vimb/README.org @@ -10,7 +10,7 @@ ** General #+begin_src conf set history-max-items=30000 - set home-page=https:// + set home-page=https://float.bonerbonerboner.com set webgl=true set incsearch=true set offline-cache=true