adding ma things

This commit is contained in:
Chris Cochrun 2024-07-02 13:55:44 -05:00
parent 8fa3766584
commit 2273ff5233
5 changed files with 16 additions and 9 deletions

View file

@ -17,6 +17,9 @@ function map_workspaces(id) {
case 2: case 2:
return Widget.Label(""); return Widget.Label("");
break; break;
case "browse":
return Widget.Label("");
break;
case 3: case 3:
return Widget.Label("󰈙"); return Widget.Label("󰈙");
break; break;
@ -172,7 +175,7 @@ function Bar(monitor = 0) {
App.config({ App.config({
style: css, style: css,
windows: [ windows: [
Bar(laptop ? 0 : 0), // can be instantiated for each monitor Bar(laptop ? 0 : 2), // can be instantiated for each monitor
NotificationPopups(), NotificationPopups(),
], ],
}) })

View file

@ -61,7 +61,7 @@ command org-capture composite get_current_url | js -p tri.excmds.exclaim_quiet('
"" Unbind this key to rebind it later "" Unbind this key to rebind it later
unbind v unbind v
command mpv js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --no-terminal' + '${url}')) command mpv js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('empv ' + '${url}'))
command torrent js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('transadd ' + url)) command torrent js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('transadd ' + url))

View file

@ -96,10 +96,10 @@ in
"HDMI-A-1,transform,1" "HDMI-A-1,transform,1"
]; ];
workspace = [ workspace = [
"1,monitor:eDP-1,1,default:true" "1,name:code,monitor:eDP-1,1,default:true,persistent:true"
"2,monitor:HDMI-A-1,2,default:true" "2,name:browse,monitor:HDMI-A-1,default:true,persistent:true"
"9,monitor:DP-2,9,gapsout:0,rounding:false,default:true" "9,name:monitor,monitor:DP-2,gapsout:0,rounding:false,default:true,persistent:true"
"1,monitor:DP-1,1,default:true" "1,monitor:DP-1,1,default:true,persistent:true"
"special,monitor:DP-1,1,default:true" "special,monitor:DP-1,1,default:true"
]; ];
input = { input = {
@ -201,7 +201,7 @@ in
# example window rules # example window rules
# for windows named/classed as abc and xyz # for windows named/classed as abc and xyz
windowrule = [ windowrule = [
"opaque,firefox" "opaque,ff"
# if !laptop then "workspace 1,mpv" # if !laptop then "workspace 1,mpv"
"float,dolphin" "float,dolphin"
"float,nm-tray" "float,nm-tray"
@ -212,8 +212,8 @@ in
"center,mpv" "center,mpv"
"opaque,mpv" "opaque,mpv"
"float,pulsemixer" "float,pulsemixer"
"workspace ${if laptop then "2" else "1"},firefox" "workspace 2,ff"
"workspace ${if laptop then "1" else "2"},emacs" "workspace 1,emacs"
"float,btop" "float,btop"
"size 70% 70%,btop" "size 70% 70%,btop"
"center,btop" "center,btop"

View file

@ -22,6 +22,7 @@
guile-json guile-json
guile-lib guile-lib
scsh scsh
radicle-cli
# unrar # unrar
p7zip p7zip
zip zip

3
scripts/empv Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
emacsclient -e "(message (car server-eval-args-left))" $1