Compare commits

..

4 commits

5 changed files with 10 additions and 19 deletions

View file

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

View file

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

View file

@ -0,0 +1,7 @@
layout {
pane {
command "jupyter"
args "lab" "--notebook-dir" "/home/ohad/Projects/notebooks/"
cwd "/home/ohad/"
}
}

View file

@ -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}"

View file

@ -4,4 +4,5 @@ set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
cd "$1" cd "$1"
eval "$(direnv export bash)"
"${@:2}" "${@:2}"