Compare commits
4 commits
5eca39a8d3
...
5d3a651a25
| Author | SHA1 | Date | |
|---|---|---|---|
| 5d3a651a25 | |||
| 4dcb28aee7 | |||
| 1a5206a715 | |||
| 3c5e483577 |
5 changed files with 10 additions and 19 deletions
|
|
@ -37,7 +37,7 @@ DEB_PKGS=(
|
||||||
imagemagick
|
imagemagick
|
||||||
inkscape
|
inkscape
|
||||||
jq
|
jq
|
||||||
jupyter-notebook
|
jupyterlab
|
||||||
keepassxc
|
keepassxc
|
||||||
libnss-mdns
|
libnss-mdns
|
||||||
libyajl-doc
|
libyajl-doc
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ input type:touchpad {
|
||||||
# Start a terminal
|
# Start a terminal
|
||||||
bindsym $launch+Return exec $term
|
bindsym $launch+Return exec $term
|
||||||
bindsym $launch+t exec $term zellij attach --create main
|
bindsym $launch+t exec $term zellij attach --create main
|
||||||
|
bindsym $launch+j exec $term zellij --layout jupyter attach --create jupyter
|
||||||
|
|
||||||
# Start Emacs
|
# Start Emacs
|
||||||
bindsym $launch+e exec emacsclient --alternate-editor "" --create-frame
|
bindsym $launch+e exec emacsclient --alternate-editor "" --create-frame
|
||||||
|
|
@ -76,9 +77,6 @@ input type:touchpad {
|
||||||
bindsym $launch+f exec firefox --private-window
|
bindsym $launch+f exec firefox --private-window
|
||||||
bindsym $launch+Shift+f exec firefox
|
bindsym $launch+Shift+f exec firefox
|
||||||
|
|
||||||
# Switch WiFi network
|
|
||||||
bindsym $launch+Equal exec .wifi-wizard
|
|
||||||
|
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $wm_mod+q kill
|
bindsym $wm_mod+q kill
|
||||||
|
|
||||||
|
|
|
||||||
7
.config/zellij/layouts/jupyter.kdl
Normal file
7
.config/zellij/layouts/jupyter.kdl
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
layout {
|
||||||
|
pane {
|
||||||
|
command "jupyter"
|
||||||
|
args "lab" "--notebook-dir" "/home/ohad/Projects/notebooks/"
|
||||||
|
cwd "/home/ohad/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
#! /usr/bin/sh
|
|
||||||
|
|
||||||
ssid=$(nmcli --fields SSID,RATE,SIGNAL,BARS device wifi list | fuzzel --dmenu --width 40 | awk '{print $1}')
|
|
||||||
retval=$?
|
|
||||||
if [ -z "${ssid}" ]; then
|
|
||||||
exit $retval
|
|
||||||
fi
|
|
||||||
|
|
||||||
password=$(fuzzel --dmenu --password)
|
|
||||||
retval=$?
|
|
||||||
if [ $retval -ne 0 ]; then
|
|
||||||
exit $retval
|
|
||||||
fi
|
|
||||||
|
|
||||||
nmcli device wifi connect "${ssid}" password "${password}"
|
|
||||||
|
|
@ -4,4 +4,5 @@ set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
|
||||||
cd "$1"
|
cd "$1"
|
||||||
|
eval "$(direnv export bash)"
|
||||||
"${@:2}"
|
"${@:2}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue