Add aliases, update rofi config and add rofi spotify mode launch script

This commit is contained in:
Antonin Ruan
2025-08-19 15:57:09 +02:00
parent 009dbc73ae
commit 568b05f1e5
4 changed files with 58 additions and 2 deletions

View File

@@ -24,7 +24,12 @@ alias which-command=whence
alias copy="xclip -selection clipboard" alias copy="xclip -selection clipboard"
alias mkcdir='f() { md $1; cd $1 }; f' alias mkcdir='f() { md $1; cd $1 }; f'
alias sctl='systemctl'
alias userctl='systemctl --user'
alias uctl='userctl'
alias kdiff="kitten diff" alias kdiff="kitten diff"
alias kssh="kitten ssh" alias kssh="kitten ssh"
alias gf2="/usr/bin/gf2 &> /dev/null &" alias gf2="/usr/bin/gf2 &> /dev/null &"
alias qemu-monitor="telnet 127.0.0.1 7777" alias qemu-monitor="telnet 127.0.0.1 7777"
alias sudo="sudo "

View File

@@ -11,6 +11,7 @@ configuration {
window-format: "{w}{t}"; window-format: "{w}{t}";
font: "JetBrainsMono 15"; font: "JetBrainsMono 15";
icon-theme: "Colloid"; icon-theme: "Colloid";
ssh-client: "kitten ssh";
filebrowser { filebrowser {
directory: "~/"; directory: "~/";
@@ -18,6 +19,10 @@ configuration {
directories-first: true; directories-first: true;
show-hidden: false; show-hidden: false;
} }
kb-accept-alt: "";
kb-custom-1: "Shift+Return";
} }
@theme "~/.config/rofi/themes/breeze-dracula.rasi" //@theme "~/.config/rofi/themes/breeze-dracula.rasi"
@theme "~/.config/rofi/themes/dmenu.rasi"

View File

@@ -0,0 +1,43 @@
/**
* ROFI Color theme
* User: Qball
* Copyright: Dave Davenport
*/
* {
background-color: Black;
border-color: White;
text-color: White;
font: "Iosevka 16";
}
window {
anchor: south;
location: south;
width: 100%;
padding: 4px;
children: [ horibox ];
}
horibox {
orientation: horizontal;
children: [ prompt, entry, listview ];
}
listview {
layout: horizontal;
spacing: 5px;
lines: 100;
}
entry {
expand: false;
width: 10em;
}
element {
padding: 0px 2px;
}
element selected {
background-color: SteelBlue;
}
element-text, element-icon {
background-color: inherit;
text-color: inherit;
}

View File

@@ -0,0 +1,3 @@
#!/bin/sh
rofi -modes "spotify" -show spotify -matching "glob" -normalize-match