diff --git a/.config/ags/config.js b/.config/ags/config.js index 72ed3d8..7dec1d1 100644 --- a/.config/ags/config.js +++ b/.config/ags/config.js @@ -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(), ], }) diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc index cc6b610..a369b34 100644 --- a/.config/tridactyl/tridactylrc +++ b/.config/tridactyl/tridactylrc @@ -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)) diff --git a/home/modules/hyprland.nix b/home/modules/hyprland.nix index 6b54710..64d2815 100644 --- a/home/modules/hyprland.nix +++ b/home/modules/hyprland.nix @@ -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" diff --git a/pkgs/base-packages.nix b/pkgs/base-packages.nix index 34f564f..6e25584 100644 --- a/pkgs/base-packages.nix +++ b/pkgs/base-packages.nix @@ -22,6 +22,7 @@ guile-json guile-lib scsh + radicle-cli # unrar p7zip zip diff --git a/scripts/empv b/scripts/empv new file mode 100755 index 0000000..ec8acb4 --- /dev/null +++ b/scripts/empv @@ -0,0 +1,3 @@ +#!/bin/sh + +emacsclient -e "(message (car server-eval-args-left))" $1