6e5a5ccb |
1 | # danixland-rofi |
2 | |
ffb4cf73 |
3 | A set of scripts for my personal Rofi theme. Follow the instructions and it should be pretty much drop and play, but it might need a little editing if your screen size is different or if you don't like the color scheme. The files are imported one on top of the other in a way similiar to Sass, so the screen resolution file and the color scheme file are in two separated files that can be tweaked without having to modify the whole theme. |
6e5a5ccb |
4 | |
5 | ## Getting Started |
6 | |
7 | Copy the content of the **scripts** directory wherever you put your personal scripts, I use `~/bin` for my user scripts or `/usr/local/bin` for system wide scripts that can be used by all users on my system. In this case I have everything inside my home. |
8 | |
ffb4cf73 |
9 | ``` |
10 | cp ~/Downloads/danixland-rofi/scripts/*.sh ~/bin |
c0f04040 |
11 | chmod 755 ~/bin/darknix-*.sh |
ffb4cf73 |
12 | ``` |
13 | |
c0f04040 |
14 | Now copy the content of the **theme** directory inside `~/.config/rofi/darknix` (change theme name to whatever you want to call it) and change "themename" to whatever you called it, inside every single bash script. |
ffb4cf73 |
15 | |
16 | ``` |
c0f04040 |
17 | mkdir ~/.config/rofi/darknix |
18 | cd ~/.config/rofi/darknix |
ffb4cf73 |
19 | cp -R ~/Downloads/danixland-rofi/theme/* . |
20 | ``` |
21 | |
22 | ``` |
c0f04040 |
23 | vim ~/bin/darknix-appsmenu.sh |
ffb4cf73 |
24 | ``` |
25 | If you want you can rename the scripts as well. It's up to you. |
26 | |
c0f04040 |
27 | This theme uses the [Inconsolata Nerd Font](https://www.nerdfonts.com/) for the icons you see on the buttons, if you want to use a different font you might need to adjust all the paddings. To check if an icon is available on the Hurmit Nerd Font you can go to [Nerd Font Cheat Sheet](https://www.nerdfonts.com/cheat-sheet) website and search for it. |
6e5a5ccb |
28 | |
29 | ### Prerequisites |
30 | |
31 | Of course you need [rofi](https://github.com/davatorium/rofi) installed in your system. |
32 | |
33 | In case you want to modify the theme you might need to have a look at [the wiki on how rasi themes work](https://github.com/davatorium/rofi/blob/1ab3e571eca1768d437246ca6ec09f44432b0e20/doc/rofi-theme.5.markdown), it's a dialect of CSS so it shouldn't be difficult. |
ffb4cf73 |
34 | |
35 | Being familiar with bash scripting might be useful ;) |
6e5a5ccb |
36 | |
37 | ### Does it looks like a bitch??!! |
38 | |
39 | Here's what the theme looks like: |
c0f04040 |
40 | >These screenshots are old and you'll notice the icons are a bit offset and not very well centered. I fixed that inside the theme files. |
6e5a5ccb |
41 | |
cafbc7f0 |
42 | ![The power menu](http://git.danix.xyz/danixland-rofi.git/raw/master/screenshots/powermenu.png "The power menu") |
9384f539 |
43 | |
ddd0e3a7 |
44 | The power menu with shutdown, reboot, lock, suspend, close session options |
cafbc7f0 |
45 | |
46 | ![The applications list](http://git.danix.xyz/danixland-rofi.git/raw/master/screenshots/appsmenu.png "The applications list") |
9384f539 |
47 | |
ddd0e3a7 |
48 | An application list with icons |
cafbc7f0 |
49 | |
50 | ![The ssh quick connection list](http://git.danix.xyz/danixland-rofi.git/raw/master/screenshots/sshmenu.png "The ssh quick connection list") |
9384f539 |
51 | |
ddd0e3a7 |
52 | rofi reads the config for ssh inside your home and gives you a menu with your connections. |
cafbc7f0 |
53 | |
54 | ![The window list](http://git.danix.xyz/danixland-rofi.git/raw/master/screenshots/windowmenu.png "The window list") |
9384f539 |
55 | |
ddd0e3a7 |
56 | A list of currently open windows, both for the local desktop or global. |
cafbc7f0 |
57 | |
58 | ![The scrot menu](http://git.danix.xyz/danixland-rofi.git/raw/master/screenshots/scrotmenu.png "The scrot menu") |
9384f539 |
59 | |
ddd0e3a7 |
60 | A simple scrot menu. |
cafbc7f0 |
61 | |
62 | ![The utils menu](http://git.danix.xyz/danixland-rofi.git/raw/master/screenshots/utilsmenu.png "The utils menu") |
9384f539 |
63 | |
ddd0e3a7 |
64 | Some utility scripts that I run usually. Here you can see one to change the wallpaper and another one to start the local web server on my laptop. |
6e5a5ccb |
65 | |
66 | ## Built With |
67 | |
ddd0e3a7 |
68 | * Patience, really.. it's all that easy. |
c0f04040 |
69 | * This theme uses the [Inconsolata Nerd Font](https://www.nerdfonts.com/) for his icons. |
6e5a5ccb |
70 | |
71 | ## Authors |
72 | |
ddd0e3a7 |
73 | * **danix** - *Author* - [danix.xyz](https://danix.xyz) |
6e5a5ccb |
74 | |
75 | ## License |
76 | |
ddd0e3a7 |
77 | This project is free to use. Take it and do whatever you want with it!! |
6e5a5ccb |
78 | |
79 | ## Acknowledgments |
80 | |
ffb4cf73 |
81 | * [vahnrr](https://gitlab.com/vahnrr/rofi-menus/tree/master) is the original author of the rofi theme from which I took inspiration. I just adapted his work to my system and personal taste, so all the credits go back to him. |