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:
return Widget.Label("");
break;
case "browse":
return Widget.Label("");
break;
case 3:
return Widget.Label("󰈙");
break;
@ -172,7 +175,7 @@ function Bar(monitor = 0) {
App.config({
style: css,
windows: [
Bar(laptop ? 0 : 0), // can be instantiated for each monitor
Bar(laptop ? 0 : 2), // can be instantiated for each monitor
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 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))

View file

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

View file

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

3
scripts/empv Executable file
View file

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